Support » Plugins » Subscribe2 / Localization

  • I have downloaded the pot file, translated the whole thing to danish but I cant seem to get it to translate the page. Ive use POEdit for it.

    It seems i should upload
    into the subscribe2 folder. Ive even tried to upload an already existing translation (German) but that won’t work either.

    When I uploaded the danish transplation for all of wordpress it worked just by refreshing the page.

    Is there some configuration I should do in PoEdit or in Subscribe2 itself????

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi, did you find a solution to this? I’ve been trying to put (fr) po and mo files pretty much everywhere and it won’t do…

    Nope I had to translate the subscribe2.php file and that works.

    Even though you have be carefull with special characters. In Denmark we have ÆØÅ and that causes some problems with the emails that are being sent.

    For Subscribe2, the .mo file is supposed to be directly under /plugins directory. If you want to place it in Subscribe2 folder, you’ll have to edit subscribe2.php and change line (around)1617 from
    load_plugin_textdomain('subscribe2', 'wp-content/plugins/subscribe2');

    I tried to put the po and mo files pretty much everywhere including wp-content/plugins/ and wp-content/plugins/subscribe2 and it still won’t do, any other idea? I get it that mo file is a binary file could it be corrupted or something? TIA.

    Did you make the change in the plugin file as suggested above?

    Thanks for your answer but, well, no, since I tried to put it in its default location. After raeding this I even tried to hard encode the default location in the way mentioned above, i.e. I changed

    load_plugin_textdomain(‘subscribe2’, ‘wp-content/plugins’);

    …and it still doesn’t work.

    I don’t use this plugin, so I was just guessing 🙂
    Did you try to contact the plugin author? – maybe he has some insight. Usually the .mo file should be enough for any translation.

    Well, the plugin author stopped supporting hie plugins so I’m left to ask other users. Thanks for giving it a try though!


    I just had the same issue and found a solution. The latest versions of Subscribe2 are missing the following lines (for localization matters):

    //4tres - locale
    $domain = 'subscribe2';
    $locale = get_locale();
    $mofile = ABSPATH . "wp-content/plugins/$domain-$";
    load_plugin_textdomain($domain, $mofile);

    Place them at the top (not necessarily at the very top) of the plugins/subscribe2/subscribe2.php file

    Then you have to place the ‘mo’ file within your plugins directory.

    Because I had to write mine I downloaded a ‘po’ file in spanish (any language will do) from

    Then installed poEdit from , opened the subscribe2-es_ES.po, modified (translated) it, saved as subscribe-fr_FR.po, for I wanted to translate it into french. Make sure you saved both the ‘po’ and the compiled ‘mo’. This last is the file to place in your plugins directory.

    Finally remember that it will take the language_country identification from your main wp-config.php file at the WordPress root folder.

    Luck and have a good day,
    hip –

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Subscribe2 / Localization’ is closed to new replies.