204 157 : [ "Tigre", "tig" ], |
204 157 : [ "Tigre", "tig" ], |
205 158 : [ "Jju", "kaj" ], |
205 158 : [ "Jju", "kaj" ], |
206 159 : [ "Friulian", "fur" ], |
206 159 : [ "Friulian", "fur" ], |
207 160 : [ "Venda", "ve" ], |
207 160 : [ "Venda", "ve" ], |
208 161 : [ "Ewe", "ee" ], |
208 161 : [ "Ewe", "ee" ], |
209 162 : [ "Walamo", "wa" ], |
209 162 : [ "Walamo", "wal" ], |
210 163 : [ "Hawaiian", "haw" ], |
210 163 : [ "Hawaiian", "haw" ], |
211 164 : [ "Tyap", "kcg" ], |
211 164 : [ "Tyap", "kcg" ], |
212 165 : [ "Chewa", "ny" ] |
212 165 : [ "Chewa", "ny" ], |
|
213 166 : [ "Filipino", "fil" ], |
|
214 167 : [ "Swiss German", "gsw" ], |
|
215 168 : [ "Sichuan Yi", "ii" ], |
|
216 169 : [ "Kpelle", "kpe" ], |
|
217 170 : [ "Low German", "nds" ], |
|
218 171 : [ "South Ndebele", "nr" ], |
|
219 172 : [ "Northern Sotho", "nso" ], |
|
220 173 : [ "Northern Sami", "se" ], |
|
221 174 : [ "Taroko", "trv" ], |
|
222 175 : [ "Gusii", "guz" ], |
|
223 176 : [ "Taita", "dav" ], |
|
224 177 : [ "Fulah", "ff" ], |
|
225 178 : [ "Kikuyu", "ki" ], |
|
226 179 : [ "Samburu", "saq" ], |
|
227 180 : [ "Sena", "seh" ], |
|
228 181 : [ "North Ndebele", "nd" ], |
|
229 182 : [ "Rombo", "rof" ], |
|
230 183 : [ "Tachelhit", "shi" ], |
|
231 184 : [ "Kabyle", "kab" ], |
|
232 185 : [ "Nyankole", "nyn" ], |
|
233 186 : [ "Bena", "bez" ], |
|
234 187 : [ "Vunjo", "vun" ], |
|
235 188 : [ "Bambara", "bm" ], |
|
236 189 : [ "Embu", "ebu" ], |
|
237 190 : [ "Cherokee", "chr" ], |
|
238 191 : [ "Morisyen", "mfe" ], |
|
239 192 : [ "Makonde", "kde" ], |
|
240 193 : [ "Langi", "lag" ], |
|
241 194 : [ "Ganda", "lg" ], |
|
242 195 : [ "Bemba", "bem" ], |
|
243 196 : [ "Kabuverdianu", "kea" ], |
|
244 197 : [ "Meru", "mer" ], |
|
245 198 : [ "Kalenjin", "kln" ], |
|
246 199 : [ "Nama", "naq" ], |
|
247 200 : [ "Machame", "jmc" ], |
|
248 201 : [ "Colognian", "ksh" ], |
|
249 202 : [ "Masai", "mas" ], |
|
250 203 : [ "Soga", "xog" ], |
|
251 204 : [ "Luyia", "luy" ], |
|
252 205 : [ "Asu", "asa" ], |
|
253 206 : [ "Teso", "teo" ], |
|
254 207 : [ "Saho", "ssy" ], |
|
255 208 : [ "Koyra Chiini", "khq" ], |
|
256 209 : [ "Rwa", "rwk" ], |
|
257 210 : [ "Luo", "luo" ], |
|
258 211 : [ "Chiga", "cgg" ], |
|
259 212 : [ "Central Morocco Tamazight", "tzm" ], |
|
260 213 : [ "Koyraboro Senni", "ses" ], |
|
261 214 : [ "Shambala", "ksb" ] |
213 } |
262 } |
214 |
263 |
215 country_list = { |
264 country_list = { |
216 0 : [ "AnyCountry", " " ], |
265 0 : [ "AnyCountry", " " ], |
217 1 : [ "Afghanistan", "AF" ], |
266 1 : [ "Afghanistan", "AF" ], |
452 236 : [ "WesternSahara", "EH" ], |
501 236 : [ "WesternSahara", "EH" ], |
453 237 : [ "Yemen", "YE" ], |
502 237 : [ "Yemen", "YE" ], |
454 238 : [ "Yugoslavia", "YU" ], |
503 238 : [ "Yugoslavia", "YU" ], |
455 239 : [ "Zambia", "ZM" ], |
504 239 : [ "Zambia", "ZM" ], |
456 240 : [ "Zimbabwe", "ZW" ], |
505 240 : [ "Zimbabwe", "ZW" ], |
457 241 : [ "SerbiaAndMontenegro", "CS" ] |
506 241 : [ "SerbiaAndMontenegro", "CS" ], |
|
507 242 : [ "Montenegro", "ME" ], |
|
508 243 : [ "Serbia", "RS" ], |
|
509 244 : [ "Saint Barthelemy", "BL" ], |
|
510 245 : [ "Saint Martin", "MF" ], |
|
511 246 : [ "LatinAmericaAndTheCaribbean", "419" ] |
458 } |
512 } |
459 |
513 |
460 def countryCodeToId(code): |
514 def countryCodeToId(code): |
461 for country_id in country_list: |
515 for country_id in country_list: |
462 if country_list[country_id][1] == code: |
516 if country_list[country_id][1] == code: |