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.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.