[Plugin: Pre-Publish Reminders] How to add i18n
-
I have made the .mo and .po files for my language and added the code below to the pre-publish-reminders.php, but there’s no change.
function myplugin_init() { load_plugin_textdomain( 'pre-publish-reminders', false, dirname( plugin_basename( __FILE__ ) ) . '/i18n/' ); } add_action('init', 'myplugin_init');
Obviously something is wrong. But what? Any pointers are welcome!
https://www.ads-software.com/extend/plugins/pre-publish-reminders/
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘[Plugin: Pre-Publish Reminders] How to add i18n’ is closed to new replies.