• Hi,

    I have these values translated, it’s like I don’t get the translations of these buttons when I change languages. Because I have them translated in all 3 languages. For example: In “Sound ON” I have set “Sonido On” (Spanish) but when I change to English language I keep setting “Sonido On” and not “Sound On“.

    The technical support staff has passed me this message for you, they tell me that you may know the solution to my problem. Thanks in advance!

    Message:

    I’m a bit at a loss why Loco translate does not use the translated version from customizer especially that I see there is a translation for them already:

    https://prnt.sc/rod8p8

    We use get_theme_mod to get the values / strings from customizer which the standard WordPress function

    https://developer.www.ads-software.com/reference/functions/get_theme_mod/

    https://prnt.sc/rod9eo

    You may want to talk also with the guys from Loco Translate

    • This topic was modified 4 years, 8 months ago by Toni Gonzalez.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Tim W

    (@timwhitlock)

    Technical support staff from where? I have no idea what you’re showing me in your screenshots.

    Did you read before posting here?

    Thread Starter Toni Gonzalez

    (@desjek-t)

    Technical support for my website template. He asked me if I could contact you, since they didn’t find the solution to my problem with your Loco Translate plugin.

    These screenshots are from the problems they found with the plugin in my website, they made them.

    Plugin Author Tim W

    (@timwhitlock)

    My plugin is a file editor.

    Has your translation been saved into the MO file which is read by the “website template”? Did they verify that?

    Please provide steps to reproduce your issue.

    Thread Starter Toni Gonzalez

    (@desjek-t)

    Yes, I have the MO files uploaded in the corresponding folder inside the template folder.

    For example, if you access the URL of my website:

    https://doca.page

    At the bottom you will see the “Sonido ON” button that serves to turn the sound of the music On/Off. I have this text translated in the 3 languages.

    If you go to the top right, there is a Button that allows you to access the menu. If you select it, it will be displayed. The last entry is used to change the language (Spanish, English, French).

    If you select any other of the languages the “Sonido ON” button should change for example to “Sound ON” and it doesn’t. But the rest of the translations do change.

    Thanks!

    Plugin Author Tim W

    (@timwhitlock)

    Yes, I have the MO files uploaded in the corresponding folder inside the template folder.

    Where? please give the path.

    If the MO file has been saved and your translation is in there, then it would seem your theme is not reading the translation from there. Perhaps your theme editor has them saved in your database as an option. In which case they would not be loaded from your translations.

    Thread Starter Toni Gonzalez

    (@desjek-t)

    Thanks

    Plugin Author Tim W

    (@timwhitlock)

    Ok, so Loco Translate has done its job. The text is saved to your disk.

    That means the problem is with whatever loads this file and then whatever displays it. That is not within the purview of my plugin.

    My only guess currently is as I’ve said, that possibly the Spanish text has been saved into your database somehow by some customiser system. Possibly by whatever this is: https://prnt.sc/rod8p8

    I can’t help you further as your theme is commercial.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Button Translation Problem’ is closed to new replies.