@qwertysimo,
This was fixed until you installed and activated the Polylang plugin, this is therefore a conflict between the two plugins. Something in this plugin is stopping mo files being loaded so you need to raise this with the authors of Polylang.
OK, thanks for explanation. Have a nice day.
Hi, I found solution for the latest issue above. It was neccessary to modify Subscribe2 plugin, not the Polylang.
In subscribe2.php find this code:
if ( is_admin() ) {
require_once( S2PATH . 'classes/class-s2-admin.php' );
global $mysubscribe2;
$mysubscribe2 = new s2_admin;
$mysubscribe2->s2init();
} else {
require_once( S2PATH . 'classes/class-s2-frontend.php' );
global $mysubscribe2;
$mysubscribe2 = new s2_frontend;
$mysubscribe2->s2init();
}
and add two lines at the end of else section:
remove_action('init', array(&$mysubscribe2, 'load_strings'));
add_action('wp', array(&$mysubscribe2, 'load_strings')); // after Polylang
From this moment all Subscribe2 messages show up translated. Solution found in this post. Thanks Chouby.
@qwertysimo,
That fix isn’t working for me, I’ve tried it the way described above and I’ve also just amended the line in the class-s2-core.php file from:
add_action('plugins_loaded', array(&$this, 'load_strings'));
To:
add_action('wp', array(&$this, 'load_strings'));
Which should essentially do the same thing. Did you change anything else?
@qwertysimo,
It’s okay, forget that last post, I figured something else out and got it working. I’ll get this fixed in 9.0 but some of the strings are also changing so you’ll need to update you po and mo files when it is released.
@qwertysimo,
Hmm, I’ve noticed a side effect of the ‘fix’ for polylang – the translation strings load too late for the admin menus now so they are blank in some places.
Another fix is needed.