#10388 closed (invalid)
Global settings -> Langiages. Ukranian language has wrong code.
Reported by: | Vladimir Prudnikov | Owned by: | nobody |
---|---|---|---|
Component: | Internationalization | Version: | 1.0 |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Hello, just found that Ukranian language has wrong language code.
('uk', 'Ukrainian')
uk is United Kindom.
Ukranian is ua.
so it should be
('ua', 'Ukrainian')
Change History (5)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
If you consult this page: http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes it appears that uk is indeed correct for the Ukraine.
comment:3 by , 16 years ago
prudnikov, you seem to be thinking of top level domain names, where uk is United Kingdom and ua is Ukraine, per:
http://www.iana.org/domains/root/db/
This is different from language codes, which is what the code referred to is setting. The current authoritative list of language codes appears to be here:
http://www.loc.gov/standards/iso639-2/php/code_list.php
and agrees with the Wikipedia article Alex cites: uk is correct for Ukraine, when you are talking 2-letter language codes.
The mistake is here http://code.djangoproject.com/browser/django/trunk/django/conf/global_settings.py#L92