| | 7 | Comparing the set of locales defined in `globalsettings.LANGUAGES` and Pythons' `locale_alias`, there are more locales suffering from this issue: |
| | 8 | {{{ |
| | 9 | ( |
| | 10 | ('fy-nl', 'Frisian'), |
| | 11 | ('ia', 'Interlingua'), |
| | 12 | ('kk', 'Kazakh'), |
| | 13 | ('lb', 'Luxembourgish'), |
| | 14 | ('mn', 'Mongolian'), |
| | 15 | ('my', 'Burmese'), |
| | 16 | ('ne', 'Nepali'), |
| | 17 | ('os', 'Ossetic'), |
| | 18 | ('sr-latn', 'Serbian Latin'), |
| | 19 | ('sw', 'Swahili'), |
| | 20 | ('udm', 'Udmurt'), |
| | 21 | ('zh-hans', 'Simplified Chinese'), |
| | 22 | ('zh-hant', 'Traditional Chinese'), |
| | 23 | ) |
| | 24 | }}} |
| | 25 | |
| | 26 | HTTP Accept-Language follow the language tags defined by IANA and are defined as: |
| | 27 | {{{ |
| | 28 | langtag = language |
| | 29 | ["-" script] |
| | 30 | ["-" region] |
| | 31 | *("-" variant) |
| | 32 | *("-" extension) |
| | 33 | ["-" privateuse] |
| | 34 | }}} |
| | 35 | |
| | 36 | According to IANA, there are 8068 languages, 162 scripts, 301 regions and 62 variants. Shipping an inclusive list of all possible language tags is probably overkill. |