Need Help with Plugin translation
-
Hey guys..
I have created a plugin and i want to
translate the actual widget partNo matter where i looked i couldnt find the way
to connect the plugin php page with the transaltion.this is what i use (the code inside the plugin)
but i the widget itself doesent get translated:function translatesglp() { load_plugin_textdomain( 'sglp', false, dirname( plugin_basename( __FILE__ ) ) . '/lang/' ); }
the action:
add_action( 'init', 'translatesglp' );
My translated files are in a folder inside the plugin
folder called lang..Help anyone? (plz)
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Need Help with Plugin translation’ is closed to new replies.