• Hi! I’ve tried to translate the plugin. I’ve created the .mo file with PoEdit and I’ve uploaded it to the plugin localize directory.
    I’ve tried with different names without successful result. I’ve my WordPress configured with spanish language (es_ES) and I’ve tried the following names for the .mo file:

    – email-alerts-es_ES.mo
    – es_ES.mo

    No one of them works.
    I also tried to put them on the plugin main directory but It haven’t worked well either.

    Do you know what I’m doing wrong or maybe the plugin have some errors?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter andreu

    (@andreu)

    Any idea? 🙁

    EndorphinE

    (@endorphine)

    I have checked the file plugin.php file and it appears that the function is not working correctly:

    $locale = get_locale ();
    if ( empty($locale) )
    $locale = ‘ru_RU’;

    $mofile = dirname (__FILE__).”/locale/$locale.mo”;
    load_textdomain ($this->plugin_name, $mofile);

    According to the code the filesname of the *.mo file must be ru_RU but it still does not working. Unfortunately I am not good at php programming so I cannot edit the code. Contacted Simon about this issue but did not get the reply so far.

    Andreu did you find the work around?

    Thanks 😉

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: Email Alerts] Localize doesn't work’ is closed to new replies.