Supported languages and locales — DateParser 1.4.2 documentation

# Supported languages and locales

The `region` argument accepts the region subtag from one of the locale codes listed below. For example, `languages=['en'], region='IN'` uses the `en-IN` locale, while `languages=['fr'], region='CA'` uses `fr-CA`. If you already know the full locale code, pass it directly through `locales=['en-IN']` instead.

Language | Locales
--- | ---
af | ‘af-NA’
agq |
ak |
am |
ar | ‘ar-AE’, ‘ar-BH’, ‘ar-DJ’, ‘ar-DZ’, ‘ar-EG’, ‘ar-EH’, ‘ar-ER’, ‘ar-IL’, ‘ar-IQ’, ‘ar-JO’, ‘ar-KM’, ‘ar-KW’, ‘ar-LB’, ‘ar-LY’, ‘ar-MA’, ‘ar-MR’, ‘ar-OM’, ‘ar-PS’, ‘ar-QA’, ‘ar-SA’, ‘ar-SD’, ‘ar-SO’, ‘ar-SS’, ‘ar-SY’, ‘ar-TD’, ‘ar-TN’, ‘ar-YE’
as |
asa |
ast |
az |
az-Cyrl |
az-Latn |
bas |
be |
bem |
bez |
bg |
bm |
bn | ‘bn-IN’
bo | ‘bo-IN’
br |
brx |
bs |
bs-Cyrl |
bs-Latn |
ca | ‘ca-AD’, ‘ca-FR’, ‘ca-IT’
ce |
cgg |
chr |
ckb | ‘ckb-IR’
cs |
cy |
da | ‘da-GL’
dav |
de | ‘de-AT’, ‘de-BE’, ‘de-CH’, ‘de-IT’, ‘de-LI’, ‘de-LU’
dje |
dsb |
dua |
dyo |
dz |
ebu |
ee | ‘ee-TG’
el | ‘el-CY’
en | ‘en-001’, ‘en-150’, ‘en-AG’, ‘en-AI’, ‘en-AS’, ‘en-AT’, ‘en-AU’, ‘en-BB’, ‘en-BE’, ‘en-BI’, ‘en-BM’, ‘en-BS’, ‘en-BW’, ‘en-BZ’, ‘en-CA’, ‘en-CC’, ‘en-CH’, ‘en-CK’, ‘en-CM’, ‘en-CX’, ‘en-CY’, ‘en-DE’, ‘en-DG’, ‘en-DK’, ‘en-DM’, ‘en-ER’, ‘en-FI’, ‘en-FJ’, ‘en-FK’, ‘en-FM’, ‘en-GB’, ‘en-GD’, ‘en-GG’, ‘en-GH’, ‘en-GI’, ‘en-GM’, ‘en-GU’, ‘en-GY’, ‘en-HK’, ‘en-IE’, ‘en-IL’, ‘en-IM’, ‘en-IN’, ‘en-IO’, ‘en-JE’, ‘en-JM’, ‘en-KE’, ‘en-KI’, ‘en-KN’, ‘en-KY’, ‘en-LC’, ‘en-LR’, ‘en-LS’, ‘en-MG’, ‘en-MH’, ‘en-MO’, ‘en-MP’, ‘en-MS’, ‘en-MT’, ‘en-MU’, ‘en-MW’, ‘en-MY’, ‘en-NA’, ‘en-NF’, ‘en-NG’, ‘en-NL’, ‘en-NR’, ‘en-NU’, ‘en-NZ’, ‘en-PG’, ‘en-PH’, ‘en-PK’, ‘en-PN’, ‘en-PR’, ‘en-PW’, ‘en-RW’, ‘en-SB’, ‘en-SC’, ‘en-SD’, ‘en-SE’, ‘en-SG’, ‘en-SH’, ‘en-SI’, ‘en-SL’, ‘en-SS’, ‘en-SX’, ‘en-SZ’, ‘en-TC’, ‘en-TK’, ‘en-TO’, ‘en-TT’, ‘en-TV’, ‘en-TZ’, ‘en-UG’, ‘en-UM’, ‘en-US’, ‘en-VC’, ‘en-VG’, ‘en-VI’, ‘en-VU’, ‘en-WS’, ‘en-ZA’, ‘en-ZM’, ‘en-ZW’
eo |
es | ‘es-419’, ‘es-AR’, ‘es-BO’, ‘es-BR’, ‘es-BZ’, ‘es-CL’, ‘es-CO’, ‘es-CR’, ‘es-CU’, ‘es-DO’, ‘es-EA’, ‘es-EC’, ‘es-GQ’, ‘es-GT’, ‘es-HN’, ‘es-IC’, ‘es-MX’, ‘es-NI’, ‘es-PA’, ‘es-PE’, ‘es-PH’, ‘es-PR’, ‘es-PY’, ‘es-SV’, ‘es-US’, ‘es-UY’, ‘es-VE’
et |
eu |
ewo |
fa | ‘fa-AF’
ff | ‘ff-CM’, ‘ff-GN’, ‘ff-MR’
fi |
fil |
fo | ‘fo-DK’
fr | ‘fr-BE’, ‘fr-BF’, ‘fr-BI’, ‘fr-BJ’, ‘fr-BL’, ‘fr-CA’, ‘fr-CD’, ‘fr-CF’, ‘fr-CG’, ‘fr-CH’, ‘fr-CI’, ‘fr-CM’, ‘fr-DJ’, ‘fr-DZ’, ‘fr-GA’, ‘fr-GF’, ‘fr-GN’, ‘fr-GP’, ‘fr-GQ’, ‘fr-HT’, ‘fr-KM’, ‘fr-LU’, ‘fr-MA’, ‘fr-MC’, ‘fr-MF’, ‘fr-MG’, ‘fr-ML’, ‘fr-MQ’, ‘fr-MR’, ‘fr-MU’, ‘fr-NC’, ‘fr-NE’, ‘fr-PF’, ‘fr-PM’, ‘fr-RE’, ‘fr-RW’, ‘fr-SC’, ‘fr-SN’, ‘fr-SY’, ‘fr-TD’, ‘fr-TG’, ‘fr-TN’, ‘fr-VU’, ‘fr-WF’, ‘fr-YT’
fur |
fy |
ga |
gd |
gl |
gsw | ‘gsw-FR’, ‘gsw-LI’
gu |
guz |
gv |
ha | ‘ha-GH’, ‘ha-NE’
haw |
he |
hi |
hr | ‘hr-BA’
hsb |
hu |
hy |
id |
ig |
ii |
is |
it | ‘it-CH’, ‘it-SM’, ‘it-VA’
ja |
jgo |
jmc |
ka |
kab |
kam |
kde |
kea |
khq |
ki |
kk |
kl |
kln |
km |
kn |
ko | ‘ko-KP’
kok |
ks |
ksb |
ksf |
ksh |
kw |
ky |
lag |
lb |
lg |
lkt |
ln | ‘ln-AO’, ‘ln-CF’, ‘ln-CG’
lo |
lrc | ‘lrc-IQ’
lt |
lu |
luo |
luy |
lv |
mas | ‘mas-TZ’
mer |
mfe |
mg |
mgh |
mgo |
mk |
ml |
mn |
mr |
ms | ‘ms-BN’, ‘ms-SG’
mt |
mua |
my |
mzn |
naq |
nb | ‘nb-SJ’
nd |
ne | ‘ne-IN’
nl | ‘nl-AW’, ‘nl-BE’, ‘nl-BQ’, ‘nl-CW’, ‘nl-SR’, ‘nl-SX’
nmg |
nn |
nnh |
nus |
nyn |
om | ‘om-KE’
or |
os | ‘os-RU’
pa |
pa-Arab |
pa-Guru |
pl |
ps |
pt | ‘pt-AO’, ‘pt-CH’, ‘pt-CV’, ‘pt-GQ’, ‘pt-GW’, ‘pt-LU’, ‘pt-MO’, ‘pt-MZ’, ‘pt-PT’, ‘pt-ST’, ‘pt-TL’
qu | ‘qu-BO’, ‘qu-EC’
rm |
rn |
ro | ‘ro-MD’
rof |
ru | ‘ru-BY’, ‘ru-KG’, ‘ru-KZ’, ‘ru-MD’, ‘ru-UA’
rw |
rwk |
sah |
saq |
sbp |
se | ‘se-FI’, ‘se-SE’
seh |
ses |
sg |
shi |
shi-Latn |
shi-Tfng |
si |
sk |
sl |
smn |
sn |
so | ‘so-DJ’, ‘so-ET’, ‘so-KE’
sq | ‘sq-MK’, ‘sq-XK’
sr |
sr-Cyrl | ‘sr-Cyrl-BA’, ‘sr-Cyrl-ME’, ‘sr-Cyrl-XK’
sr-Latn | ‘sr-Latn-BA’, ‘sr-Latn-ME’, ‘sr-Latn-XK’
sv | ‘sv-AX’, ‘sv-FI’
sw | ‘sw-CD’, ‘sw-KE’, ‘sw-UG’
ta | ‘ta-LK’, ‘ta-MY’, ‘ta-SG’
te |
teo | ‘teo-KE’
th |
ti | ‘ti-ER’
tl |
to |
tr | ‘tr-CY’
twq |
tzm |
ug |
uk |
ur | ‘ur-IN’
uz |
uz-Arab |
uz-Cyrl |
uz-Latn |
vi |
vun |
wae |
xog |
yav |
yi |
yo | ‘yo-BJ’
yue |
zgh |
zh |
zh-Hans | ‘zh-Hans-HK’, ‘zh-Hans-MO’, ‘zh-Hans-SG’
zh-Hant | ‘zh-Hant-HK’, ‘zh-Hant-MO’
zu |