Coureier Vacation plugin tranaslation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux