2011-04-27 10:05:43 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
#############################################################################
|
|
|
|
##
|
2013-01-02 11:13:29 +00:00
|
|
|
## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
|
2012-09-19 12:28:29 +00:00
|
|
|
## Contact: http://www.qt-project.org/legal
|
2011-04-27 10:05:43 +00:00
|
|
|
##
|
|
|
|
## This file is part of the test suite of the Qt Toolkit.
|
|
|
|
##
|
|
|
|
## $QT_BEGIN_LICENSE:LGPL$
|
2012-09-19 12:28:29 +00:00
|
|
|
## Commercial License Usage
|
|
|
|
## Licensees holding valid commercial Qt licenses may use this file in
|
|
|
|
## accordance with the commercial license agreement provided with the
|
|
|
|
## Software or, alternatively, in accordance with the terms contained in
|
|
|
|
## a written agreement between you and Digia. For licensing terms and
|
|
|
|
## conditions see http://qt.digia.com/licensing. For further information
|
|
|
|
## use the contact form at http://qt.digia.com/contact-us.
|
|
|
|
##
|
2011-04-27 10:05:43 +00:00
|
|
|
## GNU Lesser General Public License Usage
|
2012-09-19 12:28:29 +00:00
|
|
|
## Alternatively, this file may be used under the terms of the GNU Lesser
|
|
|
|
## General Public License version 2.1 as published by the Free Software
|
|
|
|
## Foundation and appearing in the file LICENSE.LGPL included in the
|
|
|
|
## packaging of this file. Please review the following information to
|
|
|
|
## ensure the GNU Lesser General Public License version 2.1 requirements
|
|
|
|
## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
|
|
|
##
|
|
|
|
## In addition, as a special exception, Digia gives you certain additional
|
|
|
|
## rights. These rights are described in the Digia Qt LGPL Exception
|
2011-04-27 10:05:43 +00:00
|
|
|
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
|
|
|
##
|
2011-05-24 09:34:08 +00:00
|
|
|
## GNU General Public License Usage
|
2012-09-19 12:28:29 +00:00
|
|
|
## Alternatively, this file may be used under the terms of the GNU
|
|
|
|
## General Public License version 3.0 as published by the Free Software
|
|
|
|
## Foundation and appearing in the file LICENSE.GPL included in the
|
|
|
|
## packaging of this file. Please review the following information to
|
|
|
|
## ensure the GNU General Public License version 3.0 requirements will be
|
|
|
|
## met: http://www.gnu.org/copyleft/gpl.html.
|
2011-04-27 10:05:43 +00:00
|
|
|
##
|
2012-01-24 06:17:24 +00:00
|
|
|
##
|
2011-04-27 10:05:43 +00:00
|
|
|
## $QT_END_LICENSE$
|
|
|
|
##
|
|
|
|
#############################################################################
|
|
|
|
|
2012-11-14 15:00:30 +00:00
|
|
|
# language_list and country_list reflect the current values of enums in qlocale.h
|
2011-04-27 10:05:43 +00:00
|
|
|
# If new xml language files are available in CLDR, these languages and countries
|
|
|
|
# need to be *appended* to this list.
|
|
|
|
|
|
|
|
language_list = {
|
|
|
|
0 : [ "AnyLanguage", " " ],
|
|
|
|
1 : [ "C", " " ],
|
|
|
|
2 : [ "Abkhazian", "ab" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
3 : [ "Oromo", "om" ], # macrolanguage
|
2011-04-27 10:05:43 +00:00
|
|
|
4 : [ "Afar", "aa" ],
|
|
|
|
5 : [ "Afrikaans", "af" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
6 : [ "Albanian", "sq" ], # macrolanguage
|
2011-04-27 10:05:43 +00:00
|
|
|
7 : [ "Amharic", "am" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
8 : [ "Arabic", "ar" ], # macrolanguage
|
2011-04-27 10:05:43 +00:00
|
|
|
9 : [ "Armenian", "hy" ],
|
|
|
|
10 : [ "Assamese", "as" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
11 : [ "Aymara", "ay" ], # macrolanguage
|
|
|
|
12 : [ "Azerbaijani", "az" ], # macrolanguage
|
2011-04-27 10:05:43 +00:00
|
|
|
13 : [ "Bashkir", "ba" ],
|
|
|
|
14 : [ "Basque", "eu" ],
|
|
|
|
15 : [ "Bengali", "bn" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
16 : [ "Dzongkha", "dz" ],
|
2011-04-27 10:05:43 +00:00
|
|
|
17 : [ "Bihari", "bh" ],
|
|
|
|
18 : [ "Bislama", "bi" ],
|
|
|
|
19 : [ "Breton", "br" ],
|
|
|
|
20 : [ "Bulgarian", "bg" ],
|
|
|
|
21 : [ "Burmese", "my" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
22 : [ "Belarusian", "be" ],
|
|
|
|
23 : [ "Khmer", "km" ],
|
2011-04-27 10:05:43 +00:00
|
|
|
24 : [ "Catalan", "ca" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
25 : [ "Chinese", "zh" ], # macrolanguage
|
2011-04-27 10:05:43 +00:00
|
|
|
26 : [ "Corsican", "co" ],
|
|
|
|
27 : [ "Croatian", "hr" ],
|
|
|
|
28 : [ "Czech", "cs" ],
|
|
|
|
29 : [ "Danish", "da" ],
|
|
|
|
30 : [ "Dutch", "nl" ],
|
|
|
|
31 : [ "English", "en" ],
|
|
|
|
32 : [ "Esperanto", "eo" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
33 : [ "Estonian", "et" ], # macrolanguage
|
2011-04-27 10:05:43 +00:00
|
|
|
34 : [ "Faroese", "fo" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
35 : [ "Fijian", "fj" ],
|
2011-04-27 10:05:43 +00:00
|
|
|
36 : [ "Finnish", "fi" ],
|
|
|
|
37 : [ "French", "fr" ],
|
2012-11-23 10:18:11 +00:00
|
|
|
38 : [ "Western Frisian", "fy" ],
|
2011-04-27 10:05:43 +00:00
|
|
|
39 : [ "Gaelic", "gd" ],
|
|
|
|
40 : [ "Galician", "gl" ],
|
|
|
|
41 : [ "Georgian", "ka" ],
|
|
|
|
42 : [ "German", "de" ],
|
|
|
|
43 : [ "Greek", "el" ],
|
|
|
|
44 : [ "Greenlandic", "kl" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
45 : [ "Guarani", "gn" ], # macrolanguage
|
2011-04-27 10:05:43 +00:00
|
|
|
46 : [ "Gujarati", "gu" ],
|
|
|
|
47 : [ "Hausa", "ha" ],
|
|
|
|
48 : [ "Hebrew", "he" ],
|
|
|
|
49 : [ "Hindi", "hi" ],
|
|
|
|
50 : [ "Hungarian", "hu" ],
|
|
|
|
51 : [ "Icelandic", "is" ],
|
|
|
|
52 : [ "Indonesian", "id" ],
|
|
|
|
53 : [ "Interlingua", "ia" ],
|
|
|
|
54 : [ "Interlingue", "ie" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
55 : [ "Inuktitut", "iu" ], # macrolanguage
|
|
|
|
56 : [ "Inupiak", "ik" ], # macrolanguage
|
2011-04-27 10:05:43 +00:00
|
|
|
57 : [ "Irish", "ga" ],
|
|
|
|
58 : [ "Italian", "it" ],
|
|
|
|
59 : [ "Japanese", "ja" ],
|
|
|
|
60 : [ "Javanese", "jv" ],
|
|
|
|
61 : [ "Kannada", "kn" ],
|
|
|
|
62 : [ "Kashmiri", "ks" ],
|
|
|
|
63 : [ "Kazakh", "kk" ],
|
|
|
|
64 : [ "Kinyarwanda", "rw" ],
|
|
|
|
65 : [ "Kirghiz", "ky" ],
|
|
|
|
66 : [ "Korean", "ko" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
67 : [ "Kurdish", "ku" ], # macrolanguage
|
|
|
|
68 : [ "Rundi", "rn" ],
|
|
|
|
69 : [ "Lao", "lo" ],
|
2011-04-27 10:05:43 +00:00
|
|
|
70 : [ "Latin", "la" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
71 : [ "Latvian", "lv" ], # macrolanguage
|
2011-04-27 10:05:43 +00:00
|
|
|
72 : [ "Lingala", "ln" ],
|
|
|
|
73 : [ "Lithuanian", "lt" ],
|
|
|
|
74 : [ "Macedonian", "mk" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
75 : [ "Malagasy", "mg" ], # macrolanguage
|
|
|
|
76 : [ "Malay", "ms" ], # macrolanguage
|
2011-04-27 10:05:43 +00:00
|
|
|
77 : [ "Malayalam", "ml" ],
|
|
|
|
78 : [ "Maltese", "mt" ],
|
|
|
|
79 : [ "Maori", "mi" ],
|
|
|
|
80 : [ "Marathi", "mr" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
81 : [ "Marshallese", "mh" ],
|
|
|
|
82 : [ "Mongolian", "mn" ], # macrolanguage
|
|
|
|
83 : [ "Nauru", "na" ],
|
|
|
|
84 : [ "Nepali", "ne" ], # macrolanguage
|
|
|
|
85 : [ "NorwegianBokmal", "nb" ],
|
2011-04-27 10:05:43 +00:00
|
|
|
86 : [ "Occitan", "oc" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
87 : [ "Oriya", "or" ], # macrolanguage
|
|
|
|
88 : [ "Pashto", "ps" ], # macrolanguage
|
|
|
|
89 : [ "Persian", "fa" ], # macrolanguage
|
2011-04-27 10:05:43 +00:00
|
|
|
90 : [ "Polish", "pl" ],
|
|
|
|
91 : [ "Portuguese", "pt" ],
|
|
|
|
92 : [ "Punjabi", "pa" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
93 : [ "Quechua", "qu" ], # macrolanguage
|
|
|
|
94 : [ "Romansh", "rm" ],
|
2011-04-27 10:05:43 +00:00
|
|
|
95 : [ "Romanian", "ro" ],
|
|
|
|
96 : [ "Russian", "ru" ],
|
|
|
|
97 : [ "Samoan", "sm" ],
|
2012-11-23 10:18:11 +00:00
|
|
|
98 : [ "Sango", "sg" ],
|
2011-04-27 10:05:43 +00:00
|
|
|
99 : [ "Sanskrit", "sa" ],
|
|
|
|
100 : [ "Serbian", "sr" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
101 : [ "Ossetic", "os" ],
|
2012-11-23 10:18:11 +00:00
|
|
|
102 : [ "Southern Sotho", "st" ],
|
|
|
|
103 : [ "Tswana", "tn" ],
|
2011-04-27 10:05:43 +00:00
|
|
|
104 : [ "Shona", "sn" ],
|
|
|
|
105 : [ "Sindhi", "sd" ],
|
2012-11-23 10:18:11 +00:00
|
|
|
106 : [ "Sinhala", "si" ],
|
|
|
|
107 : [ "Swati", "ss" ],
|
2011-04-27 10:05:43 +00:00
|
|
|
108 : [ "Slovak", "sk" ],
|
|
|
|
109 : [ "Slovenian", "sl" ],
|
|
|
|
110 : [ "Somali", "so" ],
|
|
|
|
111 : [ "Spanish", "es" ],
|
|
|
|
112 : [ "Sundanese", "su" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
113 : [ "Swahili", "sw" ], # macrolanguage
|
2011-04-27 10:05:43 +00:00
|
|
|
114 : [ "Swedish", "sv" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
115 : [ "Sardinian", "sc" ], # macrolanguage
|
2011-04-27 10:05:43 +00:00
|
|
|
116 : [ "Tajik", "tg" ],
|
|
|
|
117 : [ "Tamil", "ta" ],
|
|
|
|
118 : [ "Tatar", "tt" ],
|
|
|
|
119 : [ "Telugu", "te" ],
|
|
|
|
120 : [ "Thai", "th" ],
|
|
|
|
121 : [ "Tibetan", "bo" ],
|
|
|
|
122 : [ "Tigrinya", "ti" ],
|
2012-11-23 10:18:11 +00:00
|
|
|
123 : [ "Tongan", "to" ],
|
2011-04-27 10:05:43 +00:00
|
|
|
124 : [ "Tsonga", "ts" ],
|
|
|
|
125 : [ "Turkish", "tr" ],
|
|
|
|
126 : [ "Turkmen", "tk" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
127 : [ "Tahitian", "ty" ],
|
2013-03-04 23:12:23 +00:00
|
|
|
128 : [ "Uighur", "ug" ],
|
2011-04-27 10:05:43 +00:00
|
|
|
129 : [ "Ukrainian", "uk" ],
|
|
|
|
130 : [ "Urdu", "ur" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
131 : [ "Uzbek", "uz" ], # macrolanguage
|
2011-04-27 10:05:43 +00:00
|
|
|
132 : [ "Vietnamese", "vi" ],
|
|
|
|
133 : [ "Volapuk", "vo" ],
|
|
|
|
134 : [ "Welsh", "cy" ],
|
|
|
|
135 : [ "Wolof", "wo" ],
|
|
|
|
136 : [ "Xhosa", "xh" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
137 : [ "Yiddish", "yi" ], # macrolanguage
|
2011-04-27 10:05:43 +00:00
|
|
|
138 : [ "Yoruba", "yo" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
139 : [ "Zhuang", "za" ], # macrolanguage
|
2011-04-27 10:05:43 +00:00
|
|
|
140 : [ "Zulu", "zu" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
141 : [ "NorwegianNynorsk", "nn" ],
|
2011-04-27 10:05:43 +00:00
|
|
|
142 : [ "Bosnian", "bs" ],
|
2011-11-04 09:57:36 +00:00
|
|
|
143 : [ "Divehi", "dv" ],
|
2011-04-27 10:05:43 +00:00
|
|
|
144 : [ "Manx", "gv" ],
|
|
|
|
145 : [ "Cornish", "kw" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
146 : [ "Akan", "ak" ], # macrolanguage
|
2011-04-27 10:05:43 +00:00
|
|
|
147 : [ "Konkani", "kok" ],
|
|
|
|
148 : [ "Ga", "gaa" ],
|
|
|
|
149 : [ "Igbo", "ig" ],
|
|
|
|
150 : [ "Kamba", "kam" ],
|
|
|
|
151 : [ "Syriac", "syr" ],
|
|
|
|
152 : [ "Blin", "byn" ],
|
|
|
|
153 : [ "Geez", "gez" ],
|
|
|
|
154 : [ "Koro", "kfo" ],
|
|
|
|
155 : [ "Sidamo", "sid" ],
|
|
|
|
156 : [ "Atsam", "cch" ],
|
|
|
|
157 : [ "Tigre", "tig" ],
|
|
|
|
158 : [ "Jju", "kaj" ],
|
|
|
|
159 : [ "Friulian", "fur" ],
|
|
|
|
160 : [ "Venda", "ve" ],
|
|
|
|
161 : [ "Ewe", "ee" ],
|
|
|
|
162 : [ "Walamo", "wal" ],
|
|
|
|
163 : [ "Hawaiian", "haw" ],
|
|
|
|
164 : [ "Tyap", "kcg" ],
|
2012-11-23 10:18:11 +00:00
|
|
|
165 : [ "Nyanja", "ny" ],
|
2011-04-27 10:05:43 +00:00
|
|
|
166 : [ "Filipino", "fil" ],
|
|
|
|
167 : [ "Swiss German", "gsw" ],
|
|
|
|
168 : [ "Sichuan Yi", "ii" ],
|
|
|
|
169 : [ "Kpelle", "kpe" ],
|
|
|
|
170 : [ "Low German", "nds" ],
|
|
|
|
171 : [ "South Ndebele", "nr" ],
|
|
|
|
172 : [ "Northern Sotho", "nso" ],
|
|
|
|
173 : [ "Northern Sami", "se" ],
|
|
|
|
174 : [ "Taroko", "trv" ],
|
|
|
|
175 : [ "Gusii", "guz" ],
|
|
|
|
176 : [ "Taita", "dav" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
177 : [ "Fulah", "ff" ], # macrolanguage
|
2011-04-27 10:05:43 +00:00
|
|
|
178 : [ "Kikuyu", "ki" ],
|
|
|
|
179 : [ "Samburu", "saq" ],
|
|
|
|
180 : [ "Sena", "seh" ],
|
|
|
|
181 : [ "North Ndebele", "nd" ],
|
|
|
|
182 : [ "Rombo", "rof" ],
|
|
|
|
183 : [ "Tachelhit", "shi" ],
|
|
|
|
184 : [ "Kabyle", "kab" ],
|
|
|
|
185 : [ "Nyankole", "nyn" ],
|
|
|
|
186 : [ "Bena", "bez" ],
|
|
|
|
187 : [ "Vunjo", "vun" ],
|
|
|
|
188 : [ "Bambara", "bm" ],
|
|
|
|
189 : [ "Embu", "ebu" ],
|
|
|
|
190 : [ "Cherokee", "chr" ],
|
|
|
|
191 : [ "Morisyen", "mfe" ],
|
|
|
|
192 : [ "Makonde", "kde" ],
|
|
|
|
193 : [ "Langi", "lag" ],
|
|
|
|
194 : [ "Ganda", "lg" ],
|
|
|
|
195 : [ "Bemba", "bem" ],
|
|
|
|
196 : [ "Kabuverdianu", "kea" ],
|
|
|
|
197 : [ "Meru", "mer" ],
|
|
|
|
198 : [ "Kalenjin", "kln" ],
|
|
|
|
199 : [ "Nama", "naq" ],
|
|
|
|
200 : [ "Machame", "jmc" ],
|
|
|
|
201 : [ "Colognian", "ksh" ],
|
|
|
|
202 : [ "Masai", "mas" ],
|
|
|
|
203 : [ "Soga", "xog" ],
|
|
|
|
204 : [ "Luyia", "luy" ],
|
|
|
|
205 : [ "Asu", "asa" ],
|
|
|
|
206 : [ "Teso", "teo" ],
|
|
|
|
207 : [ "Saho", "ssy" ],
|
|
|
|
208 : [ "Koyra Chiini", "khq" ],
|
|
|
|
209 : [ "Rwa", "rwk" ],
|
|
|
|
210 : [ "Luo", "luo" ],
|
|
|
|
211 : [ "Chiga", "cgg" ],
|
|
|
|
212 : [ "Central Morocco Tamazight", "tzm" ],
|
|
|
|
213 : [ "Koyraboro Senni", "ses" ],
|
2012-11-14 15:55:34 +00:00
|
|
|
214 : [ "Shambala", "ksb" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
215 : [ "Bodo", "brx" ],
|
|
|
|
216 : [ "Avaric", "av" ],
|
|
|
|
217 : [ "Chamorro", "ch" ],
|
|
|
|
218 : [ "Chechen", "ce" ],
|
|
|
|
219 : [ "Church", "cu" ], # macrolanguage
|
|
|
|
220 : [ "Chuvash", "cv" ],
|
|
|
|
221 : [ "Cree", "cr" ], # macrolanguage
|
|
|
|
222 : [ "Haitian", "ht" ],
|
|
|
|
223 : [ "Herero", "hz" ],
|
|
|
|
224 : [ "Hiri Motu", "ho" ],
|
|
|
|
225 : [ "Kanuri", "kr" ], # macrolanguage
|
|
|
|
226 : [ "Komi", "kv" ], # macrolanguage
|
|
|
|
227 : [ "Kongo", "kg" ], # macrolanguage
|
|
|
|
228 : [ "Kwanyama", "kj" ],
|
|
|
|
229 : [ "Limburgish", "li" ],
|
|
|
|
230 : [ "LubaKatanga", "lu" ],
|
|
|
|
231 : [ "Luxembourgish", "lb" ],
|
|
|
|
232 : [ "Navaho", "nv" ],
|
|
|
|
233 : [ "Ndonga", "ng" ],
|
|
|
|
234 : [ "Ojibwa", "oj" ], # macrolanguage
|
|
|
|
235 : [ "Pali", "pi" ], # macrolanguage
|
2012-11-21 03:56:21 +00:00
|
|
|
236 : [ "Walloon", "wa" ],
|
|
|
|
237 : [ "Aghem", "agq" ],
|
|
|
|
238 : [ "Basaa", "bas" ],
|
|
|
|
239 : [ "Zarma", "dje" ],
|
|
|
|
240 : [ "Duala", "dua" ],
|
|
|
|
241 : [ "JolaFonyi", "dyo" ],
|
|
|
|
242 : [ "Ewondo", "ewo" ],
|
|
|
|
243 : [ "Bafia", "ksf" ],
|
|
|
|
244 : [ "MakhuwaMeetto", "mgh" ],
|
|
|
|
245 : [ "Mundang", "mua" ],
|
|
|
|
246 : [ "Kwasio", "nmg" ],
|
|
|
|
247 : [ "Nuer", "nus" ],
|
|
|
|
248 : [ "Sakha", "sah" ],
|
|
|
|
249 : [ "Sangu", "sbp" ],
|
|
|
|
250 : [ "Congo Swahili", "swc" ],
|
|
|
|
251 : [ "Tasawaq", "twq" ],
|
|
|
|
252 : [ "Vai", "vai" ],
|
|
|
|
253 : [ "Walser", "wae" ],
|
2012-11-21 13:53:33 +00:00
|
|
|
254 : [ "Yangben", "yav" ],
|
|
|
|
255 : [ "Avestan", "ae" ],
|
|
|
|
256 : [ "Asturian", "ast" ],
|
|
|
|
257 : [ "Ngomba", "jgo" ],
|
|
|
|
258 : [ "Kako", "kkj" ],
|
|
|
|
259 : [ "Meta", "mgo" ],
|
2013-03-04 23:12:23 +00:00
|
|
|
260 : [ "Ngiemboon", "nnh" ],
|
|
|
|
261 : [ "Aragonese", "an" ],
|
|
|
|
262 : [ "Akkadian", "akk" ],
|
|
|
|
263 : [ "AncientEgyptian", "egy" ],
|
|
|
|
264 : [ "AncientGreek", "grc" ],
|
|
|
|
265 : [ "Aramaic", "arc" ],
|
|
|
|
266 : [ "Balinese", "ban" ],
|
|
|
|
267 : [ "Bamun", "bax" ],
|
|
|
|
268 : [ "BatakToba", "bbc" ],
|
|
|
|
269 : [ "Buginese", "bug" ],
|
|
|
|
270 : [ "Buhid", "bku" ],
|
|
|
|
271 : [ "Carian", "xcr" ],
|
|
|
|
272 : [ "Chakma", "ccp" ],
|
|
|
|
273 : [ "ClassicalMandaic", "myz" ],
|
|
|
|
274 : [ "Coptic", "cop" ],
|
|
|
|
275 : [ "Dogri", "doi" ], # macrolanguage
|
|
|
|
276 : [ "EasternCham", "cjm" ],
|
|
|
|
277 : [ "EasternKayah", "eky" ],
|
|
|
|
278 : [ "Etruscan", "ett" ],
|
|
|
|
279 : [ "Gothic", "got" ],
|
|
|
|
280 : [ "Hanunoo", "hnn" ],
|
|
|
|
281 : [ "Ingush", "inh" ],
|
|
|
|
282 : [ "LargeFloweryMiao", "hmd" ],
|
|
|
|
283 : [ "Lepcha", "lep" ],
|
|
|
|
284 : [ "Limbu", "lif" ],
|
|
|
|
285 : [ "Lisu", "lis" ],
|
|
|
|
286 : [ "Lu", "khb" ],
|
|
|
|
287 : [ "Lycian", "xlc" ],
|
|
|
|
288 : [ "Lydian", "xld" ],
|
|
|
|
289 : [ "Mandingo", "man" ], # macrolanguage
|
|
|
|
290 : [ "Manipuri", "mni" ],
|
|
|
|
291 : [ "Meroitic", "xmr" ],
|
|
|
|
292 : [ "NorthernThai", "nod" ],
|
|
|
|
293 : [ "OldIrish", "sga" ],
|
|
|
|
294 : [ "OldNorse", "non" ],
|
|
|
|
295 : [ "OldPersian", "peo" ],
|
|
|
|
296 : [ "OldTurkish", "otk" ],
|
|
|
|
297 : [ "Pahlavi", "pal" ],
|
|
|
|
298 : [ "Parthian", "xpr" ],
|
|
|
|
299 : [ "Phoenician", "phn" ],
|
|
|
|
300 : [ "PrakritLanguage", "pra" ],
|
|
|
|
301 : [ "Rejang", "rej" ],
|
|
|
|
302 : [ "Sabaean", "xsa" ],
|
|
|
|
303 : [ "Samaritan", "smp" ],
|
|
|
|
304 : [ "Santali", "sat" ],
|
|
|
|
305 : [ "Saurashtra", "saz" ],
|
|
|
|
306 : [ "Sora", "srb" ],
|
|
|
|
307 : [ "Sylheti", "syl" ],
|
|
|
|
308 : [ "Tagbanwa", "tbw" ],
|
|
|
|
309 : [ "TaiDam", "blt" ],
|
|
|
|
310 : [ "TaiNua", "tdd" ],
|
|
|
|
311 : [ "Ugaritic", "uga" ]
|
2011-04-27 10:05:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
country_list = {
|
2012-11-14 16:09:02 +00:00
|
|
|
0 : [ "AnyCountry", "ZZ" ],
|
2011-04-27 10:05:43 +00:00
|
|
|
1 : [ "Afghanistan", "AF" ],
|
|
|
|
2 : [ "Albania", "AL" ],
|
|
|
|
3 : [ "Algeria", "DZ" ],
|
|
|
|
4 : [ "AmericanSamoa", "AS" ],
|
|
|
|
5 : [ "Andorra", "AD" ],
|
|
|
|
6 : [ "Angola", "AO" ],
|
|
|
|
7 : [ "Anguilla", "AI" ],
|
|
|
|
8 : [ "Antarctica", "AQ" ],
|
|
|
|
9 : [ "AntiguaAndBarbuda", "AG" ],
|
|
|
|
10 : [ "Argentina", "AR" ],
|
|
|
|
11 : [ "Armenia", "AM" ],
|
|
|
|
12 : [ "Aruba", "AW" ],
|
|
|
|
13 : [ "Australia", "AU" ],
|
|
|
|
14 : [ "Austria", "AT" ],
|
|
|
|
15 : [ "Azerbaijan", "AZ" ],
|
|
|
|
16 : [ "Bahamas", "BS" ],
|
|
|
|
17 : [ "Bahrain", "BH" ],
|
|
|
|
18 : [ "Bangladesh", "BD" ],
|
|
|
|
19 : [ "Barbados", "BB" ],
|
|
|
|
20 : [ "Belarus", "BY" ],
|
|
|
|
21 : [ "Belgium", "BE" ],
|
|
|
|
22 : [ "Belize", "BZ" ],
|
|
|
|
23 : [ "Benin", "BJ" ],
|
|
|
|
24 : [ "Bermuda", "BM" ],
|
|
|
|
25 : [ "Bhutan", "BT" ],
|
|
|
|
26 : [ "Bolivia", "BO" ],
|
|
|
|
27 : [ "BosniaAndHerzegowina", "BA" ],
|
|
|
|
28 : [ "Botswana", "BW" ],
|
|
|
|
29 : [ "BouvetIsland", "BV" ],
|
|
|
|
30 : [ "Brazil", "BR" ],
|
|
|
|
31 : [ "BritishIndianOceanTerritory", "IO" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
32 : [ "Brunei", "BN" ],
|
2011-04-27 10:05:43 +00:00
|
|
|
33 : [ "Bulgaria", "BG" ],
|
|
|
|
34 : [ "BurkinaFaso", "BF" ],
|
|
|
|
35 : [ "Burundi", "BI" ],
|
|
|
|
36 : [ "Cambodia", "KH" ],
|
|
|
|
37 : [ "Cameroon", "CM" ],
|
|
|
|
38 : [ "Canada", "CA" ],
|
|
|
|
39 : [ "CapeVerde", "CV" ],
|
|
|
|
40 : [ "CaymanIslands", "KY" ],
|
|
|
|
41 : [ "CentralAfricanRepublic", "CF" ],
|
|
|
|
42 : [ "Chad", "TD" ],
|
|
|
|
43 : [ "Chile", "CL" ],
|
|
|
|
44 : [ "China", "CN" ],
|
|
|
|
45 : [ "ChristmasIsland", "CX" ],
|
|
|
|
46 : [ "CocosIslands", "CC" ],
|
|
|
|
47 : [ "Colombia", "CO" ],
|
|
|
|
48 : [ "Comoros", "KM" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
49 : [ "CongoKinshasa", "CD" ],
|
|
|
|
50 : [ "CongoBrazzaville", "CG" ],
|
2011-04-27 10:05:43 +00:00
|
|
|
51 : [ "CookIslands", "CK" ],
|
|
|
|
52 : [ "CostaRica", "CR" ],
|
|
|
|
53 : [ "IvoryCoast", "CI" ],
|
|
|
|
54 : [ "Croatia", "HR" ],
|
|
|
|
55 : [ "Cuba", "CU" ],
|
|
|
|
56 : [ "Cyprus", "CY" ],
|
|
|
|
57 : [ "CzechRepublic", "CZ" ],
|
|
|
|
58 : [ "Denmark", "DK" ],
|
|
|
|
59 : [ "Djibouti", "DJ" ],
|
|
|
|
60 : [ "Dominica", "DM" ],
|
|
|
|
61 : [ "DominicanRepublic", "DO" ],
|
|
|
|
62 : [ "EastTimor", "TL" ],
|
|
|
|
63 : [ "Ecuador", "EC" ],
|
|
|
|
64 : [ "Egypt", "EG" ],
|
|
|
|
65 : [ "ElSalvador", "SV" ],
|
|
|
|
66 : [ "EquatorialGuinea", "GQ" ],
|
|
|
|
67 : [ "Eritrea", "ER" ],
|
|
|
|
68 : [ "Estonia", "EE" ],
|
|
|
|
69 : [ "Ethiopia", "ET" ],
|
|
|
|
70 : [ "FalklandIslands", "FK" ],
|
|
|
|
71 : [ "FaroeIslands", "FO" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
72 : [ "Fiji", "FJ" ],
|
2011-04-27 10:05:43 +00:00
|
|
|
73 : [ "Finland", "FI" ],
|
|
|
|
74 : [ "France", "FR" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
75 : [ "Guernsey", "GG" ],
|
2011-04-27 10:05:43 +00:00
|
|
|
76 : [ "FrenchGuiana", "GF" ],
|
|
|
|
77 : [ "FrenchPolynesia", "PF" ],
|
|
|
|
78 : [ "FrenchSouthernTerritories", "TF" ],
|
|
|
|
79 : [ "Gabon", "GA" ],
|
|
|
|
80 : [ "Gambia", "GM" ],
|
|
|
|
81 : [ "Georgia", "GE" ],
|
|
|
|
82 : [ "Germany", "DE" ],
|
|
|
|
83 : [ "Ghana", "GH" ],
|
|
|
|
84 : [ "Gibraltar", "GI" ],
|
|
|
|
85 : [ "Greece", "GR" ],
|
|
|
|
86 : [ "Greenland", "GL" ],
|
|
|
|
87 : [ "Grenada", "GD" ],
|
|
|
|
88 : [ "Guadeloupe", "GP" ],
|
|
|
|
89 : [ "Guam", "GU" ],
|
|
|
|
90 : [ "Guatemala", "GT" ],
|
|
|
|
91 : [ "Guinea", "GN" ],
|
|
|
|
92 : [ "GuineaBissau", "GW" ],
|
|
|
|
93 : [ "Guyana", "GY" ],
|
|
|
|
94 : [ "Haiti", "HT" ],
|
|
|
|
95 : [ "HeardAndMcDonaldIslands", "HM" ],
|
|
|
|
96 : [ "Honduras", "HN" ],
|
|
|
|
97 : [ "HongKong", "HK" ],
|
|
|
|
98 : [ "Hungary", "HU" ],
|
|
|
|
99 : [ "Iceland", "IS" ],
|
|
|
|
100 : [ "India", "IN" ],
|
|
|
|
101 : [ "Indonesia", "ID" ],
|
|
|
|
102 : [ "Iran", "IR" ],
|
|
|
|
103 : [ "Iraq", "IQ" ],
|
|
|
|
104 : [ "Ireland", "IE" ],
|
|
|
|
105 : [ "Israel", "IL" ],
|
|
|
|
106 : [ "Italy", "IT" ],
|
|
|
|
107 : [ "Jamaica", "JM" ],
|
|
|
|
108 : [ "Japan", "JP" ],
|
|
|
|
109 : [ "Jordan", "JO" ],
|
|
|
|
110 : [ "Kazakhstan", "KZ" ],
|
|
|
|
111 : [ "Kenya", "KE" ],
|
|
|
|
112 : [ "Kiribati", "KI" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
113 : [ "NorthKorea", "KP" ],
|
|
|
|
114 : [ "SouthKorea", "KR" ],
|
2011-04-27 10:05:43 +00:00
|
|
|
115 : [ "Kuwait", "KW" ],
|
|
|
|
116 : [ "Kyrgyzstan", "KG" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
117 : [ "Laos", "LA" ],
|
2011-04-27 10:05:43 +00:00
|
|
|
118 : [ "Latvia", "LV" ],
|
|
|
|
119 : [ "Lebanon", "LB" ],
|
|
|
|
120 : [ "Lesotho", "LS" ],
|
|
|
|
121 : [ "Liberia", "LR" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
122 : [ "Libya", "LY" ],
|
2011-04-27 10:05:43 +00:00
|
|
|
123 : [ "Liechtenstein", "LI" ],
|
|
|
|
124 : [ "Lithuania", "LT" ],
|
|
|
|
125 : [ "Luxembourg", "LU" ],
|
|
|
|
126 : [ "Macau", "MO" ],
|
|
|
|
127 : [ "Macedonia", "MK" ],
|
|
|
|
128 : [ "Madagascar", "MG" ],
|
|
|
|
129 : [ "Malawi", "MW" ],
|
|
|
|
130 : [ "Malaysia", "MY" ],
|
|
|
|
131 : [ "Maldives", "MV" ],
|
|
|
|
132 : [ "Mali", "ML" ],
|
|
|
|
133 : [ "Malta", "MT" ],
|
|
|
|
134 : [ "MarshallIslands", "MH" ],
|
|
|
|
135 : [ "Martinique", "MQ" ],
|
|
|
|
136 : [ "Mauritania", "MR" ],
|
|
|
|
137 : [ "Mauritius", "MU" ],
|
|
|
|
138 : [ "Mayotte", "YT" ],
|
|
|
|
139 : [ "Mexico", "MX" ],
|
|
|
|
140 : [ "Micronesia", "FM" ],
|
|
|
|
141 : [ "Moldova", "MD" ],
|
|
|
|
142 : [ "Monaco", "MC" ],
|
|
|
|
143 : [ "Mongolia", "MN" ],
|
|
|
|
144 : [ "Montserrat", "MS" ],
|
|
|
|
145 : [ "Morocco", "MA" ],
|
|
|
|
146 : [ "Mozambique", "MZ" ],
|
|
|
|
147 : [ "Myanmar", "MM" ],
|
|
|
|
148 : [ "Namibia", "NA" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
149 : [ "Nauru", "NR" ],
|
2011-04-27 10:05:43 +00:00
|
|
|
150 : [ "Nepal", "NP" ],
|
|
|
|
151 : [ "Netherlands", "NL" ],
|
2012-11-21 13:53:33 +00:00
|
|
|
152 : [ "CuraSao", "CW" ],
|
2011-04-27 10:05:43 +00:00
|
|
|
153 : [ "NewCaledonia", "NC" ],
|
|
|
|
154 : [ "NewZealand", "NZ" ],
|
|
|
|
155 : [ "Nicaragua", "NI" ],
|
|
|
|
156 : [ "Niger", "NE" ],
|
|
|
|
157 : [ "Nigeria", "NG" ],
|
|
|
|
158 : [ "Niue", "NU" ],
|
|
|
|
159 : [ "NorfolkIsland", "NF" ],
|
|
|
|
160 : [ "NorthernMarianaIslands", "MP" ],
|
|
|
|
161 : [ "Norway", "NO" ],
|
|
|
|
162 : [ "Oman", "OM" ],
|
|
|
|
163 : [ "Pakistan", "PK" ],
|
|
|
|
164 : [ "Palau", "PW" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
165 : [ "PalestinianTerritories", "PS" ],
|
2011-04-27 10:05:43 +00:00
|
|
|
166 : [ "Panama", "PA" ],
|
|
|
|
167 : [ "PapuaNewGuinea", "PG" ],
|
|
|
|
168 : [ "Paraguay", "PY" ],
|
|
|
|
169 : [ "Peru", "PE" ],
|
|
|
|
170 : [ "Philippines", "PH" ],
|
|
|
|
171 : [ "Pitcairn", "PN" ],
|
|
|
|
172 : [ "Poland", "PL" ],
|
|
|
|
173 : [ "Portugal", "PT" ],
|
|
|
|
174 : [ "PuertoRico", "PR" ],
|
|
|
|
175 : [ "Qatar", "QA" ],
|
|
|
|
176 : [ "Reunion", "RE" ],
|
|
|
|
177 : [ "Romania", "RO" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
178 : [ "Russia", "RU" ],
|
2011-04-27 10:05:43 +00:00
|
|
|
179 : [ "Rwanda", "RW" ],
|
|
|
|
180 : [ "SaintKittsAndNevis", "KN" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
181 : [ "SaintLucia", "LC" ],
|
|
|
|
182 : [ "SaintVincentAndTheGrenadines", "VC" ],
|
2011-04-27 10:05:43 +00:00
|
|
|
183 : [ "Samoa", "WS" ],
|
|
|
|
184 : [ "SanMarino", "SM" ],
|
|
|
|
185 : [ "SaoTomeAndPrincipe", "ST" ],
|
|
|
|
186 : [ "SaudiArabia", "SA" ],
|
|
|
|
187 : [ "Senegal", "SN" ],
|
|
|
|
188 : [ "Seychelles", "SC" ],
|
|
|
|
189 : [ "SierraLeone", "SL" ],
|
|
|
|
190 : [ "Singapore", "SG" ],
|
|
|
|
191 : [ "Slovakia", "SK" ],
|
|
|
|
192 : [ "Slovenia", "SI" ],
|
|
|
|
193 : [ "SolomonIslands", "SB" ],
|
|
|
|
194 : [ "Somalia", "SO" ],
|
|
|
|
195 : [ "SouthAfrica", "ZA" ],
|
|
|
|
196 : [ "SouthGeorgiaAndTheSouthSandwichIslands", "GS" ],
|
|
|
|
197 : [ "Spain", "ES" ],
|
|
|
|
198 : [ "SriLanka", "LK" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
199 : [ "SaintHelena", "SH" ],
|
|
|
|
200 : [ "SaintPierreAndMiquelon", "PM" ],
|
2011-04-27 10:05:43 +00:00
|
|
|
201 : [ "Sudan", "SD" ],
|
|
|
|
202 : [ "Suriname", "SR" ],
|
|
|
|
203 : [ "SvalbardAndJanMayenIslands", "SJ" ],
|
|
|
|
204 : [ "Swaziland", "SZ" ],
|
|
|
|
205 : [ "Sweden", "SE" ],
|
|
|
|
206 : [ "Switzerland", "CH" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
207 : [ "Syria", "SY" ],
|
2011-04-27 10:05:43 +00:00
|
|
|
208 : [ "Taiwan", "TW" ],
|
|
|
|
209 : [ "Tajikistan", "TJ" ],
|
|
|
|
210 : [ "Tanzania", "TZ" ],
|
|
|
|
211 : [ "Thailand", "TH" ],
|
|
|
|
212 : [ "Togo", "TG" ],
|
|
|
|
213 : [ "Tokelau", "TK" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
214 : [ "Tonga", "TO" ],
|
2011-04-27 10:05:43 +00:00
|
|
|
215 : [ "TrinidadAndTobago", "TT" ],
|
|
|
|
216 : [ "Tunisia", "TN" ],
|
|
|
|
217 : [ "Turkey", "TR" ],
|
|
|
|
218 : [ "Turkmenistan", "TM" ],
|
|
|
|
219 : [ "TurksAndCaicosIslands", "TC" ],
|
|
|
|
220 : [ "Tuvalu", "TV" ],
|
|
|
|
221 : [ "Uganda", "UG" ],
|
|
|
|
222 : [ "Ukraine", "UA" ],
|
|
|
|
223 : [ "UnitedArabEmirates", "AE" ],
|
|
|
|
224 : [ "UnitedKingdom", "GB" ],
|
|
|
|
225 : [ "UnitedStates", "US" ],
|
|
|
|
226 : [ "UnitedStatesMinorOutlyingIslands", "UM" ],
|
|
|
|
227 : [ "Uruguay", "UY" ],
|
|
|
|
228 : [ "Uzbekistan", "UZ" ],
|
|
|
|
229 : [ "Vanuatu", "VU" ],
|
|
|
|
230 : [ "VaticanCityState", "VA" ],
|
|
|
|
231 : [ "Venezuela", "VE" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
232 : [ "Vietnam", "VN" ],
|
2011-04-27 10:05:43 +00:00
|
|
|
233 : [ "BritishVirginIslands", "VG" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
234 : [ "UnitedStatesVirginIslands", "VI" ],
|
2011-04-27 10:05:43 +00:00
|
|
|
235 : [ "WallisAndFutunaIslands", "WF" ],
|
|
|
|
236 : [ "WesternSahara", "EH" ],
|
|
|
|
237 : [ "Yemen", "YE" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
238 : [ "CanaryIslands", "IC" ],
|
2011-04-27 10:05:43 +00:00
|
|
|
239 : [ "Zambia", "ZM" ],
|
|
|
|
240 : [ "Zimbabwe", "ZW" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
241 : [ "ClippertonIsland", "CP" ],
|
2011-04-27 10:05:43 +00:00
|
|
|
242 : [ "Montenegro", "ME" ],
|
|
|
|
243 : [ "Serbia", "RS" ],
|
|
|
|
244 : [ "Saint Barthelemy", "BL" ],
|
|
|
|
245 : [ "Saint Martin", "MF" ],
|
2012-11-21 13:45:18 +00:00
|
|
|
246 : [ "LatinAmericaAndTheCaribbean", "419" ],
|
|
|
|
247 : [ "AscensionIsland", "AC" ],
|
|
|
|
248 : [ "AlandIslands", "AX" ],
|
|
|
|
249 : [ "DiegoGarcia", "DG" ],
|
|
|
|
250 : [ "CeutaAndMelilla", "EA" ],
|
|
|
|
251 : [ "IsleOfMan", "IM" ],
|
|
|
|
252 : [ "Jersey", "JE" ],
|
2012-11-21 13:53:33 +00:00
|
|
|
253 : [ "TristanDaCunha", "TA" ],
|
|
|
|
254 : [ "SouthSudan", "SS" ],
|
|
|
|
255 : [ "Bonaire", "BQ" ],
|
|
|
|
256 : [ "SintMaarten", "SX" ]
|
2011-04-27 10:05:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
script_list = {
|
2012-11-14 16:09:02 +00:00
|
|
|
0 : [ "AnyScript", "Zzzz" ],
|
2011-04-27 10:05:43 +00:00
|
|
|
1 : [ "Arabic", "Arab" ],
|
|
|
|
2 : [ "Cyrillic", "Cyrl" ],
|
|
|
|
3 : [ "Deseret", "Dsrt" ],
|
|
|
|
4 : [ "Gurmukhi", "Guru" ],
|
|
|
|
5 : [ "Simplified Han", "Hans" ],
|
|
|
|
6 : [ "Traditional Han", "Hant" ],
|
|
|
|
7 : [ "Latin", "Latn" ],
|
|
|
|
8 : [ "Mongolian", "Mong" ],
|
2012-11-14 16:02:16 +00:00
|
|
|
9 : [ "Tifinagh", "Tfng" ],
|
|
|
|
10 : [ "Armenian", "Armn" ],
|
|
|
|
11 : [ "Bengali", "Beng" ],
|
|
|
|
12 : [ "Cherokee", "Cher" ],
|
|
|
|
13 : [ "Devanagari", "Deva" ],
|
|
|
|
14 : [ "Ethiopic", "Ethi" ],
|
|
|
|
15 : [ "Georgian", "Geor" ],
|
|
|
|
16 : [ "Greek", "Grek" ],
|
|
|
|
17 : [ "Gujarati", "Gujr" ],
|
|
|
|
18 : [ "Hebrew", "Hebr" ],
|
|
|
|
19 : [ "Japanese", "Jpan" ],
|
|
|
|
20 : [ "Khmer", "Khmr" ],
|
|
|
|
21 : [ "Kannada", "Knda" ],
|
|
|
|
22 : [ "Korean", "Kore" ],
|
|
|
|
23 : [ "Lao", "Laoo" ],
|
|
|
|
24 : [ "Malayalam", "Mlym" ],
|
|
|
|
25 : [ "Myanmar", "Mymr" ],
|
|
|
|
26 : [ "Oriya", "Orya" ],
|
|
|
|
27 : [ "Tamil", "Taml" ],
|
|
|
|
28 : [ "Telugu", "Telu" ],
|
|
|
|
29 : [ "Thaana", "Thaa" ],
|
|
|
|
30 : [ "Thai", "Thai" ],
|
|
|
|
31 : [ "Tibetan", "Tibt" ],
|
|
|
|
32 : [ "Sinhala", "Sinh" ],
|
2013-03-04 23:12:23 +00:00
|
|
|
33 : [ "Syriac", "Syrc" ],
|
2012-11-21 13:53:33 +00:00
|
|
|
34 : [ "Yi", "Yiii" ],
|
2013-03-04 23:12:23 +00:00
|
|
|
35 : [ "Vai", "Vaii" ],
|
|
|
|
36 : [ "Avestan", "Avst" ],
|
|
|
|
37 : [ "Balinese", "Bali" ],
|
|
|
|
38 : [ "Bamum", "Bamu" ],
|
|
|
|
39 : [ "Batak", "Batk" ],
|
|
|
|
40 : [ "Bopomofo", "Bopo" ],
|
|
|
|
41 : [ "Brahmi", "Brah" ],
|
|
|
|
42 : [ "Buginese", "Bugi" ],
|
|
|
|
43 : [ "Buhid", "Buhd" ],
|
|
|
|
44 : [ "CanadianAboriginal", "Cans" ],
|
|
|
|
45 : [ "Carian", "Cari" ],
|
|
|
|
46 : [ "Chakma", "Cakm" ],
|
|
|
|
47 : [ "Cham", "Cham" ],
|
|
|
|
48 : [ "Coptic", "Copt" ],
|
|
|
|
49 : [ "Cypriot", "Cprt" ],
|
|
|
|
50 : [ "Egyptian Hieroglyphs", "Egyp" ],
|
|
|
|
51 : [ "Fraser", "Lisu" ],
|
|
|
|
52 : [ "Glagolitic", "Glag" ],
|
|
|
|
53 : [ "Gothic", "Goth" ],
|
|
|
|
54 : [ "Han", "Hani" ],
|
|
|
|
55 : [ "Hangul", "Hang" ],
|
|
|
|
56 : [ "Hanunoo", "Hano" ],
|
|
|
|
57 : [ "Imperial Aramaic", "Armi" ],
|
|
|
|
58 : [ "Inscriptional Pahlavi", "Phli" ],
|
|
|
|
59 : [ "Inscriptional Parthian", "Prti" ],
|
|
|
|
60 : [ "Javanese", "Java" ],
|
|
|
|
61 : [ "Kaithi", "Kthi" ],
|
|
|
|
62 : [ "Katakana", "Kana" ],
|
|
|
|
63 : [ "Kayah Li", "Kali" ],
|
|
|
|
64 : [ "Kharoshthi", "Khar" ],
|
|
|
|
65 : [ "Lanna", "Lana" ],
|
|
|
|
66 : [ "Lepcha", "Lepc" ],
|
|
|
|
67 : [ "Limbu", "Limb" ],
|
|
|
|
68 : [ "Linear B", "Linb" ],
|
|
|
|
69 : [ "Lycian", "Lyci" ],
|
|
|
|
70 : [ "Lydian", "Lydi" ],
|
|
|
|
71 : [ "Mandaean", "Mand" ],
|
|
|
|
72 : [ "Meitei Mayek", "Mtei" ],
|
|
|
|
73 : [ "Meroitic", "Mero" ],
|
|
|
|
74 : [ "Meroitic Cursive", "Merc" ],
|
|
|
|
75 : [ "Nko", "Nkoo" ],
|
|
|
|
76 : [ "New Tai Lue", "Talu" ],
|
|
|
|
77 : [ "Ogham", "Ogam" ],
|
|
|
|
78 : [ "Ol Chiki", "Olck" ],
|
|
|
|
79 : [ "Old Italic", "Ital" ],
|
|
|
|
80 : [ "Old Persian", "Xpeo" ],
|
|
|
|
81 : [ "Old South Arabian", "Sarb" ],
|
|
|
|
82 : [ "Orkhon", "Orkh" ],
|
|
|
|
83 : [ "Osmanya", "Osma" ],
|
|
|
|
84 : [ "Phags Pa", "Phag" ],
|
|
|
|
85 : [ "Phoenician", "Phnx" ],
|
|
|
|
86 : [ "Pollard Phonetic", "Plrd" ],
|
|
|
|
87 : [ "Rejang", "Rjng" ],
|
|
|
|
88 : [ "Runic", "Runr" ],
|
|
|
|
89 : [ "Samaritan", "Samr" ],
|
|
|
|
90 : [ "Saurashtra", "Saur" ],
|
|
|
|
91 : [ "Sharada", "Shrd" ],
|
|
|
|
92 : [ "Shavian", "Shaw" ],
|
|
|
|
93 : [ "Sora Sompeng", "Sora" ],
|
|
|
|
94 : [ "Cuneiform", "Xsux" ],
|
|
|
|
95 : [ "Sundanese", "Sund" ],
|
|
|
|
96 : [ "Syloti Nagri", "Sylo" ],
|
|
|
|
97 : [ "Tagalog", "Tglg" ],
|
|
|
|
98 : [ "Tagbanwa", "Tagb" ],
|
|
|
|
99 : [ "Tai Le", "Tale" ],
|
|
|
|
100 : [ "Tai Viet", "Tavt" ],
|
|
|
|
101 : [ "Takri", "Takr" ],
|
2013-03-16 07:23:32 +00:00
|
|
|
102 : [ "Ugaritic", "Ugar" ],
|
|
|
|
103 : [ "Braille", "Brai" ],
|
|
|
|
104 : [ "Hiragana", "Hira" ]
|
2013-03-04 23:12:23 +00:00
|
|
|
|
|
|
|
# ### : [ "Blissymbols", "Blis" ],
|
|
|
|
# ### : [ "Linear A", "Lina" ],
|
|
|
|
# ### : [ "Naxi Geba", "Nkgb" ],
|
|
|
|
# ### : [ "Pahawh Hmong", "Hmng" ],
|
|
|
|
# ### : [ "Varang Kshiti", "Wara" ],
|
2011-04-27 10:05:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
def countryCodeToId(code):
|
2012-11-14 16:09:02 +00:00
|
|
|
if not code:
|
|
|
|
return 0
|
2011-04-27 10:05:43 +00:00
|
|
|
for country_id in country_list:
|
|
|
|
if country_list[country_id][1] == code:
|
|
|
|
return country_id
|
|
|
|
return -1
|
|
|
|
|
|
|
|
def languageCodeToId(code):
|
2012-11-14 16:09:02 +00:00
|
|
|
if not code:
|
|
|
|
return 0
|
2011-04-27 10:05:43 +00:00
|
|
|
for language_id in language_list:
|
|
|
|
if language_list[language_id][1] == code:
|
|
|
|
return language_id
|
|
|
|
return -1
|
|
|
|
|
|
|
|
def scriptCodeToId(code):
|
2012-11-14 16:09:02 +00:00
|
|
|
if not code:
|
|
|
|
return 0
|
2011-04-27 10:05:43 +00:00
|
|
|
for script_id in script_list:
|
|
|
|
if script_list[script_id][1] == code:
|
|
|
|
return script_id
|
|
|
|
return -1
|