• Resolved Hanno

    (@bsoftde)


    At the first glance, the plugin seemed to be well prepared for localization, and my Poedit tool did create a pot file without major problems. I then did a quick and dirty AI translation into German, and I put the po/mo files into both of these directories: /wp-content/plugins/password-requirements/languages (which was automatically created by Poedit on creation of the pot file) and /wp-content/languages/plugins. Unfortunately not one of the localized files is loaded. Do you have a clue?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Bartosz Gadomski

    (@bartoszgadomski)

    Hi Hanno, thanks for reaching out!

    A couple of quick things to check: make sure the .mo file is named exactly as {text-domain}-{locale}.mo (e.g. password-requirements-de_DE.mo), since WordPress is very strict about that naming convention. A great debugging tool for this is the Query Monitor plugin – its “Languages” tab shows you exactly which translation files WordPress attempts to load and what filenames and paths it expects. That alone often reveals what’s off.

    That said, could you email me those po/mo files at [email protected]? I’d like to investigate directly and make sure everything lines up. I’ll get back to you once I’ve had a look.

    Best regards,
    Bartosz

    Thread Starter Hanno

    (@bsoftde)

    Hi Bartosz,

    you should have received the files by now. Thanks in advance for your investigation.

    Regards, Hanno

    Plugin Contributor Bartosz Gadomski

    (@bartoszgadomski)

    Thank you Hanno! Just replied to your email, hope that helps 🙂

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

You must be logged in to reply to this topic.