Hey guys..
I have created a plugin and i want to
translate the actual widget part
No 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)