Ok i built plugin for contact form, I wanna add translation for it. In my main plugin files i add this code
function ap_action_init()
{
// Localization
load_plugin_textdomain('prijava_forma', false, dirname(plugin_basename(__FILE__))."/languages");
}
// Add actions
add_action('init', 'ap_action_init');
in my file where contact form is written i have this
_e('Prva','prijava_forma');
In my language folder i added .mo and .po files created with poedit.
Also i defined WPLANG in config.php, and change lang in admin section
But i get no translation. Where could be problem, i am new to this?