• Resolved isarisar

    (@isarisar)


    Hi,

    I’m trying to install Wordfence for us and need to have the user-visible strings show on the frontend in our site’s language.

    I’ve tried Loco Translate, but critical strings like…
    <strong>ERROR</strong>: A username and password must be provided. <a href=\"%s\" title=\"Password Lost and Found\">Lost your password</a>?
    … just aren’t shown.

    How can I fix this? translate.ww.wp.xz.cn states more than 800 strings are missing for our language, I’m afraid that’s too many for me to contribute. We only need those visible ones.

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

    (@wfpeter)

    Hi @isarisar, thanks for your query.

    Whilst we will require community translations for many languages to be available to our customers, we do have plans to translate the strings within the Login Security standalone plugin, which would in turn make this string translatable in the Login Security module of Wordfence itself. We are hoping to undertake this work in 2022, but I am unable to provide exact milestones or possible delivery dates here on the forums.

    I have passed your request on to the development team as each request for a feature can strengthen its case for inclusion in the plugin.

    Thanks,

    Peter.

    Thread Starter isarisar

    (@isarisar)

    Hi @wfpeter,

    thanks for the status. I’ve also asked the Loco Translate dev:

    • They wrote that WordFence’s POT file is misnamed (.po instead of .pot), meaning translation plugins don’t find it by default.
    • I tend checked the file manually: There is an “incorrect password” string in it, but it’s the wrong one. Supposedly, the second proper one needs to be added to that POT file. There are perhaps 200 other strings missing.
    • Without that way, I had to resort to RupertH2O’s login_errors filter.
    Plugin Support wfpeter

    (@wfpeter)

    Thanks for the extra information @isarisar, we have the .pot change scheduled also as this was identified when the QA team were notified your original request.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘How to localize user-visible strings?’ is closed to new replies.