On Wed, Mar 20, 2013 at 2:50 PM, Stefan Sperling <[email protected]> wrote:
> On Tue, Mar 19, 2013 at 06:44:59PM -0500, Vladimir Támara Patiño wrote:
>> +#http://en.wikipedia.org/wiki/List_of_countries_where_Spanish_is_an_official_language
>> +ES_COUNTRIES= AR BO CH CO CR CU DO EC ES GQ GT HN MX NI PA PE PR PY SV UY VE
>
> Sorry, but I don't really see the point of this.
>
> All these names are going to map to the same ctype definitions.
> That just clutters the /usr/share/locale directory. Why can't people
> just use es_ES?

Because that's wrong. es_VE for ctype alone won't make a difference,
but BSF isn't the same as Euro, is it? (hah) Date formats, etc., are
different. And dictionary files (e.g., spellings for common cities)
are also different.

The way you specify locales, ll_CC.CHARTYPE, where ll is language and
CC is country-code, is unfortunate because it makes unnecesary
duplication for fields where it shouldn't make a difference, like
ctype, but that's just the way it is

>
> I don't think locale names are standardized, so there should be nothing
> that forces us to support a certain set of locale names.
>
>> +ES_ENCODINGS= ISO8859-1 ISO8859-15 UTF-8
>> +.for c in ${ES_COUNTRIES}
>> +LOCALES += es_${c}.UTF-8
>> +LOCALESRC_es_${c}.UTF-8 = en_US.UTF-8
>> +LOCALES += es_${c}.ISO8859-1
>> +LOCALESRC_es_${c}.ISO8859-1 = en_US.ISO_8859-1
>> +LOCALES += es_${c}.ISO8859-15
>> +LOCALESRC_es_${c}.ISO8859-15 = en_US.DIS_8859-15
>> +.endfor
>>
>>  LOCALES += fa_IR.UTF-8
>>   LOCALESRC_fa_IR.UTF-8 = en_US.UTF-8
>

Reply via email to