Comment 5 for bug 57411

Revision history for this message
Mikko Rantalainen (mira) wrote :

How about expanding the current locale system to include special country code ZZ for every language? Such locale should be defined to always default to ISO compatible values: SI system (metric measurements), A4 paper, ISO 8601 date format and week numbers etc. The implementation of en_ZZ.UTF-8 could be identical to en_DK.UTF-8 for a start. The installer could default to ZZ country code locale if selected location has no specific locale. According to http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 the country code ZZ is reserved for user assigned values. Unfortunately, there does not exists official "undefined" country code (similar to UND language code) which would be appropriate here.

When it comes to formatting numbers, it seems that ISO has never successfully defined format for decimal numbers. According to http://en.wikipedia.org/wiki/Decimal_separator it seems that some ISO blueprints have defined comma (,) as decimal separator (instead of US period) and space as digit grouping symbol (instead of US comma). At least most of the continental Europe follow this system, AFAIK. According to http://en.wikipedia.org/wiki/SI the 10th resolution of CGPM in 2003 declared both comma and period as acceptable decimal separators. The only concensus seems to be that English usage is period, other usage is comma.

For LC_COLLATE, I'm completely lost. Perhaps ZZ country locale should always implement http://www.unicode.org/unicode/reports/tr10/