• Resolved isarisar

    (@isarisar)


    Hi,

    I’m trying to localize the user-visible strings of Wordfence.

    In particular, strings like
    <strong>ERROR</strong>: The username or password you entered is incorrect. <a href=\"%2$s\" title=\"Password Lost and Found\">Lost your password</a>?

    I’ve raised the limits (skip larger than, line length) accordingly, but it won’t find a couple of hundred strings. It also will discard them on syncing when I try to import (what’s available for) our language’s basic template from translate.www.remarpro.com. Import, editing & saving of the template as that site offers doesn’t get applied on the frontend, either.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Tim W

    (@timwhitlock)

    WordFence ships with a POT file, except it is wrongly named wordpress.po (it should be .pot). You should open the Advanced configuration for this plugin in Loco Translate and add “languages/wordfence.po” into the template field and save the config. New PO files will sync from this.

    If wordpress.po doesn’t contain all the strings you want to translate, then you should ask them how your required translations should be achieved.

    Thread Starter isarisar

    (@isarisar)

    Thank you. Unfortunately the relevant line indeed isn’t in that POT file.

    I’ll have to go with RupertH2O’s login_errors filter until WordFence fixes this.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Wordfence: Some strings not found’ is closed to new replies.