Background of the issue:
I am working on a site under development and trying to make string translations using WPML. I follow these steps: scan the theme for strings, translate the strings into the desired languages, and initially, the translations work.
Symptoms:
The translations work initially, but the next day they stop working. This issue repeats every few days without any changes to the code, string, or page.
Questions:
Why do my string translations stop working the next day?
How can I ensure that my string translations remain consistent over time?
I installed the All-in-One WP Migration and Backup plugin on your site and created a copy of your site. I then deleted the All-in-One WP Migration and Backup plugin.
We'll continue investigating this issue and get back to you when we have news.
Our second-tier supporters have debugged this issue. The problem is that placeholders are being used in those strings. However, in this specific case, the placeholders seem redundant. They are being used to replace the placeholder with a static string (<br />) rather than something dynamic, so you should just update the PHP files to place the br tags directly where needed, e.g:
Also, please let us know if there are other strings with this issue where such a placeholder is not involved however, the problem still occurs - translations disappear after a day.
Regards,
Itamar.
The topic ‘[Closed] Strings Translations’ is closed to new replies.