Re: Patching needed for UTF-8
Tomas Kuliavas <[email protected]> Wed, 23 Feb 2011 10:37:54 -0800 (PST)
| Newsgroups | gmane.mail.squirrelmail.internationalization |
|---|---|
| Message-ID | <[email protected]> |
Actiu informatica wrote:
>
> Al 23/02/11 17:45, En/na Tomas Kuliavas ha escrit:
>>
>>
>> Actiu informatica wrote:
>>>
>>> I've installed the SquirrelMail 1.4.20 that comes on Ubuntu 10.04
>>> repositories and I see that, better than editing system's supported
>>> locales (to work on ISO-xx charsets), an update is needed for the file
>>> functions/i18n.php
>>>
>>> At this moment the major part of languages lack in the 'LOCALE' arrays
>>> of a UTF value.
>>>
>>> For example:
>>> $languages['es_ES']['LOCALE'] =
>>> array('es_ES.ISO8859-1','es_ES.ISO-8859-1','es_ES');
>>>
>>> Better needs to be:
>>> $languages['es_ES']['LOCALE'] =
>>> array('es_ES.UTF-8','es_ES.ISO8859-1','es_ES.ISO-8859-1','es_ES');
>>>
>>> And then works properly with an Unicode environment.
>>>
>> Your change breaks case sensitivity. You are asking to change base locale
>> charset without changing charset used in interface.
> I'm asking to add locales (not changing data).
> Only with this, a default Ubuntu installation works for other languages.
>
Letter case sensitivity rules are different for es_ES.utf-8. Your suggestion
makes utf-8 system locale default one for interface which operates in
iso-8859-1. All locales in SquirrelMail $languages array match charset used
by translation or don't set any charset. In Ubuntu you can also create es_ES
locale without charset information, but they haven't done that for same
reasons why SquirrelMail does not use utf-8 locale with iso-8859-1 based
translations.
Default Ubuntu installation works only with UTF-8. Most of SquirrelMail
translations are not in utf-8. If ubuntu squirrelmail package is in utf-8,
then you should log bug report on ubuntu and ask then to correctly convert
Spanish translation to utf-8.
--
View this message in context: http://old.nabble.com/Patching-needed-for-UTF-8-tp30994739p30997679.html
Sent from the squirrelmail-i18n mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in
Real-Time with Splunk. Collect, index and harness all the fast moving IT data
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business
insights. http://p.sf.net/sfu/splunk-dev2dev
-----
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