Re: WARNING: askuserinfo cannot be localized!!!
Németh Tamás <[email protected]> Wed, 29 Apr 2009 10:14:25 +0200
| Newsgroups | gmane.mail.squirrelmail.internationalization |
|---|---|
| Organization | Nyugat-magyarországi Egyetem |
| Message-ID | <[email protected]> |
On 2009. április 29. 02.50.03 Paul Lesniewski wrote: > 2009/4/27 Németh Tamás <[email protected]>: > > Dear i18n developers! > > > > I've created some versions of askuserinfo.mo, but SquirrelMail 1.4.17 > > ignores them. I've also tried it in different other languages with no > > success. The askuserinfo module seems to ignore the translation files. > > That plugin is not coded at all for being translated. OK, but every release contains an askuserinfo.pot file, and it's even translated to several languages. > You'd need to apply this patch (created by hand, not tested) to setup.php: > > + sq_change_text_domain('askuserinfo'); > echo '<p align="center"><b><font color="' . $color[2] . > - '">NOTE: You need to supply your full name and email > address.'. + '">' . _("NOTE: You need to supply your full name > and email address.") . > '</font></b></p>'; > + sq_change_text_domain('squirrelmail'); I don't know how to apply this path (can you help me?), but I edited the file manually according to these lines, and localization works now. I tested it in hungarian and german, and worked well in both languages. Regards, Tamás ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf ----- squirrelmail-i18n mailing list Posting guidelines: http://squirrelmail.org/postingguidelines Information about translations: http://squirrelmail.org/wiki/LanguageTranslation Statistics for translations: http://l10n-stats.squirrelmail.org/ List address: [email protected] List archives: http://news.gmane.org/gmane.mail.squirrelmail.internationalization List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-i18n