Translate add friend

Hi, i can not find how translate text add Friend,  i have translate other word but this and other word i can not translate. .. how can translate?  Thanks 

  • 670
  • More
Replies (13)
    • Hello Fabio!

      If you already translated other words than i may suggest that you know how to work with languages in UNA. So your problem now is in that this message wasn't translated? So possible reasons may the following - you didn't translate exactly this message in place where you need. Because this message meets in system and groups, organization and etc modules - need to translate all similar keys in site.

      If i'm wrong somewhere in your situation - please specify.

      With the best regards, Leonid

      • Yes i have filter in all modules the key friend and i have translate to friend at amico but not work. How can create new key in Polyglot key? Maybe there is not a key word. You can see http://fanzone.it/page/persons-home 

        • Hello Fabio!

          In mentioned link i didn't see "add friend" words, but for example in this page

          http://fanzone.it/page/persons-profile-friends?profile_id=394&i=persons-profile-friends&lang=it

          i could notice that "Add friend" button has translation into Italian. So seems you made it right :-) 

          About creation of new language key - you need to login as Operator to UNA studio -> Polyglot System App -> then to Keys area. In new press the button "Create new key". In appeared popup set there key in format like _some_word and set the translation for all available languages. Then this key may be used in PHP / JS code as _t('_some_word'). All places where this code will appear users will see correct translation according the choosen language.

          With the best regards, Leonid

          • Hi thanks, yes in link that you are write is amici and not friend, but if you go on this link http://fanzone.it/page/persons-home you can see that there is "Add friend" and not "Aggiungi amico". Ok you can explain how create new key? i have not understand, thanks

            • Hi thanks, yes in link that you are write is amici and not friend, but if you go on this link http://fanzone.it/page/persons-home you can see that there is "Add friend" and not "Aggiungi amico". Ok you can explain how create new key? i have not understand, thanks

              • What i must write " at _some_word " to translate "Add friend"? I have analyze the "Add friend" button that i want tanslate and is this: <button class="bx-btn bx-btn-small" onclick="bx_conn_action(this, 'sys_profiles_friends', 'add', '514')">Add friend</button>. 

                • Hello Fabio!

                  Jey whcih you mean under this page is "_bx_persons_menu_item_title_befriend" - check translation of it. If it is translated correctly in Polyglot Sys App then try to clear cache via studio -> Dashboard -> Cache area -> clear all caches.

                  With the best regards, Leonid

                  • Hi, i have just delete cache but do not work. I have see key and "_bx_persons_menu_item_title_befriend" there is not. I have try to add this key but i see this error: Cannot create key. How resolve? thanks

                    • Hello Fabio!

                      This is another message, means that friend request alreadty was made. Now you need to translate key _bx_persons_menu_item_title_befriend_sent.

                      With the best regards, Leonid

                      • Hi i have try but there is this error: Cannot create key

                         

                        How resolve? thanks

                        • Hello Fabio!

                          Usually it means that similar language key already exists. Try to find it first. If it doesn't exist in your UNA let me know.

                          With the best regards, Leonid

                          • i have created this key _bx_persons_menu_item_title_befriend_sent abd wrute add friend and aggiungi amico but i see always add friend, See this: http://fanzone.it/page/persons-home

                            Is maybe a bug? How resolve? thanks

                            • Hello Fabio!

                              Please provide me operator access details of this site, i will check what's wrong there.

                              With the best regards, Leonid

                              Login or Join to comment.