List of possible player locales?

Hello devfourm! I’m currently attempting to create a per-language game-wide chat based on messaging service. The only issue is that I cannot find a list of supported language/locale ids that are supported!
I’ve searched google and the developer wiki, but the closest thing i’ve seen is this, which seems to be related to the website. Any help with this would be greatly appreciated!

3 Likes

As far as I know, there is no official Lua API to fetch this. You would need to do this manually or use an API proxy to fetch the list of supported languages.

3 Likes

Found a solution at this page.
made a quick script to iterate through the data, and made a table of local ids.
noticed it used underscores and not dashes, and it’s missing regional variants like “en-uk” (which may not exist, but I believe it does, since UK english is different than US english in some ways, like how color/colour is spelled.)

Unofficial locales list

en_us
es_es
fr_fr
id_id
it_it
ja_jp
ko_kr
ru_ru
th_th
tr_tr
vi_vn
pt_br
de_de
zh_cn
zh_tw
bg_bg
bn_bd
cs_cz
da_dk
el_gr
et_ee
fi_fi
hi_in
hr_hr
hu_hu
ka_ge
kk_kz
km_kh
lt_lt
lv_lv
ms_my
my_mm
nb_no
nl_nl
fil_ph
pl_pl
ro_ro
uk_ua
si_lk
sk_sk
sl_sl
sq_al
bs_ba
sr_rs
sv_se

2 Likes

These types of locales are not officially supported within Roblox.