This repository has been archived by the owner on Nov 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathTeams2Langs.py
103 lines (101 loc) · 2.51 KB
/
Teams2Langs.py
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Translation Web Server
# Copyright © 2012 Luca Wehrstedt <[email protected]>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
teams_to_langs = {
"ALB": ['sq'],
"ARG": ['es'],
"ARM": ['hy'],
"AUS": ['en'],
"AUT": ['de'],
"AZE": ['az'],
"BAN": ['bn'],
"BEL": ['de', 'fr', 'nl'],
"BIH": ['bs', 'hr', 'sr'],
"BLR": ['be', 'ru'],
"BOL": ['es'],
"BRA": ['pt'],
"BUL": ['bg'],
"CAN": ['en', 'fr'],
"CHI": ['es'],
"CHN": ['zh'],
"COL": ['es'],
"CRO": ['hr'],
"CUB": ['es'],
"CYP": ['el', 'tr'],
"CZE": ['cs'],
"DEN": ['da'],
"EGY": ['ar'],
"ESP": ['es'],
"EST": ['et'],
"FIN": ['fi', 'sv'],
"FRA": ['fr'],
"GBR": ['en'],
"GEO": ['ka'],
"GER": ['de'],
"GRE": ['el'],
"HKG": ['en', 'zh'],
"HSC": ['en'],
"HUN": ['hu'],
"INA": ['id'],
"IND": ['en', 'hi'],
"IRI": ['fa'],
"IRL": ['en', 'ga'],
"ISR": ['ar', 'he'],
"ITA": ['it'],
"JPN": ['ja'],
"KAZ": ['kk', 'ru'],
"KGZ": ['ky', 'ru'],
"KOR": ['ko'],
"KUW": ['ar'],
"LAT": ['lv'],
"LBA": ['ar'],
"LTU": ['lt'],
"LUX": ['de', 'fr', 'lb'],
"MAC": ['pt', 'zh'],
"MAS": ['ms'],
"MDA": ['mo'],
"MEX": ['es'],
"MGL": ['mn'],
"MKD": ['mk'],
"MNE": [],
"NED": ['nl'],
"NGR": ['en'],
"NOR": ['nb', 'nn'],
"NZL": ['en', 'mi'],
"POL": ['pl'],
"POR": ['pt'],
"ROU": ['ro'],
"RSA": ['af', 'en', 'nr', 'st', 'ss', 'ts', 'tn', 've', 'xh', 'zu'],
"RUS": ['ru'],
"SIN": ['en', 'ms', 'ta', 'zh'],
"SLO": ['sl'],
"SRB": ['sr'],
"SUI": ['de', 'fr', 'it', 'rm'],
"SVK": ['sk'],
"SWE": ['sv'],
"SYR": ['ar'],
"THA": ['th'],
"TJK": ['tg'],
"TKM": ['tk'],
"TRI": ['en'],
"TUR": ['tr'],
"TWN": ['zh'],
"UKR": ['uk'],
"USA": ['en'],
"VEN": ['es'],
"VIE": ['vi'],
}