[Resolved] Translated stings replaced original ones!?
This thread is resolved. Here is a description of the problem and solution.
Problem: The client discovered that all strings translated from English to Bulgarian were deleted and replaced by their translations, causing elements on English pages to appear in Bulgarian. The issue was also present on the staging site, ruling out a cache problem. Additionally, there was a concern about taxonomy translation where a sub-category was missing its parent category.
Solution: 1. We resolved the synchronization issue indicated by the warning at the top of the backend. 2. We navigated to WPML -> String Translation, searched for, and deleted the entries for 'grad'. 3. We went to WPML -> Settings -> Taxonomy translation, selected 'City', and added 'city' as a translation for the 'grad' slug, then saved the changes. 4. In the 'Real State' section under 'City', we fixed a sub-category that was missing its parent category in English. 5. We advised the client to follow these steps on the production site. 6. We also highlighted the importance of saving theme options in the correct backend language, as saving them in a secondary language might have caused the default language for strings to change.
Please note that this solution might not be relevant to your case, as it could be outdated or not applicable. If you're experiencing similar issues, we highly recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket with us.
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.
Out of nowhere I'm baffled to discover that all the strings I've translated from English to Bulgarian have been deleted and replaced by their translations!
Example, the top search bar in this English page is in Bulgarian: hidden link
All elements of the pages are in Bulgarian in the property here as well: hidden link
Yet on the homepage the search module is still correctly in English: hidden link
Then, checking the string translation, I see that for some reason the English strings are now in Bulgarian?!!! What happened?! Why? How? I'm freaking out, it's hours and hours of work that seems to be crushed and replaced by the translation and I just notice it now it might have happened a few days ago I have no idea.
It's unlikely it's a cache issue since the staging version which use no cache has the same problem: hidden link
Please tell me there's a simple solution I feel very unsettled about this.
3.- I recommend you to check the site in incognito mode and if you still see the issue, then try to remember what were the latest changes on the site that might have triggered this behavior. Maybe a plugin/theme update? A change in the configuration of the site or the server?
Please pay attention and check screenshots once again, I'm referring to the top search bar, I'm encircling it in the new screenshot attached here.
In the previous screenshots I sent you you'll see the issue in string translation of having bulgarian strings in the english column that was not the case a few days ago, I had both languages.
However, that doesn't answer the question: what caused this change?
Could you tell me what were the last changes on the site? Have you updated the theme? Did you make any changes to the configuration?
There are updates all the time on this website yet I see no reason why the original strings would have been replaced by the transations I've created for them!
I've checked the documentation you shared with me, I'm really confused about how it could help me change the original strings once more to what they were, please check my screenshot, what am I supposed to do here?
If one of the previous updates on the site caused this issue then you might want to restore an older version where the issue didn't appear and update the functionalities, one by one, until you see the issue again and find the culprit.
On the other hand, please read the yellow message that appear in the screenshot you shared.
There's no way I can revert back, I have a full team that worked hours those last days on this website. Have you ever faced such a similar issue before?
Also, I'm not using "Translate Everything Automatically".
No, I have never seen it, because there is no functionality within WPML to automatically change the default language of the strings. That is the reason why I was asking you to remember what were the latest changes on the site that might have triggered this issue.
Please check screenshot I told you I'm not using "Translate Everything Automatically".
Also, since the search module on the homepage is correctly in English it looks like the bug comes from WPML otherwise this too would have been replaced.
Could you elaborate a little more on this? I don't understand what do you mean by "since the search module on the homepage is correctly in English it looks like the bug comes from WPML otherwise this too would have been replaced"
You have seen it yourself when you sent me a screenshot of the English homepage. The search module is in English, it uses the exact same strings that the top search module which is in Bulgarian whereas it should be in English.
I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.
Our Debugging Procedures
I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to back up the site before providing us access. If we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.