Locales have non-standard designations [L10n] #5

Open
opened 2024-03-08 18:53:34 +01:00 by Sweetbread · 0 comments
Owner

There is a mixture of 3 letter and 2 letter codes, with SP for Spanish being incorrect (should be ES).
When looking at localisation, it is confusing that standard ISO 639-1 was not followed (at least).
https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes

Ideally (if there is no size / performance impact) we should adopt the language-COUNTRY code standard, to make identifying the locale much easier. This is constructed with ISO 639-1 and ISO 3166-1 https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2.
See also https://en.wikipedia.org/wiki/IETF_language_tag ...

CA - Catalan ? --> ca or ca-ES...?
ENG - English --> en or en-US.
ET - Estonian? --> et or et_EE...?
IT - Italian --> it or it-IT.
RUS - Russian --> ru or ru-RU.
SP - Spanish (Castilian) --> es or es-ES.


ace_dent

There is a mixture of 3 letter and 2 letter codes, with `SP` for Spanish being incorrect (should be `ES`). When looking at localisation, it is confusing that standard ISO 639-1 was not followed (at least). https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes Ideally (if there is no size / performance impact) we should adopt the `language-COUNTRY` code standard, to make identifying the locale much easier. This is constructed with ISO 639-1 and ISO 3166-1 https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2. See also https://en.wikipedia.org/wiki/IETF_language_tag ... `CA` - Catalan ? --> `ca` or `ca-ES`...? `ENG` - English --> `en` or `en-US`. `ET` - Estonian? --> `et` or `et_EE`...? `IT` - Italian --> `it` or `it-IT`. `RUS` - Russian --> `ru` or `ru-RU`. `SP` - Spanish (Castilian) --> `es` or `es-ES`. --- *ace_dent*
Sweetbread added the
Priority
Low
Reviewed
Confirmed
labels 2024-03-08 18:53:34 +01:00
Sweetbread added the
Kind
Bug
label 2024-03-08 19:37:19 +01:00
Sweetbread added the
Influence/Text/TYPO
label 2024-03-08 19:45:13 +01:00
Sweetbread added the
Category/General
label 2024-03-10 20:50:27 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: KolibriOS/kolibrios#5
No description provided.