On Nov 13, 2007 1:09 AM, Jevos, Peter <Peter.Jevos@xxxxxxxxxxxxxxx> wrote: > > > -----Original Message----- > > From: squirrelmail-users-bounces@xxxxxxxxxxxxxxxxxxxxx > > [mailto:squirrelmail-users-bounces@xxxxxxxxxxxxxxxxxxxxx] On > > Behalf Of Fredrik Jervfors > > Sent: Tuesday, November 13, 2007 9:12 AM > > To: Squirrelmail User Support Mailing List > > Subject: Re: Username plugin translation > > > > "Jevos, Peter": > > > "Fredrik Jervfors": > > >> "Jevos, Peter": > > >>> I'd like to ask how to correctly prepare tranplation for Username > > >>> plugin I've created po file using xgettext and placed it on the > > >>> proper place in the locale path. And I have placed these > > strings to > > >>> the file funcionts.php ( where is located all translated strings ) > > >>> > > >>> bindtextdomain('username',SM_PATH . 'locale'); > > >>> textdomain('username'); > > >>> > > >>> ............ > > >>> ............ > > >>> > > >>> bindtextdomain('squirrelmail',SM_PATH . 'locale'); > > >>> textdomain('squirrelmail'); You put no such thing in your functions file. You should try to upgrade the plugin to use Compatibility 2.x too (just remove references to the Compatibility plugin - see the Compatibility plugin's README file) > > >>> I placed first strings at the beginnig of the file and > > the others at > > >>> the end. And probably this is wrong cause my translations doesn't > > >>> work. I have translated many plugins but all of them had prepared > > >>> bindtextdomain strings by their developer Where should I > > put these > > >>> strings into file functions.php correctly ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ----- 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