Title: [Plugin: Subscribe2] Localization problems
Last modified: August 20, 2016

---

# [Plugin: Subscribe2] Localization problems

 *  Resolved [qwertysimo](https://wordpress.org/support/users/qwertysimo/)
 * (@qwertysimo)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-subscribe2-localization-problems/)
 * Hi, I have finished Slovak translation but there is a problem. Some strings remain
   in English on live site although they are translated in po/mo file. To be specific,
   these remain in English:
 * – plugin description
    – descriptions of both widgets – substituted {ACTION} in
   notification email
 * I tried reactivate the plugin but no help. Any idea what to try? Thanks.
 * [http://wordpress.org/extend/plugins/subscribe2/](http://wordpress.org/extend/plugins/subscribe2/)

Viewing 15 replies - 1 through 15 (of 37 total)

1 [2](https://wordpress.org/support/topic/plugin-subscribe2-localization-problems/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/plugin-subscribe2-localization-problems/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-subscribe2-localization-problems/page/2/?output_format=md)

 *  [Matt Robinson](https://wordpress.org/support/users/mattyrob/)
 * (@mattyrob)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-subscribe2-localization-problems/#post-3638468)
 * [@qwertysimo](https://wordpress.org/support/users/qwertysimo/),
 * If you have translated these strings but they remain in English it may be a browser
   or server caching issue, try a force page reload in your browser or a different
   browser. Other than that maybe wait 24 hours.
 *  Thread Starter [qwertysimo](https://wordpress.org/support/users/qwertysimo/)
 * (@qwertysimo)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-subscribe2-localization-problems/#post-3638472)
 * I tried to clean browser cache (no caching on server) and other browser as well
   before I posted. Did not work.
 * When I change a string that displays correctly translated and refresh page in
   browser, this change shows up. I do not think this issue is related to caching.
 * Any other tips to try? Thanks.
 *  [Matt Robinson](https://wordpress.org/support/users/mattyrob/)
 * (@mattyrob)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-subscribe2-localization-problems/#post-3638475)
 * [@qwertysimo](https://wordpress.org/support/users/qwertysimo/),
 * What version of Subscribe2 are you using?
 *  Thread Starter [qwertysimo](https://wordpress.org/support/users/qwertysimo/)
 * (@qwertysimo)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-subscribe2-localization-problems/#post-3638480)
 * Subscribe2 8.9.1 with WordPress 3.5.1 (Slovak version) – today I tried to install
   original English package for WordPress, with new database schema and tables, 
   but still no progress.
 * If you want you can access my PC to see the issue yourself.
 *  Thread Starter [qwertysimo](https://wordpress.org/support/users/qwertysimo/)
 * (@qwertysimo)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-subscribe2-localization-problems/#post-3638481)
 * If I manualy edit file subscribe2.php and change line
    `Description: Notifies
   an email list when new entries are posted.` my update shows up in browser after
   refreshing a page.
 * What to do to make system to pickup a message from .po/.mo?
 *     ```
       #. Description of the plugin/theme
       msgid "Notifies an email list when new entries are posted."
       msgstr "Pri zverejnení nového obsahu pošle notifikáciu na e-mailové adresy."
       ```
   
 *  [Matt Robinson](https://wordpress.org/support/users/mattyrob/)
 * (@mattyrob)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-subscribe2-localization-problems/#post-3638482)
 * [@qwertysimo](https://wordpress.org/support/users/qwertysimo/),
 * In the wp-config.php file of your WordPress install do you have a WP_LANG defined
   as the Slovak language code?
 * Where have you put the Subscribe2 translation file you have created?
 *  Thread Starter [qwertysimo](https://wordpress.org/support/users/qwertysimo/)
 * (@qwertysimo)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-subscribe2-localization-problems/#post-3638483)
 * wp-config.php:
    define (‘WPLANG’, ‘sk_SK’);
 * Translation is placed here:
    wp-content\plugins\subscribe2\subscribe2-sk_SK.po
   wp-content\plugins\subscribe2\subscribe2-sk_SK.mo
 * As I wrote, this issue is related only to few messages; other messages show up
   translated as expected.
 * What else to try?
 *  [Matt Robinson](https://wordpress.org/support/users/mattyrob/)
 * (@mattyrob)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-subscribe2-localization-problems/#post-3638485)
 * [@qwertysimo](https://wordpress.org/support/users/qwertysimo/),
 * That’s very strange, you are doing everything right. I’m not at a computer at
   the moment where I can do much more but if you can share you *.po and *.mo files
   with me I’ll see if I can recreate this issue later today.
 * To share the files open a ticket here:
    [http://plugins.trac.wordpress.org/](http://plugins.trac.wordpress.org/)
 * Make sure to mark the ‘component’ as ‘subscribe2’ and then attach the 2 files.
 *  Thread Starter [qwertysimo](https://wordpress.org/support/users/qwertysimo/)
 * (@qwertysimo)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-subscribe2-localization-problems/#post-3638488)
 * Ticket #1688 created with both files attached. See you later. Thanks.
 *  [Matt Robinson](https://wordpress.org/support/users/mattyrob/)
 * (@mattyrob)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-subscribe2-localization-problems/#post-3638490)
 * [@qwertysimo](https://wordpress.org/support/users/qwertysimo/),
 * Thanks for the files, I haven’t had a chance to check anything yet but just a
   thought of something to try.
 * In the wp-content/plugins/subscribe2/classes folder you’ll find a file called
   class-s2-core.php, edit that and find these 2 lines:
 *     ```
       add_action('init', array(&$this, 'load_translations'), 5);
       add_action('init', array(&$this, 'load_strings'));
       ```
   
 * And comment them out by putting // at the start of the line.
 * Then in the __construct() function a little further down add these two lines:
 *     ```
       $this->load_translations();
       $this->load_strings();
       ```
   
 * Does that help?
 *  Thread Starter [qwertysimo](https://wordpress.org/support/users/qwertysimo/)
 * (@qwertysimo)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-subscribe2-localization-problems/#post-3638493)
 * No, it did not help.
 *  [Matt Robinson](https://wordpress.org/support/users/mattyrob/)
 * (@mattyrob)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-subscribe2-localization-problems/#post-3638538)
 * [@qwertysimo](https://wordpress.org/support/users/qwertysimo/),
 * Okay, I have installed your translation files on my test setup at home and the{
   ACTION} substitution works for me as do the Widget translations.
 * The plugin description doesn’t work but that’s because I have missed some information
   from the plugin header that I’ll need to read up about and fix.
 *  [Matt Robinson](https://wordpress.org/support/users/mattyrob/)
 * (@mattyrob)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-subscribe2-localization-problems/#post-3638540)
 * [@qwertysimo](https://wordpress.org/support/users/qwertysimo/),
 * Update, I’ve got the plugin header translation working, you need to add this 
   line to the plugin header in the Subscribe2.php file:
 * `Text Domain: subscribe2`
 * You may also need this line if you store the translation files in a subfolder(
   in this case called languages)
 * `Domain Path: /languages/`
 *  Thread Starter [qwertysimo](https://wordpress.org/support/users/qwertysimo/)
 * (@qwertysimo)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-subscribe2-localization-problems/#post-3638553)
 * Hi again,
 * I can confirm: adding “text domain” works – plugin description shows localized.
   Thanks.
 * Other thing, probably similiar issue. Can you check the Widgets page? Descriptions“
   Subscriber Counter widget for Subscribe2” and “Sidebar Widget for Subscribe2”
   stay in English.
 * I will recheck {ACTION} behaviour in the morning.
 *  Thread Starter [qwertysimo](https://wordpress.org/support/users/qwertysimo/)
 * (@qwertysimo)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-subscribe2-localization-problems/#post-3638556)
 * This is related to widget issue:
    When you add widget to sidebar, text “You may
   manage your subscription options from your” stays in English as well.

Viewing 15 replies - 1 through 15 (of 37 total)

1 [2](https://wordpress.org/support/topic/plugin-subscribe2-localization-problems/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/plugin-subscribe2-localization-problems/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-subscribe2-localization-problems/page/2/?output_format=md)

The topic ‘[Plugin: Subscribe2] Localization problems’ is closed to new replies.

 * ![](https://ps.w.org/subscribe2/assets/icon-256x256.png?rev=2318630)
 * [Subscribe2 - Form, Email Subscribers & Newsletters](https://wordpress.org/plugins/subscribe2/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/subscribe2/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/subscribe2/)
 * [Active Topics](https://wordpress.org/support/plugin/subscribe2/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/subscribe2/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/subscribe2/reviews/)

 * 37 replies
 * 2 participants
 * Last reply from: [Matt Robinson](https://wordpress.org/support/users/mattyrob/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-subscribe2-localization-problems/page/3/#post-3638716)
 * Status: resolved