Background of the issue:
I have created a translation for 'HTML 5' custom string that you can use in the Flatsome builder. At first, it worked fine, and I saw the translation on the translated website and the original text in the original Hebrew language. Link to a page where the issue can be seen: hidden link
Symptoms:
The translated English text appears in both the original Hebrew version of the website as well as in the translated version. The original text was replaced with the translation, overriding it, and it is now lost.
Questions:
Why is the translated text appearing in both the original and translated versions?
How can I restore the original text that was replaced by the translation?
After I rewrote the original text and saved it all worked for a while, but then again, for the second time, suddenly the original text was overridden by the translation at its source, leaving both languages with the translated text.
So this is not a one time thing, this is constant.
1. **Backup Your Site**
Ensure you have a full site backup before proceeding to avoid any unintended changes.
2. **Edit the `wpml-admin-texts.class.php` File**
- Open the file located at `…/wp-content/plugins/wpml-string-translation/inc/admin-texts/wpml-admin-texts.class.php`.
- Locate line 214.
Thank you for contacting WPML support. I'd be happy to assist you on this issue.
To debug this issue further, I would need to check your site settings once, for this I would need temporary access (wp-admin and ftp) to your site.
So could you please provide me with those details, you will find the needed fields for this below the comment area when you log in to leave your next reply. hidden link
The issue is happening as your profile language is different then the original language, as a workaround please follow the below steps:
1. **Backup Your Site**
Ensure you have a full site backup before proceeding to avoid any unintended changes.
2. **Edit the `wpml-admin-texts.class.php` File**
- Open the file located at `…/wp-content/plugins/wpml-string-translation/inc/admin-texts/wpml-admin-texts.class.php`.
- Locate line 214.
I will also like to update you that, this is escalated to our developers, I will update you as soon as I will receive any feedbacks from the developers team.