Good Day,
I'm trying to translate my plugin but it doesn't seems to work.
I read that I should check the return value of "load_plugin_textdomain" to see if it's false (meaning it doesn't find my translation file), but I cannot find how to find this value.
Can someone point me in the right direction?
Thanks
EDIT As requested here is the lines to load it
function ap_action_init() {
load_plugin_textdomain('my_plugin', false, WP_PLUGIN_DIR . '/languages' );
}
// Localization
// Add Actions
add_action('init', 'ap_action_init');
WP_PLUGIN_DIR . '/languages'
toWP_PLUGIN_DIR . '/my-plugin/languages/'
? Check the path, it seems wrong in your code. – cybmeta May 26 '15 at 8:26