[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.
The taxonomy issue is another weird thing because by "fixing" it it's not equivalent to the Bulgarian version anymore where "ochusha-village" should have "kostenets" as parent.
Anyway we can address that once more another time because this is minor compared to the problem I'm facing here.
I don't see other option but to restore my website to a previous version unfortunately, my hoster don't see any problem on their side as well.
I would recommend you restore a previous version of the site on a staging environment. Then start updating the outdated plugins and themes until you see the issue again and find the culprit.
OK I've reverted to a few days back the issue is resolved, I'll do the updates on staging version to see if the problem can be replicated and I'll report back.
In the meantime please check the screenshots about the city syncronization taxonomy.
It's well setup here yet it show an error and if we "fix" it it remove Kostenets as parent of Ochusha village, and it shouldn't be the case.
Can you please see what's going on there? Thank you.
Thank you for sharing the credentials for the staging site.
Unfortunately, the credentials are incorrect, I'm getting this error message: "Грешка: Паролата, която въведохте за имейл адреса contact@dracolead.com, е невярна. Изгубена парола?"
Please double-check the credentials and edit your previous private message.
Thanks, this time I was able to access the staging site.
However, I tried to update all outdated plugins and I got an error. Please try to update the outdated plugins in this link: hidden link or contact your hosting provider and ask them to check the problem.
Hi, great job, I wonder how you did it because whenever I tried to do it it wasn't working.
The hierarchy is respected here.
Can you tell me what happened and what you did so that the issue won't appear again?
Also so that I'll try to fix it myself on the live website. Thanks.
These are the steps I followed:
- Fixed the sync problem that appears in the banned at the top of the backend
- WPML -> String Translation -> Searched and deleted the two entries 'grad'
- WPML -> Settings -> Taxonomy translation -> City -> Added 'city' as a translation for the 'grad' slug -> Save the changes
- Real State -> City -> Fixed one sub-category that was missing the parent category in EN
Please follow the same steps on the production site and let me know if you need further assistance.
Important note: Once of my colleagues suspects that the change in the default language for the strings that come from the theme options could be caused because the theme options were saved in the secondary language. Please make sure to save the theme options in the correct backend language (check the language switcher in the admin bar at the top).