[resolved] Where to put the language (.po/.mo)-files? (4 posts)

  1. Netzialist
    Posted 3 years ago #

    I am really, really frustrated.
    I love Subscribe2, but with every update I'm struggling with translation, starting from scratch every time. Subscribe2 speaks english again. And my readers don't understand.
    To solve the problem I tried backing up the language-files on my local machine and putting them back on the server after upgrading.
    But it won't work.

    The language-files are in a folder named "lang" (located in the subscribe2-folder in plugins), but subscribe2 doesn't notice. Is it a wrong name? Wrong place? Wrong something else?

    I took two readymade files (.mo and .po) to get the translation to work.
    (As far as I understand it's the .mo-file which is read by wordpress. The one I'm editing is the .po-file. And something is somehow creating a .mo-file from the .po-file. But who and how? PoEdit doesn't do it.)

    This thing drives me crazy...



  2. mattyrob
    Posted 3 years ago #


    The language files just need to go into the main plugin folder, so wp-content/plugins/subscribe2/. There is no need for a subfolder below that.

    Unfortunately, I think that the Plugin Upgrade code will remove hose files at upgrade so it's best to take a copy and then restore them yourself after the update.

  3. Netzialist
    Posted 3 years ago #

    Thanks a lot. Translation is working again.
    (Took the files out of that "lang"-directory)

    Though I can't see recent changes – what am I supposed to do to get a .mo-file, too?
    Doesn't PoEdit create those automatically?
    Not via FTP, perhaps?

    Still a little bit confused, but *much* more happy!

  4. mattyrob
    Posted 3 years ago #


    All of the translation files I have been sent or shared are here:

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic