User:Wavelength/Global data/Languages, countries, and codes

List of ISO 639-1 codes
These data were copied from "List of ISO 639-1 codes".

This table lists all of: Also, it lists some of: Note: Colors on the leftmost column represent the language family mentioned in second column.
 * ISO 639-1: two-letter codes, one per language or ISO 639 macrolanguage
 * ISO 639-2/T: three-letter codes, for the same languages as 639-1
 * ISO 639-2/B: three-letter codes, mostly the same as 639-2/T, but with some codes derived from English names rather than native names of languages (in the following table, these differing codes are highlighted in boldface)
 * ISO 639-3: three-letter codes, the same as 639-2/T for languages, but with distinct codes for each variety of an ISO 639 macrolanguage

ISO 3166-1 alpha-2
These data were copied from "ISO 3166-1 alpha-2". The following is a color-coded decoding table of all ISO 3166-1 alpha-2 codes (click on a cell to see the definition of the code):

List of official languages
List of official languages
 * af: za
 * sq: ab, Kosovo, me
 * am: et
 * ar: dz, bh, td, km, dj, et, er, iq, il, jo, kw, lb, ly, mr, ma, om, ps, qa, za, so, sd, sy, tn, ae, eh, ye
 * hy: am
 * as: in
 * ay: bo, pe
 * az: az
 * be: be
 * bn: bn, in
 * bi: vu
 * bs: ba. me, rs
 * bg: bg
 * my: mm
 * ca: ad
 * zh: tw, cn, hk, mo, sg
 * hr: ba, hr, me
 * cs: cz
 * da: dk, fo, gl
 * prs: af
 * dv: mv
 * nl: be, nl, aw, an, sr
 * dz: bt
 * en: ag, au, bs, bb, bz, bw, ca, cm, dm, fj, hk, gm, gh, gd, gg, gy, in, ie, jm, je, ke, ki, ls, lr, mg, mw, mt, im, mh, mu, fm, na, nr, an, nz, ng, pk. ph, pq, pg, rw, kn, lc, vc, ws, sc, sl, sg, sb, za, sd, sz, to, tt, tv, ug, gb, us, vu, zm, zw
 * et: ee
 * fj: fj
 * fil: ph
 * fi: fi
 * fr: be, bj, bf, bi, cm, ca, cf. td, km, ci, cd. dj, dm, gq, fr (gf, pf, French Loyalty Islands, French Southern and Antarctic Lands, Scattered islands in the Indian Ocean, gp, mq, yt, nc, re, bl, mf, pm, wf, Clipperton Island) ga, gg, gn, ht, je, lu, mg, ml, mc, ne, cg, rw, sn, sc, lc, ch, tg, vu
 * fy: nl
 * tut: md
 * ka: ge
 * de: at, be, de, li, lu, na, ch
 * el: gr, cy
 * gn: py
 * gu: in
 * ht: ht
 * he: il
 * hi: in, fj
 * ho: pg
 * hu: hu
 * is: is
 * id: id
 * ga: ie
 * it: it, ch, sm, va
 * ja: jp
 * kn: in
 * ks: in
 * kz: kz
 * km: kh
 * ko: kp, kr
 * ku: iq
 * ky: kg
 * lo: la
 * lv: lv
 * lt: lt
 * lb: lu
 * mk: mk
 * mg: mg
 * ms: my, bn, sg
 * ml: in
 * mt: mt
 * gv: im
 * mi: nz
 * mr: in
 * myn: mx
 * mo (deprecated): md
 * mn: mn
 * sla: me
 * nah: mx
 * Ndebele language (nd and nr): za,  zw
 * ne: np, in
 * sgn-NZ: nz
 * nso: za
 * no: no
 * or: in
 * pap: aw, an
 * ps: af, pk
 * fa: ir, af, tj
 * pl: pl
 * pt: ao, br, cv, tl, gw, mz, pt, st
 * pa: in, pk
 * qu: bo, pe
 * ro: ro, md
 * rm: ch
 * ru: ru, be, kz, kg, md
 * sa: in
 * sr: ba, rs, me, Kosovo
 * sn: zw
 * sd: in, pk
 * si: lk
 * sk: sk
 * sl: si
 * so: so
 * st: ls, za
 * es: ar, bo, cl, co, cr, cu, do, ec, sv, gq, gt, hn, mx, ni, pa, py, pe, pr, es, uy, ve
 * sw: ke, tz, ug
 * ss: sz, za
 * sv: se, fi
 * tg: tj
 * ta: in, sg, lk
 * te: in
 * tet: tl
 * th: th
 * tpi: pg
 * ts: za
 * tn: bw, za
 * tr: tr, cy
 * tk: tm
 * uk: ua, md
 * ur: in, pk, fj
 * uz: uz
 * ve: za
 * vi: vn
 * cy: gb (Wales)
 * xh: za
 * zu: za

List of official languages by state
List of official languages by state

Analysis of codes
There are thirty-four (34) instances where a language has a two-letter language code identical to the two-letter country code of the original native country associated with that language.

Here they are in alphabetical order.
 * az bg de es fi fj fo fr hr ht hu id is it lt lv mg mh mk mn mt nl no pl pt ro ru rw sk so th to tr uz

Here they are grouped by language families.
 * fo is no nl de --- pt es fr it ro --- pl sk hr mk bg ru --- lv lt
 * fi hu --- tr az uz mn
 * th --- mg id mh fj to
 * mt so
 * rw
 * ht

Here are some instances where a language has a two-letter language code different from the two-letter country code of the original native country associated with that language. For each instance, the language code appears before the country code.


 * be:by bn:bd cs:cz da:dk el:ge et:ee fa:ir fil:ph hy:am ja:jp ka:ge kk:kz km:kh ky:kg lb:lu lo:la ms:my my:mm ne:np sr:rs ss:sz st:ls sv:se tg:tj tk:tm uk:ua vi:vn


 * af:za am:et bi:vu ch:gu cy:gb (Wales) dv:mv dz:bt ga:ie gd:gb (Scotland) gn:py (gv:im) he:il kl:gl mi:nz na:nr ny:mw rm:ch rn:bi si:lk sl:si tl:ph

Here are some instances where a two-letter code means a language and a country not especially associated with that language.
 * ae af am an ar as ba be bh bi bm bn bo br bs ca ch co cr cu cv cy dz ee et ga gd gl gn gu ie io kg ki im in kg ki kr kw ky la lb li lu ml mm mr ms my na ne ng nr om pa ps sa sd se sg sh si sl sm sn sr st sv tg tk tl tn tt tw ug ve vi za