Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
If you're experiencing issues with settings or menu entries in the admin backend of your WordPress site being displayed in the wrong language, despite setting your preferred language in your user profile.
Solution:
First, ensure that your user profile is set to the desired language by navigating to Users > Profile in your WordPress Dashboard and selecting the correct language from the "Language" dropdown. Also, make sure to uncheck the option "Set admin language as editing language" and save the changes.

If the problem persists, it might be due to caching issues or the language files of certain plugins not loading correctly. Follow these steps:
1. Clear the caches from all optimization plugins and your browser. If possible, temporarily disable site caching.
2. Navigate to "WPML > Theme and Plugins localization" and ensure that the option 'Automatically load the theme's .mo file using 'load_textdomain'' is enabled.
3. Go to WPML > Support > Troubleshooting, scroll down and click on 'Show custom MO Files Pre-generation dialog box'.
4. In the popup, click on 'Generate MO Files' and wait for the process to complete.
5. Check if the backend elements are now displayed in the correct language.

If the issue occurs randomly, it's advisable to periodically clear site caches and recheck. The steps for generating MO files should be executed once to ensure all translation files are loaded correctly.

If these steps do not resolve the issue or if it seems outdated or not applicable to your case, we highly recommend 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. If the problem persists, please open a new support ticket 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.

Tagged: 

This topic contains 5 replies, has 2 voices.

Last updated by Prosenjit Barman 4 months, 4 weeks ago.

Assisted by: Prosenjit Barman.

Author Posts
July 25, 2024 at 8:19 am #16002067

johannesB-16

<b>Background of the issue: </b>
I'm working in the admin backend of my WordPress site hidden link. I often encounter the issue that settings or menu entries are shown in the wrong language.

<b>Symptoms: </b>
Settings and menu entries in the admin backend are displayed in the wrong language.

<b>Questions: </b>
Why are settings and menu entries in the admin backend displayed in the wrong language?
How can I ensure that the settings and menu entries are displayed in the correct language?

elementor.png
July 25, 2024 at 10:41 am #16003024

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thanks for contacting WPML Support.

The language of the texts in the Backend is determined by the language set for your profile. To change the backend text to English or another language, please follow these steps:

1. Go to Users > Profile from your WordPress Dashboard.
2. Select the desired language from the "Language" dropdown.
3. Make sure that the option "Set admin language as editing language" in unchecked.
4. Save the changes.

The backend texts will then appear in the selected language.

Please let me know if the information above helps or if you need further assistance in this matter. I will be happy to help.

Best regards,
Prosenjit

July 25, 2024 at 8:19 pm #16005456

johannesB-16

Hi and thanks for the reply.
Sure, my backend language is German and also is this my main language for every content.

Furthermore I checked the settings you mentioned and unset the option "Set admin language as editing language".

But the problem still persists, as you can see in the attachement.
I'm editing a product in German but some options and strings are displayed in Spanish or French.

wpml-mixed.png
July 26, 2024 at 6:47 am #16006917

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi There,
Thank you for the update.

If the backend language differs from the one set in the profile, it might be caused by caches or the language file of certain plugins not loading. Please try the following steps:

- Please clear the caches from all optimization plugins installed on your site and from the browser as well. If possible, please temporarily disable the site caching.
- Once done, go to "WPML > Theme and Plugins localization".
- Make sure that the option 'Automatically load the theme's .mo file using 'load_textdomain'' is enabled.
- Now, go to WPML > Support > Troubleshooting
- Scroll down and you'll see a button 'Show custom MO Files Pre-generation dialog box'. Click on that.
- A popup will appear containing the 'Generate MO Files' button. Click on that and wait till the process is completed.
- Once done, check the backend elements again.

After the steps above, the backend texts should appear in the language you've selected for your profile.

Please feel free to let me know if you need further assistance. I will be happy to help.

Best regards,
Prosenjit

July 29, 2024 at 5:51 am #16013632

johannesB-16

Hi there,

I followed your described steps.
I cannot yet say whether it has helped, as the problem occurs sporadically.
Is the solution described something that only needs to be done once or does it need to be done regularly?

July 29, 2024 at 11:10 am #16015457

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi There,
Thank you for the update.

If the issue occurs randomly, site caches might be the cause, so you should periodically clear them and check. Additionally, the steps I shared in my previous response need to be executed once to ensure all translation files are loaded and functioning immediately. However, it is best to execute this option if you notice that the static strings of the theme/plugin are not showing as translated, despite being in the MO file, and after updating plugins.

I hope you can understand. Feel free to let me know if you have any other questions or need clarification. I will be happy to help.

Best regards,
Prosenjit

July 30, 2024 at 7:02 am #16018773

johannesB-16

Ok, thanks!