• Resolved benpl

    (@benpl)


    Hi all,
    I’m using Wordfence on a website, which has its “Site language” set to “Polish”, but all the user/admin accounts on the website have “Language” set to “English United States”.

    All other plugins display their admin pages in English (including those, which have Polish available) and usually send any e-mails in English as well, however Wordfence both displays in Polish and sends e-mails in Polish. This has started happening a month or so ago.

    Would it possible to either add an option to choose a language in “All Options” or make Wordfence use the profile language instead of site language?

    Here’s a code snippet, which when added supposedly should make Wordfence follow profile settings, although I have not tested this myself: https://wordpress.stackexchange.com/questions/378843/plugin-language-always-shows-wp-site-language-not-profile-language

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @benpl, thanks for reaching out to us.

    The last two Wordfence updates were 7.5.6 on October 18 and 7.5.5 on August 16 so there doesn’t seem to be an update that coincides with the start of this behavior. There were also no language or region updates reported in the changelog.

    I have set my own site to German with a user-specific language of English (UK) and don’t get German language admin pages in the Wordfence admin pages. So that we can accurately track the issue, I think the best option would be to firstly clear any server caches and any WordPress cache plugins you’re running. Then, sign in to your site using a browser different to your default, or at least in private/incognito mode. Does all of the behavior previously described continue? I appreciate that emails sent from the site may not be affected by some of these choices but I’d like to see as neutral/fresh a test as possible.

    You could also send us a diagnostic report to wftest @ wordfence . com? You can find the link to do so at the top of the Wordfence > Tools > Diagnostics page. Then click on “Send Report by Email”. Please add your forum username where indicated and respond here after you have sent it.

    NOTE: It should look as follows – Screenshot of Tools > Diagnostic > Send by Email

    Once I’ve taken a look at your site for myself, I can present any findings that may require similar changes as those shown in your link to the development team.

    Thanks,

    Peter.

    Thread Starter benpl

    (@benpl)

    Hello Peter,
    thank you for responding.

    I have made a mistake in my initial report. I had assumed that since I was seeing Polish in the Live Traffic tab, admin pages were being displayed in Polish, but not everything was translated yet.

    Now that I have tested things properly, it turns out that Wordfence admin pages are indeed in English and it’s only very specific events in the Live Traffic that show up in Polish, for example the one related to the “Immediately block IPs that access these URLs” setting shows up in the Live Traffic log as “[…] was blocked for Uda?o Ci si? uzyska? dost?p do zakazanego adresu URL”.

    I’m sorry for any confusion this error report might have caused might have caused. I think there were more cases, but as I have limited the size of my logs considerably, I don’t see them right now.

    This was the biggest issue, as I feared that Polish would slowly start creeping up into my Wordfence admin pages and any potential issues would get much harder to notice or fix. It seems that it’s only a few strings that are getting translated at most. Clearing the caches didn’t help in this case, but it’s something I could live with (or maybe they will start getting displayed in English after such event is registered again).

    As for the e-mails, is it expected for them to be in the site language? This is not a big problem all things considered, so I’m only asking to clarify.

    Plugin Support wfpeter

    (@wfpeter)

    Hi @benpl,

    As the language override is for logged-in users, it is highly likely the error message logged and the emails sent from your site are the result of the default language. We will have logged the error in Polish as this is the text that was presented by the server to the end-user and as we use WordPress’ default mail send functions they will send using the site’s global settings also.

    Thanks again,

    Peter.

    Thread Starter benpl

    (@benpl)

    Thank you Peter,
    I’ve marked this issue as resolved.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Wordfence doesn’t follow language preferences’ is closed to new replies.