Re: WARNING: askuserinfo cannot be localized!!!
Paul Lesniewski <[email protected]> Wed, 29 Apr 2009 01:48:31 -0700
| Newsgroups | gmane.mail.squirrelmail.internationalization |
|---|---|
| Message-ID | <[email protected]> |
2009/4/29 Németh Tamás <[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. I don't know why that is. It should be moved to the "extra" directory until Thijs applies this patch and makes a new release. >> 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?), Open that file, remove the lines that start with the - sign and add the ones that start with the + sign. > 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. Then you did it. ------------------------------------------------------------------------------ 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