Skip to content

Commit

Permalink
capitalized iso codes
Browse files Browse the repository at this point in the history
  • Loading branch information
pnewstein committed Jul 1, 2023
1 parent f2ee441 commit 80f5e38
Showing 1 changed file with 184 additions and 184 deletions.
368 changes: 184 additions & 184 deletions pythorhead/types/language.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,187 +3,187 @@
# from https://github.com/LemmyNet/lemmy/blob/c216153dfb3cb2d08b72fa466fe522b3c7accde7/migrations/2022-06-21-123144_language-tags/up.sql

class LanguageType(Enum):
Undetermined = 0
aa_iso = 1 # Afaraf
ab_iso = 2 # аҧсуа бызшәа
ae_iso = 3 # avesta
af_iso = 4 # Afrikaans
ak_iso = 5 # Akan
am_iso = 6 # አማርኛ
an_iso = 7 # aragonés
ar_iso = 8 # اَلْعَرَبِيَّةُ
as_iso = 9 # অসমীয়া
av_iso = 10 # авар мацӀ
ay_iso = 11 # aymar aru
az_iso = 12 # azərbaycan dili
ba_iso = 13 # башҡорт теле
be_iso = 14 # беларуская мова
bg_iso = 15 # български език
bi_iso = 16 # Bislama
bm_iso = 17 # bamanankan
bn_iso = 18 # বাংলা
bo_iso = 19 # བོད་ཡིག
br_iso = 20 # brezhoneg
bs_iso = 21 # bosanski jezik
ca_iso = 22 # Català
ce_iso = 23 # нохчийн мотт
ch_iso = 24 # Chamoru
co_iso = 25 # corsu
cr_iso = 26 # ᓀᐦᐃᔭᐍᐏᐣ
cs_iso = 27 # čeština
cu_iso = 28 # ѩзыкъ словѣньскъ
cv_iso = 29 # чӑваш чӗлхи
cy_iso = 30 # Cymraeg
da_iso = 31 # dansk
de_iso = 32 # Deutsch
dv_iso = 33 # ދިވެހި
dz_iso = 34 # རྫོང་ཁ
ee_iso = 35 # Eʋegbe
el_iso = 36 # Ελληνικά
en_iso = 37 # English
eo_iso = 38 # Esperanto
es_iso = 39 # Español
et_iso = 40 # eesti
eu_iso = 41 # euskara
fa_iso = 42 # فارسی
ff_iso = 43 # Fulfulde
fi_iso = 44 # suomi
fj_iso = 45 # vosa Vakaviti
fo_iso = 46 # føroyskt
fr_iso = 47 # Français
fy_iso = 48 # Frysk
ga_iso = 49 # Gaeilge
gd_iso = 50 # Gàidhlig
gl_iso = 51 # galego
gn_iso = 52 # Avañe\'ẽ
gu_iso = 53 # ગુજરાતી
gv_iso = 54 # Gaelg
ha_iso = 55 # هَوُسَ
he_iso = 56 # עברית
hi_iso = 57 # हिन्दी
ho_iso = 58 # Hiri Motu
hr_iso = 59 # Hrvatski
ht_iso = 60 # Kreyòl ayisyen
hu_iso = 61 # magyar
hy_iso = 62 # Հայերեն
hz_iso = 63 # Otjiherero
ia_iso = 64 # Interlingua
id_iso = 65 # Bahasa Indonesia
ie_iso = 66 # Interlingue
ig_iso = 67 # Asụsụ Igbo
ii_iso = 68 # ꆈꌠ꒿ Nuosuhxop
ik_iso = 69 # Iñupiaq
io_iso = 70 # Ido
is_iso = 71 # Íslenska
it_iso = 72 # Italiano
iu_iso = 73 # ᐃᓄᒃᑎᑐᑦ
ja_iso = 74 # 日本語
jv_iso = 75 # basa Jawa
ka_iso = 76 # ქართული
kg_iso = 77 # Kikongo
ki_iso = 78 # Gĩkũyũ
kj_iso = 79 # Kuanyama
kk_iso = 80 # қазақ тілі
kl_iso = 81 # kalaallisut
km_iso = 82 # ខេមរភាសា
kn_iso = 83 # ಕನ್ನಡ
ko_iso = 84 # 한국어
kr_iso = 85 # Kanuri
ks_iso = 86 # कश्मीरी
ku_iso = 87 # Kurdî
kv_iso = 88 # коми кыв
kw_iso = 89 # Kernewek
ky_iso = 90 # Кыргызча
la_iso = 91 # latine
lb_iso = 92 # Lëtzebuergesch
lg_iso = 93 # Luganda
li_iso = 94 # Limburgs
ln_iso = 95 # Lingála
lo_iso = 96 # ພາສາລາວ
lt_iso = 97 # lietuvių kalba
lu_iso = 98 # Kiluba
lv_iso = 99 # latviešu valoda
mg_iso = 100 # fiteny malagasy
mh_iso = 101 # Kajin M̧ajeļ
mi_iso = 102 # te reo Māori
mk_iso = 103 # македонски јазик
ml_iso = 104 # മലയാളം
mn_iso = 105 # Монгол хэл
mr_iso = 106 # मराठी
ms_iso = 107 # Bahasa Melayu
mt_iso = 108 # Malti
my_iso = 109 # ဗမာစာ
na_iso = 110 # Dorerin Naoero
nb_iso = 111 # Norsk bokmål
nd_iso = 112 # isiNdebele
ne_iso = 113 # नेपाली
ng_iso = 114 # Owambo
nl_iso = 115 # Nederlands
nn_iso = 116 # Norsk nynorsk
no_iso = 117 # Norsk
nr_iso = 118 # isiNdebele
nv_iso = 119 # Diné bizaad
ny_iso = 120 # chiCheŵa
oc_iso = 121 # occitan
oj_iso = 122 # ᐊᓂᔑᓈᐯᒧᐎᓐ
om_iso = 123 # Afaan Oromoo
or_iso = 124 # ଓଡ଼ିଆ
os_iso = 125 # ирон æвзаг
pa_iso = 126 # ਪੰਜਾਬੀ
pi_iso = 127 # पाऴि
pl_iso = 128 # Polski
ps_iso = 129 # پښتو
pt_iso = 130 # Português
qu_iso = 131 # Runa Simi
rm_iso = 132 # rumantsch grischun
rn_iso = 133 # Ikirundi
ro_iso = 134 # Română
ru_iso = 135 # Русский
rw_iso = 136 # Ikinyarwanda
sa_iso = 137 # संस्कृतम्
sc_iso = 138 # sardu
sd_iso = 139 # सिन्धी
se_iso = 140 # Davvisámegiella
sg_iso = 141 # yângâ tî sängö
si_iso = 142 # සිංහල
sk_iso = 143 # slovenčina
sl_iso = 144 # slovenščina
sm_iso = 145 # gagana fa\'a Samoa
sn_iso = 146 # chiShona
so_iso = 147 # Soomaaliga
sq_iso = 148 # Shqip
sr_iso = 149 # српски језик
ss_iso = 150 # SiSwati
st_iso = 151 # Sesotho
su_iso = 152 # Basa Sunda
sv_iso = 153 # Svenska
sw_iso = 154 # Kiswahili
ta_iso = 155 # தமிழ்
te_iso = 156 # తెలుగు
tg_iso = 157 # тоҷикӣ
th_iso = 158 # ไทย
ti_iso = 159 # ትግርኛ
tk_iso = 160 # Türkmençe
tl_iso = 161 # Wikang Tagalog
tn_iso = 162 # Setswana
to_iso = 163 # faka Tonga
tr_iso = 164 # Türkçe
ts_iso = 165 # Xitsonga
tt_iso = 166 # татар теле
tw_iso = 167 # Twi
ty_iso = 168 # Reo Tahiti
ug_iso = 169 # ئۇيغۇرچە‎
uk_iso = 170 # Українська
ur_iso = 171 # اردو
uz_iso = 172 # Ўзбек
ve_iso = 173 # Tshivenḓa
vi_iso = 174 # Tiếng Việt
vo_iso = 175 # Volapük
wa_iso = 176 # walon
wo_iso = 177 # Wollof
xh_iso = 178 # isiXhosa
yi_iso = 179 # ייִדיש
yo_iso = 180 # Yorùbá
za_iso = 181 # Saɯ cueŋƅ
zh_iso = 182 # 中文
zu_iso = 183 # isiZulu
UNDETERMINED = 0
AA = 1 # Afaraf
AB = 2 # аҧсуа бызшәа
AE = 3 # avesta
AF = 4 # Afrikaans
AK = 5 # Akan
AM = 6 # አማርኛ
AN = 7 # aragonés
AR = 8 # اَلْعَرَبِيَّةُ
AS = 9 # অসমীয়া
AV = 10 # авар мацӀ
AY = 11 # aymar aru
AZ = 12 # azərbaycan dili
BA = 13 # башҡорт теле
BE = 14 # беларуская мова
BG = 15 # български език
BI = 16 # Bislama
BM = 17 # bamanankan
BN = 18 # বাংলা
BO = 19 # བོད་ཡིག
BR = 20 # brezhoneg
BS = 21 # bosanski jezik
CA = 22 # Català
CE = 23 # нохчийн мотт
CH = 24 # Chamoru
CO = 25 # corsu
CR = 26 # ᓀᐦᐃᔭᐍᐏᐣ
CS = 27 # čeština
CU = 28 # ѩзыкъ словѣньскъ
CV = 29 # чӑваш чӗлхи
CY = 30 # Cymraeg
DA = 31 # dansk
DE = 32 # Deutsch
DV = 33 # ދިވެހި
DZ = 34 # རྫོང་ཁ
EE = 35 # Eʋegbe
EL = 36 # Ελληνικά
EN = 37 # English
EO = 38 # Esperanto
ES = 39 # Español
ET = 40 # eesti
EU = 41 # euskara
FA = 42 # فارسی
FF = 43 # Fulfulde
FI = 44 # suomi
FJ = 45 # vosa Vakaviti
FO = 46 # føroyskt
FR = 47 # Français
FY = 48 # Frysk
GA = 49 # Gaeilge
GD = 50 # Gàidhlig
GL = 51 # galego
GN = 52 # Avañe\'ẽ
GU = 53 # ગુજરાતી
GV = 54 # Gaelg
HA = 55 # هَوُسَ
HE = 56 # עברית
HI = 57 # हिन्दी
HO = 58 # Hiri Motu
HR = 59 # Hrvatski
HT = 60 # Kreyòl ayisyen
HU = 61 # magyar
HY = 62 # Հայերեն
HZ = 63 # Otjiherero
IA = 64 # Interlingua
ID = 65 # Bahasa Indonesia
IE = 66 # Interlingue
IG = 67 # Asụsụ Igbo
II = 68 # ꆈꌠ꒿ Nuosuhxop
IK = 69 # Iñupiaq
IO = 70 # Ido
IS = 71 # Íslenska
IT = 72 # Italiano
IU = 73 # ᐃᓄᒃᑎᑐᑦ
JA = 74 # 日本語
JV = 75 # basa Jawa
KA = 76 # ქართული
KG = 77 # Kikongo
KI = 78 # Gĩkũyũ
KJ = 79 # Kuanyama
KK = 80 # қазақ тілі
KL = 81 # kalaallisut
KM = 82 # ខេមរភាសា
KN = 83 # ಕನ್ನಡ
KO = 84 # 한국어
KR = 85 # Kanuri
KS = 86 # कश्मीरी
KU = 87 # Kurdî
KV = 88 # коми кыв
KW = 89 # Kernewek
KY = 90 # Кыргызча
LA = 91 # latine
LB = 92 # Lëtzebuergesch
LG = 93 # Luganda
LI = 94 # Limburgs
LN = 95 # Lingála
LO = 96 # ພາສາລາວ
LT = 97 # lietuvių kalba
LU = 98 # Kiluba
LV = 99 # latviešu valoda
MG = 100 # fiteny malagasy
MH = 101 # Kajin M̧ajeļ
MI = 102 # te reo Māori
MK = 103 # македонски јазик
ML = 104 # മലയാളം
MN = 105 # Монгол хэл
MR = 106 # मराठी
MS = 107 # Bahasa Melayu
MT = 108 # Malti
MY = 109 # ဗမာစာ
NA = 110 # Dorerin Naoero
NB = 111 # Norsk bokmål
ND = 112 # isiNdebele
NE = 113 # नेपाली
NG = 114 # Owambo
NL = 115 # Nederlands
NN = 116 # Norsk nynorsk
NO = 117 # Norsk
NR = 118 # isiNdebele
NV = 119 # Diné bizaad
NY = 120 # chiCheŵa
OC = 121 # occitan
OJ = 122 # ᐊᓂᔑᓈᐯᒧᐎᓐ
OM = 123 # Afaan Oromoo
OR = 124 # ଓଡ଼ିଆ
OS = 125 # ирон æвзаг
PA = 126 # ਪੰਜਾਬੀ
PI = 127 # पाऴि
PL = 128 # Polski
PS = 129 # پښتو
PT = 130 # Português
QU = 131 # Runa Simi
RM = 132 # rumantsch grischun
RN = 133 # Ikirundi
RO = 134 # Română
RU = 135 # Русский
RW = 136 # Ikinyarwanda
SA = 137 # संस्कृतम्
SC = 138 # sardu
SD = 139 # सिन्धी
SE = 140 # Davvisámegiella
SG = 141 # yângâ tî sängö
SI = 142 # සිංහල
SK = 143 # slovenčina
SL = 144 # slovenščina
SM = 145 # gagana fa\'a Samoa
SN = 146 # chiShona
SO = 147 # Soomaaliga
SQ = 148 # Shqip
SR = 149 # српски језик
SS = 150 # SiSwati
ST = 151 # Sesotho
SU = 152 # Basa Sunda
SV = 153 # Svenska
SW = 154 # Kiswahili
TA = 155 # தமிழ்
TE = 156 # తెలుగు
TG = 157 # тоҷикӣ
TH = 158 # ไทย
TI = 159 # ትግርኛ
TK = 160 # Türkmençe
TL = 161 # Wikang Tagalog
TN = 162 # Setswana
TO = 163 # faka Tonga
TR = 164 # Türkçe
TS = 165 # Xitsonga
TT = 166 # татар теле
TW = 167 # Twi
TY = 168 # Reo Tahiti
UG = 169 # ئۇيغۇرچە‎
UK = 170 # Українська
UR = 171 # اردو
UZ = 172 # Ўзбек
VE = 173 # Tshivenḓa
VI = 174 # Tiếng Việt
VO = 175 # Volapük
WA = 176 # walon
WO = 177 # Wollof
XH = 178 # isiXhosa
YI = 179 # ייִדיש
YO = 180 # Yorùbá
ZA = 181 # Saɯ cueŋƅ
ZH = 182 # 中文
ZU = 183 # isiZulu

0 comments on commit 80f5e38

Please sign in to comment.