File size: 921 Bytes
8fc387f
cdafa0f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
658b2d4
468fa7e
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
codes_as_string = '''
Afrikaans	afr_Latn
Akan	aka_Latn
Amharic	amh_Ethi
Bambara	bam_Latn
Bemba	bem_Latn
English	eng_Latn
Ewe	ewe_Latn
Fijian	fij_Latn
Finnish	fin_Latn
Fon	fon_Latn
French	fra_Latn
Nigerian Fulfulde	fuv_Latn
Haitian Creole	hat_Latn
Hausa	hau_Latn
Igbo	ibo_Latn
Kikuyu	kik_Latn
Kinyarwanda	kin_Latn
Kimbundu	kmb_Latn
Kikongo	kon_Latn
Lingala	lin_Latn
Luba-Kasai	lua_Latn
Ganda	lug_Latn
Luo	luo_Latn
Mossi	mos_Latn
Maori	mri_Latn
Portuguese	por_Latn
Russian	rus_Cyrl
Sango	sag_Latn
Sinhala	sin_Sinh
Shona	sna_Latn
Somali	som_Latn
Swahili	swh_Latn
Tigrinya	tir_Ethi
Tswana	tsn_Latn
Tsonga	tso_Latn
Tumbuka	tum_Latn
Twi	twi_Latn
Central Atlas Tamazight	tzm_Tfng
Umbundu	umb_Latn
Wolof	wol_Latn
Xhosa	xho_Latn
Yoruba	yor_Latn
Zulu	zul_Latn'''

codes_as_string = codes_as_string.split('\n')

flores_codes = {}
for code in codes_as_string:
    lang, lang_code = code.split('\t')
    flores_codes[lang] = lang_code