This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 3 replies, has 2 voices.

Last updated by mikhaelA 10 months, 2 weeks ago.

Assigned support staff: Lauren.

Author Posts
July 15, 2019 at 4:00 pm



In one of our site, we have 4 languages in total. Some of the translation are in string, so we use WPML string translate for them. The translation was done in all 3 others languages (french is the one by default) and everything was working. But today we put the site online (dev to live) and the english language are not working anymore (the other two are working fine like before). We have no way to know when and what append because the client is working on the site too.

Here an example of a page with a lot of string who are not working anymore in english : hidden link

Thank you

July 15, 2019 at 4:29 pm
July 15, 2019 at 5:04 pm #4213673



I'm back, did you find something ? The string you change for testing is trill not the good one, do you find why the english string translation is not working ?

July 15, 2019 at 7:28 pm #4214345


Languages: English (English )

Timezone: America/New_York (GMT-04:00)

I was able to resolve the issue. I changed the code in the template to use "esc_html_e" instead of "_e". I also found that the string would only translate from English to your secondary languages, and I believe that is because on WPML -> Theme and plugin localization, you have checked the box for "Assume that the original language of all strings is English". So I changed the Bonjour to Hello, and then translated it, and now the translation is showing.

If you prefer to register the strings in French, you can uncheck that box. Then delete the existing string and update the template, and rescan the theme.

Please let me know if you need any further assistance and I will be happy to help.

July 15, 2019 at 8:39 pm #4214559


My issue is resolved now. Thank you!