Localization broken
-
Some WP dev on load_plugin_textdomain
We will keep it just until 2.7. After that both argument will do what
the third one does now. And after 2.8 we will keep only the second
one.Unfortunately there are too many plugins out there and we can’t make
an abrupt transition. In our case, we can’t afford make all plugin
translations to stop working.I do not know when it actually happened, but it helpen me find the problem:
So right now, the l10n on your plugin does not work. Line 51 need be changed to
load_plugin_textdomain( 'sidebar-login', dirname( plugin_basename( __FILE__ ) ) . '/languages' , dirname( plugin_basename( __FILE__ ) ) . '/languages' );
and I believe you need to add an .mo file.Thank you for the good and simple plugin!
- The topic ‘Localization broken’ is closed to new replies.