googletrans languages

Solutions on MaxInterview for googletrans languages by the best coders in the world

showing results for - "googletrans languages"
Angeline
12 Nov 2016
1# here be dict object of google translate languages 'cause that's the easiest way to explain it to you and you know how to code (or are learning)
2googletrans_key_for_languages = {
3    'af': 'afrikaans',
4    'sq': 'albanian',
5    'am': 'amharic',
6    'ar': 'arabic',
7    'hy': 'armenian',
8    'az': 'azerbaijani',
9    'eu': 'basque',
10    'be': 'belarusian',
11    'bn': 'bengali',
12    'bs': 'bosnian',
13    'bg': 'bulgarian',
14    'ca': 'catalan',
15    'ceb': 'cebuano',
16    'ny': 'chichewa',
17    'zh-cn': 'chinese (simplified)',
18    'zh-tw': 'chinese (traditional)',
19    'co': 'corsican',
20    'hr': 'croatian',
21    'cs': 'czech',
22    'da': 'danish',
23    'nl': 'dutch',
24    'en': 'english',
25    'eo': 'esperanto',
26    'et': 'estonian',
27    'tl': 'filipino',
28    'fi': 'finnish',
29    'fr': 'french',
30    'fy': 'frisian',
31    'gl': 'galician',
32    'ka': 'georgian',
33    'de': 'german',
34    'el': 'greek',
35    'gu': 'gujarati',
36    'ht': 'haitian creole',
37    'ha': 'hausa',
38    'haw': 'hawaiian',
39    'iw': 'hebrew',
40    'he': 'hebrew',
41    'hi': 'hindi',
42    'hmn': 'hmong',
43    'hu': 'hungarian',
44    'is': 'icelandic',
45    'ig': 'igbo',
46    'id': 'indonesian',
47    'ga': 'irish',
48    'it': 'italian',
49    'ja': 'japanese',
50    'jw': 'javanese',
51    'kn': 'kannada',
52    'kk': 'kazakh',
53    'km': 'khmer',
54    'ko': 'korean',
55    'ku': 'kurdish (kurmanji)',
56    'ky': 'kyrgyz',
57    'lo': 'lao',
58    'la': 'latin',
59    'lv': 'latvian',
60    'lt': 'lithuanian',
61    'lb': 'luxembourgish',
62    'mk': 'macedonian',
63    'mg': 'malagasy',
64    'ms': 'malay',
65    'ml': 'malayalam',
66    'mt': 'maltese',
67    'mi': 'maori',
68    'mr': 'marathi',
69    'mn': 'mongolian',
70    'my': 'myanmar (burmese)',
71    'ne': 'nepali',
72    'no': 'norwegian',
73    'or': 'odia',
74    'ps': 'pashto',
75    'fa': 'persian',
76    'pl': 'polish',
77    'pt': 'portuguese',
78    'pa': 'punjabi',
79    'ro': 'romanian',
80    'ru': 'russian',
81    'sm': 'samoan',
82    'gd': 'scots gaelic',
83    'sr': 'serbian',
84    'st': 'sesotho',
85    'sn': 'shona',
86    'sd': 'sindhi',
87    'si': 'sinhala',
88    'sk': 'slovak',
89    'sl': 'slovenian',
90    'so': 'somali',
91    'es': 'spanish',
92    'su': 'sundanese',
93    'sw': 'swahili',
94    'sv': 'swedish',
95    'tg': 'tajik',
96    'ta': 'tamil',
97    'te': 'telugu',
98    'th': 'thai',
99    'tr': 'turkish',
100    'uk': 'ukrainian',
101    'ur': 'urdu',
102    'ug': 'uyghur',
103    'uz': 'uzbek',
104    'vi': 'vietnamese',
105    'cy': 'welsh',
106    'xh': 'xhosa',
107    'yi': 'yiddish',
108    'yo': 'yoruba',
109    'zu': 'zulu',
110}
similar questions
google translate