Subject: Developers of Sympa
List archive
- From: IKEDA Soji <address@concealed>
- To: address@concealed
- Subject: Re: [sympa-developpers] Reform of locale handling
- Date: Tue, 26 Mar 2013 17:45:06 +0900
Hi developers,
It has done. From now on, "fr", "en-US" etc. may be used to
specify language contexts on Sympa anywhere. For details see
Language.pm.
Migration is transparent: No need to modify old configs, session
caches etc.
A few notes:
o Language tag "en" was given special meaning: it specifies default
locale ("C" locale) and skips gettext translation. It is last resort.
In general, "en-US" should be used (exception is such as content of
"Date:" header field).
o Pootle issues:
- Catalog of "English" (en) and "English (United States)" (en_US)
have the same content now. It should be unified to en_US.
- Catalog name of Bokmål is "nb_NO". It should be better to be
"nb".
Regards,
-- Soji
On Mon, 18 Mar 2013 12:06:29 +0900
IKEDA Soji <address@concealed> wrote:
> Hi developers,
>
> If beta release of Sympa-6.2 will be postponed, in this week I want
> to work on following issue: convention of language/locales ---
>
> * Complicated use of "lang" and "locale": Sympa takes former as
> just a canonicalized form of latter.
> As a result, there are difficulty to convert them between
> appropriate language codes.
>
> * Current convention of locale, "ll_RR" form, is not flexible
> enough:
>
> - Currently Arabic locale is "ar_SY" which may specify the
> Arabic language spoken around Damascus and so on. "ar" would
> be better to specify Standard Arabic (al-Fushā).
>
> - It is impossible to specify variants in script, region etc.
> For example: Serbian language written by Latin script instead
> of Cyrillic ("sr@latin"); Valencian variant of Catalan
> language ("ca_ES@valencian").
>
> My plans are:
>
> (a) Use IETF language tags (RFC 5646) anywhere except (b) and (c):
> fr, zh-CN, ar, sr-Latn, ca-ES-valencian, ...
>
> Configuration parameters related to language settings also
> would be changed. Compatibility with old format should be
> kept for the time being.
>
> (b) Use gettext-style locale names only for names of po files (and
> "Language:" field of their headers):
> fr, zh_CN, ar, sr@latin, ca_ES@valencian, ...
>
> (c) Use "ll_RR" style names only for language subdirectories
> of template paths:
> fr_FR, zh_CN, ar_SY, (others are not supported).
>
> Then in nearly later release, rename these directories using
> IETF language tags.
>
> Regards,
>
> --- Soji
>
> --
> 株式会社 コンバージョン セキュリティ&OSSソリューション部 池田荘児
> 〒231-0004 神奈川県横浜市中区元浜町3-21-2 ヘリオス関内ビル7F
> e-mail address@concealed TEL 045-640-3550
> http://www.conversion.co.jp/
--
株式会社 コンバージョン セキュリティ&OSSソリューション部 池田荘児
〒231-0004 神奈川県横浜市中区元浜町3-21-2 ヘリオス関内ビル7F
e-mail address@concealed TEL 045-640-3550
http://www.conversion.co.jp/
-
[sympa-developpers] Reform of locale handling,
IKEDA Soji, 03/18/2013
- Re: [sympa-developpers] Reform of locale handling, IKEDA Soji, 03/26/2013
Archive powered by MHonArc 2.6.19+.