[Resolved] Backend language translations are inverted
This thread is resolved. Here is a description of the problem and solution.
Problem: The client experienced an issue where the language settings in the backend were inverted after changing the default language in WPML to Traditional Chinese. Specifically, the language setting at the top showed English while the backend displayed Chinese, and vice versa. Solution: We advised the client to avoid changing the default language in WPML->Language unless necessary, as it can cause display issues in the backend. The backend language is controlled by the USER profile settings on wp.com. We recommended setting the admin language as the editing language in the user profile settings to ensure consistency. Additionally, we suggested regenerating the .mo files via WPML->Support->Troubleshooting to correct any language display issues.
If this solution does not resolve your issue or seems outdated, we recommend opening a new support ticket. We also advise checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. For further assistance, please visit our support forum at WPML support forum.
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.
However, when I changed the default language in the backend back to Traditional Chinese, I encountered the same issue again. On some pages, the language setting at the top and the displayed language are reversed (the language setting at the top shows English, while the backend page displays Chinese, and vice versa).
Example of the error page:hidden link
Please Bob Support to help me resolve this issue. If possible, I would also appreciate a screen recording of the process to fix it.
Once again, thank you so much for your assistance, Bob Support!
Currently, the language under Profile → Your Profile is set to Traditional Chinese, but the admin interface still displays in English.(img 1-1, img 1-2)
Additionally, the language setting in Settings → General is locked to English, even though the language is set to Traditional Chinese in the two locations mentioned in the prompt.(img 2-1, img 2-2)
Yes, I have never changed the default language in WPML -> Language — it has always been set to Traditional Chinese.
In the USER profile language settings (wp.com), it is correctly set to Traditional Chinese, as shown in the attached image (img 1-1).
I have already selected “set admin language as editing language,” but it doesn’t seem to work. When I select English in the top bar, the page below does not switch to Chinese. However, when I select Chinese in the top bar, the page below still remains in English.
Attached images: Img 2-1, Img 2-2, Img 2-3.
New threads created by Bobby and linked to this one are listed below:
It looks like it's working as expected now, if I am using CN it shows CN and same for EN without mixing them.
I did not make any changes, however today I was able to force the site to re run the .mo files (this controls the backend language) which are pulled from WordPress.
If the issue with the inverted language is resolved, let's split this format issue into it's own as I am not able to see the reason this is happening after reviewing it and will need to escalate.
Yes, I did see a prompt about loading the .mo files when I opened WPML.
May I ask how I can manually trigger or operate the loading of .mo files myself?
Alright, the language inversion issue has indeed been resolved.
Please help me split the date format issue into a separate case. Thank you very much!
You can trigger the .mo file pop up via WPML->Support->Troubleshooting there is a button at the end of the page asking you to trigger the .mo file regeneration box.