Re: Updated hungarian translations for SquirrelMail 1.4.18
Németh Tamás <[email protected]> Wed, 29 Apr 2009 10:03:32 +0200
| Newsgroups | gmane.mail.squirrelmail.internationalization |
|---|---|
| Organization | Nyugat-magyarországi Egyetem |
| Message-ID | <[email protected]> |
On 2009. április 29. 02.55.15 Fredrik Jervfors wrote:
> >>> -How could SM work when all my .mo files were already in utf-8, but
> >>> the 'LOCALE' in my i18n.php was
> >>> still iso-8859-2? Does it some charset detection and on the fly
> >>> conversion?
> >>
> >> No, it won't work.
> >
> > But it worked for me that way!
>
> Did you remember to restart the web server after installing new mo-files,
> to make sure that your web server didn't use cached translations? Or maybe
> I misunderstood the question. Anyway, I don't know the i18n code in
> SquirrelMail by heart, so I can't easily answer questions about who it
> works. If anyone else on the list know the answer, please help out.
I did this just now:
titanic:/home/squirrelmail/1.4.17/htdocs/functions # vi i18n.php
titanic:/home/squirrelmail/1.4.17/htdocs/functions # /etc/init.d/apache restart
Shutting down httpd done
Starting httpd [ PHP4 ]
titanic:/home/squirrelmail/1.4.17/htdocs/functions # grep 'hu_' i18n.php
$languages['hu_HU']['NAME'] = 'Hungarian';
$languages['hu_HU']['CHARSET'] = 'iso-8859-2';
$languages['hu_HU']['LOCALE'] = array('hu_HU.ISO8859-2','hu_HU.ISO-8859-2','hu_HU');
$languages['hu']['ALIAS'] = 'hu_HU';
But then:
titanic:/home/squirrelmail/1.4.17/htdocs/functions # fgrep -i 'utf-8' ../locale/hu_HU/LC_MESSAGES/squirrelmail.mo
Binary file ../locale/hu_HU/LC_MESSAGES/squirrelmail.mo matches
(All .mo files are utf-8 encoded.) And squirrelmail displays all messages correctly.
However I don't consider it a problem and you don't have to worry about it.
Sincerely,
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