Background material for locale research

The available Facebook localesLocale Locale = language version, often a combination of a language code and a region code, for instance es_MX denotes Spanish as it’s used in Mexico. A list of all locales supported by WordPress in https://make.wordpress.org/polyglots/teams/ can be found using the following procedure:

  • Log in to Facebook using Firefox or Chrome
  • Go to the page where you can select “Facebook language” ( https://www.facebook.com/settings?tab=language§ion=account )
  • Right click on the language selection element and choose “inspect element” or similar command to open the developer tools
  • Find (expand if needed) the part in the htmlHTML HTML is an acronym for Hyper Text Markup Language. It is a markup language that is used in the development of web pages and websites. domain where the option list is defined. With the developer tool “edit as HTML” you can copy this list of localeLocale Locale = language version, often a combination of a language code and a region code, for instance es_MX denotes Spanish as it’s used in Mexico. A list of all locales supported by WordPress in https://make.wordpress.org/polyglots/teams/ names.

The list of supported locales in Facebook on Feb 21, 2020 is the following:
so_SO – Af-Soomaali
af_ZA – Afrikaans
az_AZ – Azərbaycan dili
id_ID – Bahasa Indonesia
ms_MY – Bahasa Melayu
jv_ID – Basa Jawa
cx_PH – Bisaya
bs_BA – Bosanski
br_FR – Brezhoneg
ca_ES – Català
co_FR – Corsu
cy_GB – Cymraeg
da_DK – Dansk
de_DE – Deutsch
et_EE – Eesti
en_GB – English (UK)
en_US – English (US)
en_UD – English (uʍop əpısdՈ)
es_LA – Español
es_ES – Español (España)
eo_EO – Esperanto
eu_ES – Euskara
tl_PH – Filipino
fr_CA – Français (Canada)
fr_FR – Français (France)
fy_NL – Frysk
ff_NG – Fula
fo_FO – Føroyskt
ga_IE – Gaeilge
gl_ES – Galego
gn_PY – Guarani
ha_NG – Hausa
hr_HR – Hrvatski
rw_RW – Ikinyarwanda
it_IT – Italiano
sw_KE – Kiswahili
ht_HT – Kreyòl Ayisyen
ku_TR – Kurdî (Kurmancî)
lv_LV – Latviešu
lt_LT – Lietuvių
hu_HU – Magyar
mg_MG – Malagasy
mt_MT – Malti
nl_NL – Nederlands
nl_BE – Nederlands (België)
nb_NO – Norsk (bokmål)
nn_NO – Norsk (nynorsk)
uz_UZ – O’zbek
pl_PL – Polski
pt_BR – Português (Brasil)
pt_PT – Português (Portugal)
ro_RO – Română
sc_IT – Sardu
sn_ZW – Shona
sq_AL – Shqip
sk_SK – Slovenčina
sl_SI – Slovenščina
fi_FI – Suomi
sv_SE – Svenska
vi_VN – Tiếng Việt
tr_TR – Türkçe
zz_TR – Zaza
is_IS – Íslenska
cs_CZ – Čeština
sz_PL – ślōnskŏ gŏdka
el_GR – Ελληνικά
be_BY – Беларуская
bg_BG – Български
mk_MK – Македонски
mn_MN – Монгол
ru_RU – Русский
sr_RS – Српски
tt_RU – Татарча
tg_TJ – Тоҷикӣ
uk_UA – Українська
ky_KG – кыргызча
kk_KZ – Қазақша
hy_AM – Հայերեն
he_IL – עברית
ur_PK – اردو
ar_AR – العربية
fa_IR – فارسی
ps_AF – پښتو
cb_IQ – کوردیی ناوەندی
sy_SY – ܣܘܪܝܝܐ
ne_NP – नेपाली
mr_IN – मराठी
hi_IN – हिन्दी
as_IN – অসমীয়া
bn_IN – বাংলা
pa_IN – ਪੰਜਾਬੀ
gu_IN – ગુજરાતી
or_IN – ଓଡ଼ିଆ
ta_IN – தமிழ்
te_IN – తెలుగు
kn_IN – ಕನ್ನಡ
ml_IN – മലയാളം
si_LK – සිංහල
th_TH – ภาษาไทย
lo_LA – ພາສາລາວ
my_MM – မြန်မာဘာသာ
ka_GE – ქართული
am_ET – አማርኛ
km_KH – ភាសាខ្មែរ
tz_MA – ⵜⴰⵎⴰⵣⵉⵖⵜ
zh_TW – 中文(台灣)
zh_CN – 中文(简体)
zh_HK – 中文(香港)
ja_JP – 日本語
ja_KS – 日本語(関西)
ko_KR – 한국어

—————-

The list of available Google locales can be extracted in similar way from https://myaccount.google.com/language

On Feb 21, 2020 this was the list of Google locales (due to lots of manual operations, one or two locales may be missing):
ach – Acoli (Acoli)
af – Afrikaans (Afrikaans)
ak – Akan(Akan)
ig – Asụsụ Igbo (Igbo)
ay – Aymara (Aymara)
az – azərbaycan (Azerbaijani)
ban – Balinese (Balinese)
bho – Bhojpuri (Bhojpuri)
ceb – Binisaya (Cebuano)
x-bork – Bork, bork, bork! (Bork, bork, bork!)
bs – bosanski (Bosnian)
br – brezhoneg (Breton)
ca – català (Catalan)
cs – Čeština (Czech)
sn – chiShona (Shona)
co – Corsican (Corsican)
cy – Cymraeg (Welsh)
da – Dansk (Danish)
de – Deutsch (German)
yo – Èdè Yorùbá (Yoruba)
et – eesti (Estonian)
en – English (English)
es – Español (Spanish)
eo – esperanto (Esperanto)
eu – euskara (Basque)
ee – Eʋegbe (Ewe)
x-elmer – ewmew fudd (ewmew fudd)
fil – Filipino (Filipino)
fo – føroyskt (Faroese)
fr – Français (French)
fy – Frysk (Western Frisian)
gaa – Ga (Ga)
ga – Gaeilge (Irish)
gd – Gàidhlig (Scottish Gaelic)
gl – galego (Galician)
gn – Guarani (Guarani)
ht – Haitian Creole (Haitian Creole)
ha – Hausa (Hausa)
hr – Hrvatski (Croatian)
haw – ʻŌlelo Hawaiʻi (Hawaiian)
bem – Ichibemba (Bemba)
rn – Ikirundi (Rundi)
id – Indonesia (Indonesian)
ia – interlingua (Interlingua)
xh – isiXhosa (Xhosa)
zu – isiZulu (Zulu)
is – íslenska (Icelandic)
it – Italiano (Italian)
jv – Jawa (Javanese)
rw – Kinyarwanda (Kinyarwanda)
sw – Kiswahili (Swahili)
tlh – Klingon (Klingon)
kg – Kongo (Kongo)
mfe – kreol morisien (Morisyen)
kri – Krio (Krio)
ku – kurdî (Kurdish)
la – Latin (Latin)
lv – latviešu (Latvian)
to – lea fakatonga (Tongan)
lt – lietuvių (Lithuanian)
ln – lingála (Lingala)
loz – Lozi (Lozi)
lua – Luba-Lulua (Luba-Lulua)
lg – Luganda (Ganda)
hu – magyar (Hungarian)
mg – Malagasy (Malagasy)
mt – Malti (Maltese)
mi – Māori (Maori)
ms – Melayu (Malay)
nl – Nederlands (Dutch)
pcm – Nigerian Pidgin (Nigerian Pidgin)
no – norsk (Norwegian)
nso – Northern Sotho (Northern Sotho)
ny – Nyanja (Nyanja)
nn – nynorsk (Norwegian Nynorsk)
uz – o‘zbek (Uzbek)
oc – Occitan (Occitan)
om – Oromoo (Oromo)
x-pirate – Pirate (Pirate)
pl – polski (Polish)
pt – Português (Portuguese)
ro – română (Romanian)
rm – rumantsch (Romansh)
qu – Runasimi (Quechua)
nyn – Runyankore (Nyankole)
sa – Sanskrit (Sanskrit)
crs – Seselwa Creole French (Seselwa Creole French)
sq – shqip (Albanian)
sk – Slovenčina (Slovak)
sl – slovenščina (Slovenian)
so – Soomaali (Somali)
st – Southern Sotho (Southern Sotho)
sr-Latn – srpski (latinica) (Serbian (Latin))
su – Sundanese (Sundanese)
fi – Suomi (Finnish)
sv – Svenska (Swedish)
vi – Tiếng Việt (Vietnamese)
tn – Tswana (Tswana)
tum – Tumbuka (Tumbuka)
tr – Türkçe (Turkish)
tk – türkmen dili (Turkmen)
wo – Wolof (Wolof)
el – Ελληνικά (Greek)
be – беларуская (Belarusian)
bg – български (Bulgarian)
ky – кыргызча (Kyrgyz)
kk – қазақ тілі (Kazakh)
mk – македонски (Macedonian)
mn – монгол (Mongolian)
ru – Русский (Russian)
sr – српски (Serbian)
tt – татар (Tatar)
tg – тоҷикӣ (Tajik)
uk – Українська (Ukrainian)
ka – ქართული (Georgian)
hy – հայերեն (Armenian)
yi – ‎ (Yiddish)
iw – ‎ (Hebrew)
ug – ‎ (Uyghur)
ur – ‎ (Urdu)
ar – ‎ (Arabic)
ps – ‎ (Pashto)
sd – ‎ (Sindhi)
fa – ‎ (Persian)
ckb – ‎ (Central Kurdish)
ti – (Tigrinya)
am – (Amharic)
ne – नेपाली (Nepali)
mr – मराठी (Marathi)
hi – हिन्दी (Hindi)
as – অসমীয়া (Assamese)
bn – বাংলা (Bangla)
pa – ਪੰਜਾਬੀ (Punjabi)
gu – ગુજરાતી (Gujarati)
or – ଓଡ଼ିଆ (Odia)
ta – தமிழ் (Tamil)
te – తెలుగు (Telugu)
kn – ಕನ್ನಡ (Kannada)
ml – മലയാളം (Malayalam)
si – සිංහල (Sinhala)
th – ไทย (Thai)
lo – ລາວ (Lao)
my – မြန်မာ (Burmese)
km – ខ្មែរ (Khmer)
chr – ᏣᎳᎩ (Cherokee)
ko – 한국어 (Korean)
ja – 日本語 (Japanese)
zh-CN – 简体中文 (Chinese (Simplified))
yue – 粵語 (Cantonese)
zh-TW – 繁體中文 (Chinese (Traditional))