wp-admin interface now showing in site language, not users
-
Updating to 7.10.0 has now broken the web interface for me. It *was* showing correctly in english for me (based on the user profile setting)… but now its showing in Dutch, which is the sites default.
I have verified this on a couple of other sites as well. Could you please fix? I can’t use it now ??
-
Hi @andynewby, thanks for your question.
Do you have a multilingual site plugin with a language selector anywhere? The reason I ask is because Wordfence 7.10.0, with “Deutsch” set as my site language, but “English (United States)” as my user language still presents /wp-admin in English. It’s only when I alter my user language to “Deutsch” that I also start seeing the admin interface in German. Wordfence doesn’t appear to be affecting the decision-making when the site chooses a language.
It might be worth looking at your Live Traffic page to see if any plugins affecting site language are experiencing false-positive blocks that need to be allowlisted.
Thanks,
Peter.Hi,
Thanks for the reply. We have “Loco Translate” installed, but disabling that doesn’t seem to make a difference. It was working fine, up until me updating to 7.10.0 this morning. I know there was mention of translations in the changelog. Here is what I see:
Literally everywhere else in the wp-admin , it honours the locale language I have set in my admin user profile.
I’ll check the “live traffic” page, but I’m not sure what would cause anyhing on that? (it should just be taking the language from my user profile language, no?)
UPDATE: This is what I see on live trafifc for my IP: https://ibb.co/jfrwyWk . All looks good, but I still see everything in Dutch
Cheers
Andy
- This reply was modified 1 year, 5 months ago by andynewby.
This is soooo frustrating. I’m not having to use Google Chrome and then “translate” on the page. Which it gets confused with, as the rest of the site is in English, except for the Wordfence CP ??
BTW, this is 100% from the last update. If I log into one of the sites that has 7.9.3, it works as expected. The admin tools are all in English (as per my profile setting). I’m going to hold off updating it on all my other sites, as this is a nightmare to maintain
- This reply was modified 1 year, 5 months ago by andynewby.
Hi @andynewby, thanks for the update on the situation.
I will run some tests with Loco Translate installed with Wordfence shortly and report back on whether I can either find a conflict, or experience the same problem and find a solution.
I’ve noticed there is an auto-translate add-on also available. Could you confirm whether this is also installed on the affected site?
Thanks again,
Peter.- This reply was modified 1 year, 5 months ago by wfpeter. Reason: Added auto-translate plugin information
Thanks. I was actually just setting up a brand new site, and even with that I have the problem
Site language: Dutch
Profile language: English (US)
Wordfence shows in Dutch
So it doesn’t seem to be another plugin doing it (this is with the default theme as well, so I don’t think its a functions.php or other theme thing causing the weirdness)
Here is an example of what I see:
Notice the overall WP stuff is correctly in English, but all the WF stuff is in Dutch (the site language)
Thanks
Andy
- This reply was modified 1 year, 5 months ago by andynewby.
I have the same problem. The site language is Japanese, but my user profile is set to US English. The site runs Polylang, but that’s unrelated to what happens on the back end. Here is a partial screenshot showing what the Wordfence dashboard looks like with the rest of the WP admin menu showing. Everything else displays in English – Wordfence is the only problem.
Yeah, its very annoying ?? I’ve restored to only installing v7.9.3 on new sites, and then on the sites that already updated to 7.10.x , I’ve started using Chrome and setup the auto-translate function. Not very intuative though, and could cause bugs ??
I have the same issue as well. Our site runs in Czech language on the front-end but my admin account uses English. That gets entirely ignored and the entire WF UI is presented in Czech!
A quick fix is to delete the CZ .po translation file but this will only be a temporary solution as WordPress will automatically re-install that in due course.
Cheers,
Tim
This thread went silent. @andynewby or @westonworkshops – did either of you solve it for your site? Wordfence is now at 7.11.0 but it’s still using only the site language.
Hi!
Sad to say that nothing has fundamentally changed – the problem persists.
I am going to try another workaround to create a ‘false’ plugin translation file for the site language that simply translates EN-US to EN-US. For that I will try the following:
- Use LocoTranslate to add a new plugin translation file for the site language but store it in the ‘custom’ location.
- Download the created file using FTP.
- Use POEdit to set all the translated strings to be the same as the source strings.
- Save the .po file and compile to create the .mo file.
- Upload the .po and .mo files back to the custom location on the server.
- Test.
I have a couple of other plugins which have the same problem that also use www.remarpro.com to host translation files. Equally I have some others that do not have the issue. My guess is that it may come down to how and when the function calls to set the localisation are being done in the plugin. I have read elsewhere that if you make the calls too early then you get pretty much the behaviour that we see.
Over the Christmas holidays I will do a bit of digging around in the plugin code to see how the localisation is being done in comparison to a plugin that does not exhibit the problem – that might supply some clues (or not!).
I’ll report back here if I get anywhere.
Cheers,
Tim
- The topic ‘wp-admin interface now showing in site language, not users’ is closed to new replies.