[Plugin: WP-UserOnline] Translation not working
As already written in an email – the translation (German)of WP-UserOnline didn’t work in my WordPress 2.9.2 configuration.
After adding the following lines in the file wp-useronline.php it works.
if (function_exists('load_plugin_textdomain')) load_plugin_textdomain('wp-useronline', false, dirname(plugin_basename(__FILE__)) . '/lang');
But also the plural forms in the language po/pot files were not correctly formated – after generating a new pot file with PoEdit and fixing the plural definition the translation works now.
- The topic ‘[Plugin: WP-UserOnline] Translation not working’ is closed to new replies.