Hi

I’d like to use trnalation in the courier_vacation plugin

 

So I’ve created the po file with the command:

xgettext --keyword=_ -d vacation -s -L php *.php

 

And adjust the  functions.php file to switch the domain:

 

bindtextdomain('courier_vacation', SM_PATH . 'locale');

textdomain('courier_vacation');

 

    $optpage_blocks[] = array(

        'name' =>'<font color=white><b>' .  _("Vacation / Autoresponder") . '</b></font>',

        'url' => '../plugins/courier_vacation/options.php',

        'desc' => _("Set up an auto-reply message for your incoming email.  This can be useful when you are away on vacation."),

        'js' => FALSE

    );

bindtextdomain('squirrelmail', SM_PATH . 'locale');

textdomain('squirrelmail');

 

I placed the po to the proper local folder and created the mo file

 

However the translation still not working

 

Any help ?

 

Thanks

pet