Spaces:
Runtime error
Runtime error
jilijeanlouis
commited on
Commit
•
7c4ea99
1
Parent(s):
0cce4e4
Create languages.py
Browse files- languages.py +101 -0
languages.py
ADDED
@@ -0,0 +1,101 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
LANGUAGES = {
|
2 |
+
"english": "en",
|
3 |
+
"chinese": "zh",
|
4 |
+
"german": "de",
|
5 |
+
"spanish": "es",
|
6 |
+
"russian": "ru",
|
7 |
+
"korean": "ko",
|
8 |
+
"french": "fr",
|
9 |
+
"japanese": "ja",
|
10 |
+
"portuguese": "pt",
|
11 |
+
"turkish": "tr",
|
12 |
+
"polish": "pl",
|
13 |
+
"catalan": "ca",
|
14 |
+
"dutch": "nl",
|
15 |
+
"arabic": "ar",
|
16 |
+
"swedish": "sv",
|
17 |
+
"italian": "it",
|
18 |
+
"indonesian": "id",
|
19 |
+
"hindi": "hi",
|
20 |
+
"finnish": "fi",
|
21 |
+
"vietnamese": "vi",
|
22 |
+
"hebrew": "he",
|
23 |
+
"ukrainian": "uk",
|
24 |
+
"greek": "el",
|
25 |
+
"malay": "ms",
|
26 |
+
"czech": "cs",
|
27 |
+
"romanian": "ro",
|
28 |
+
"danish": "da",
|
29 |
+
"hungarian": "hu",
|
30 |
+
"tamil": "ta",
|
31 |
+
"norwegian": "no",
|
32 |
+
"thai": "th",
|
33 |
+
"urdu": "ur",
|
34 |
+
"croatian": "hr",
|
35 |
+
"bulgarian": "bg",
|
36 |
+
"lithuanian": "lt",
|
37 |
+
"latin": "la",
|
38 |
+
"maori": "mi",
|
39 |
+
"malayalam": "ml",
|
40 |
+
"welsh": "cy",
|
41 |
+
"slovak": "sk",
|
42 |
+
"telugu": "te",
|
43 |
+
"persian": "fa",
|
44 |
+
"latvian": "lv",
|
45 |
+
"bengali": "bn",
|
46 |
+
"serbian": "sr",
|
47 |
+
"azerbaijani": "az",
|
48 |
+
"slovenian": "sl",
|
49 |
+
"kannada": "kn",
|
50 |
+
"estonian": "et",
|
51 |
+
"macedonian": "mk",
|
52 |
+
"breton": "br",
|
53 |
+
"basque": "eu",
|
54 |
+
"icelandic": "is",
|
55 |
+
"armenian": "hy",
|
56 |
+
"nepali": "ne",
|
57 |
+
"mongolian": "mn",
|
58 |
+
"bosnian": "bs",
|
59 |
+
"kazakh": "kk",
|
60 |
+
"albanian": "sq",
|
61 |
+
"swahili": "sw",
|
62 |
+
"galician": "gl",
|
63 |
+
"marathi": "mr",
|
64 |
+
"punjabi": "pa",
|
65 |
+
"sinhala": "si",
|
66 |
+
"khmer": "km",
|
67 |
+
"shona": "sn",
|
68 |
+
"yoruba": "yo",
|
69 |
+
"somali": "so",
|
70 |
+
"afrikaans": "af",
|
71 |
+
"occitan": "oc",
|
72 |
+
"georgian": "ka",
|
73 |
+
"belarusian": "be",
|
74 |
+
"tajik": "tg",
|
75 |
+
"sindhi": "sd",
|
76 |
+
"gujarati": "gu",
|
77 |
+
"amharic": "am",
|
78 |
+
"yiddish": "yi",
|
79 |
+
"lao": "lo",
|
80 |
+
"uzbek": "uz",
|
81 |
+
"faroese": "fo",
|
82 |
+
"haitian creole": "ht",
|
83 |
+
"pashto": "ps",
|
84 |
+
"turkmen": "tk",
|
85 |
+
"nynorsk": "nn",
|
86 |
+
"maltese": "mt",
|
87 |
+
"sanskrit": "sa",
|
88 |
+
"luxembourgish": "lb",
|
89 |
+
"myanmar": "my",
|
90 |
+
"tibetan": "bo",
|
91 |
+
"tagalog": "tl",
|
92 |
+
"malagasy": "mg",
|
93 |
+
"assamese": "as",
|
94 |
+
"tatar": "tt",
|
95 |
+
"hawaiian": "haw",
|
96 |
+
"lingala": "ln",
|
97 |
+
"hausa": "ha",
|
98 |
+
"bashkir": "ba",
|
99 |
+
"javanese": "jw",
|
100 |
+
"sundanese": "su"
|
101 |
+
}
|