Re: WARNING: askuserinfo cannot be localized!!!

Paul Lesniewski <[email protected]> Tue, 28 Apr 2009 17:50:03 -0700
Newsgroups gmane.mail.squirrelmail.internationalization
Message-ID <[email protected]>
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.

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');

------------------------------------------------------------------------------
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