#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# References: http://www.omniglot.com/writing/atoz.htm
#             http://www.loc.gov/standards/iso639-2/englangn.html
#             http://www.ethnologue.com
#             http://www.worldlanguage.com/Languages/
#             http://www.rosettaproject.org/
#             http://www.sweb.cz/ls78/diacritics.htm
#    see also toolkit/locales/en-US/chrome/global/languageNames.properties
#             and bug 178491
#
# Strictly speaking, Avestan did not use Arabic script but Aramaic
# (arc)/Avestan script.)
#ae=ar

ab=x-cyrillic
af=x-western
alg=x-cans
am=x-ethi
ar=ar
as=x-beng
ay=x-western
be=x-cyrillic
bg=x-cyrillic
bn=x-beng
bo=x-tibt
br=x-western
bs=x-central-euro
ca=x-western
ce=x-central-euro
ch=x-western
co=x-western
cr=x-cans
cs=x-central-euro
csb=x-central-euro
#cu=x-cyrillic
cv=x-cyrillic
# XXX Latin Ext. A is also used for cy.
cy=x-western
da=x-western
de=x-western
dsb=x-central-euro
#dv=Thaanna
dz=x-tibt
#ee=x-western(?) (Ewe uses characters outside Latin-1 as well)
el=el
en=x-western
# Esperanto: Latin-3
eo=x-western
es=x-western
et=x-baltic
eu=x-western
fa=ar
#ff=x-western(?) : Fulfulde
fi=x-western
# XXX Latin Ext. A is also used for fj.
fj=x-western
fo=x-western
fr=x-western
fy=x-western
ga=x-western
#XXX Latin Ext. A and Ext. additional block are used for Gaelic (8859-14)
gd=x-western
# gl : ISO-8859-13
gl=x-western
gn=x-western
#ha=x-western : Latin and Ajami scripts
gu=x-gujr
gv=x-western
haw=x-western
he=he
hi=x-devanagari
hil=x-western
hr=x-central-euro
hsb=x-central-euro
ht=x-western
hu=x-central-euro
hy=x-armn
ia=x-western
id=x-western
ie=x-western
is=x-western
it=x-western
iu=x-cans
ja=ja
ka=x-geor
kk=x-cyrillic
kl=x-western
km=x-khmr
kn=x-knda
ko=ko
kok=x-devanagari
ks=ar
# Arabic script is also used for Kurdish
ku=x-western
# XXX Latin Ext. A is also used for kw(Cornish).
kw=x-western
#ky=x-cyrillic
# XXX Latin Ext. A is also used for Latin.
la=x-western
lb=x-western
ln=x-western
lt=x-baltic
lv=x-baltic
mg=x-western
mh=x-western
#XXX  Latin Ext. A is also used for Maori.
mi=x-western
mk=x-cyrillic
ml=x-mlym
# Mongolian script is also used for Mongolian
mn=x-cyrillic
mr=x-devanagari
ms=x-western
# Maltese: Latin-3
mt=x-western
na=x-western
nb=x-western
nd=x-western
ne=x-devanagari
nl=x-western
nn=x-western
no=x-western
nr=x-western
nso=x-western
# XXX : x-central-euro may be better
nv=x-western
ny=x-western
oc=x-western
oj=x-cans
om=x-western
or=x-orya
os=x-cyrillic
#pa: Punjabi is usually written in Gurmukhi script in India and Arabic script
#    in Pakistan. We make pa default to Gurmukhi based on comments in bug 248690
pa-in=x-guru
pa-pk=ar
pa=x-guru
pl=x-central-euro
ps=ar
pt=x-western
qu=x-western
rm=x-western
rn=x-western
ro=x-central-euro
ru=x-cyrillic
rw=x-western
sa=x-devanagari
sc=x-western
sd=ar
# African language (but related with French)
sg=x-western
sh=x-central-euro
si=x-sinh
sk=x-central-euro
sl=x-central-euro
sm=x-western
so=x-western
son=x-western
sq=x-western
sr=x-cyrillic
ss=x-western
st=x-western
sv=x-western
sw=x-western
ta=x-tamil
te=x-telu
th=th
ti=x-ethi
tig=x-ethi
tk=x-cyrillic
#tk=tr # (The country declared in 1992 to gradually move to Latin script)
tl=x-western
tlh=x-western
tn=x-western
to=x-western
tr=tr
ts=x-western
tt=tr
uk=x-cyrillic
ur=ar
ve=x-western
# XXX : Vietnamese may need be put into a script group of its own
vi=x-western
vo=x-western
wa=x-western
wo=x-western
xh=x-western
yi=he
#Latin Ext. A and Latin Extended Additional block are used for Yoruba.
#yo=x-western
zh-cn=zh-CN
# XXX : The following two entries are added as a quick fix (bug 251241).
# When we have a general solution for ISO 15924 (script codes), the issue has
# to be revisited.
zh-hans=zh-CN
zh-hant=zh-TW
zh-tw=zh-TW
zh-hk=zh-HK
zh=zh-CN
zh-min-nan=x-western
zu=x-western
#
#==============================
#
# mapping mozilla's internal x-* to themselves (see bug 256257)
x-western=x-western
x-central-euro=x-central-euro
x-cyrillic=x-cyrillic
# el
# tr
# he
# ar
x-baltic=x-baltic
# th
# ja
# zh-CN
# ko
# zh-TW
x-tamil=x-tamil
x-devanagari=x-devanagari
x-unicode=x-unicode
x-user-def=x-user-def
x-armn=x-armn
x-geor=x-geor
# These self-mappings are not necessary unless somebody use them to specify
# lang in (X)HTML/XML documents, which they shouldn't. (see bug 256257)
#x-beng=x-beng
#x-cans=x-cans
#x-ethi=x-ethi
#x-guru=x-guru
#x-gujr=x-gujr
#x-khmr=x-khmr
#x-mlym=x-mlym
