source: trunk/www.guidonia.net/wp/wp-content/plugins/global-translator/header.php@ 44

Last change on this file since 44 was 44, checked in by luciano, 15 years ago
File size: 79.2 KB
Line 
1<?php
2
3
4$gltr_ua = array(
5"Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9b5)",
6"Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.0.1)",
7"Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.0.1)",
8"Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US)",
9"Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us)",
10"Mozilla/5.0 (Macintosh; U; PPC; en-US; rv:0.9.2)",
11"Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.2)",
12"Mozilla/5.0 (Windows; U; Win98; en-US; rv:x.xx)",
13"Mozilla/5.0 (Windows; U; Win9x; en; Stable)",
14"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.5)",
15"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:x.x.x)",
16"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:x.xx)",
17"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:x.xxx)",
18"Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9b5)",
19"Mozilla/5.0 (Windows; U;XMPP Tiscali Communicator v.10.0.1; Windows NT 5.1; it; rv:1.8.1.3)",
20"Mozilla/5.0 (X11; Linux i686; U;rv: 1.7.13)",
21"Mozilla/5.0 (X11; U; Linux 2.4.2-2 i586; en-US; m18)",
22"Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.7.6)",
23"Mozilla/5.0 (X11; U; Linux i686; en-US; Nautilus/1.0Final)",
24"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3)",
25"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2b)",
26"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6)",
27"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7)",
28"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1)",
29"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.1)",
30"Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9a8)",
31);
32
33
34function gltr_get_flag_image_path($language) {
35 return dirname(__file__) . '/flag_' . $language . '.png';
36}
37
38function gltr_get_flag_image($language) {
39 //thanks neanton!
40 $path = strstr(realpath(dirname(__file__)), 'wp-content');
41 $path = str_replace('\\', '/', $path);
42 return get_settings('siteurl') . '/' . $path . '/flag_' . $language . '.png';
43}
44
45function gltr_get_flags_image() {
46 $path = strstr(realpath(dirname(__file__)), 'wp-content');
47 $path = str_replace('\\', '/', $path);
48 return get_settings('siteurl') . '/' . $path . '/gltr_image_map.png';
49}
50
51
52function gltr_sitemap_plugin_detected(){
53 if (function_exists('get_plugins')){
54 $all_plugins = get_plugins();
55 foreach( (array)$all_plugins as $plugin_file => $plugin_data) {
56 if ($plugin_file == 'google-sitemap-generator/sitemap.php'||$plugin_file == 'sitemap.php') return true;
57 }
58 return false;
59 } else
60 return true;
61}
62
63function gltr_create_file($datafile){
64 $success = true;
65 if (!file_exists($datafile)){
66 if (($handle = @fopen($datafile, "wb")) === false) return false;
67 if ((@fwrite($handle, '')) === false) return false;
68 @fclose($handle);
69 }
70 return true;
71}
72
73if (!function_exists('file_get_contents')) {
74 function file_get_contents($filename, $incpath = false, $resource_context = null) {
75 if (false === $handle = fopen($filename, 'rb', $incpath)) {
76 return false;
77 }
78 if ($fsize = @filesize($filename)) {
79 $buf = fread($handle, $fsize);
80 } else {
81 $buf = '';
82 while (!feof($handle)) {
83 $buf .= fread($handle, 8192);
84 }
85 }
86 fclose($handle);
87 return $buf;
88 }
89}
90if(!class_exists("gltr_translation_engine")) {
91 class gltr_translation_status {
92
93 var $_status;
94 var $_last_connection_time;
95
96 function gltr_translation_status() {
97 $exists = get_option("gltr_translation_status");
98 if($exists === false){
99 add_option("gltr_translation_status","");
100 }
101 $this->save();
102 }
103
104 function save() {
105 update_option("gltr_translation_status",$this);
106 }
107
108 function load() {
109 $status = @get_option("gltr_translation_status");
110 if(is_a($status,"gltr_translation_status")) return $status;
111 else return null;
112 }
113
114 function save_status($status){
115 $this->_status = $status;
116 $this->save();
117 }
118
119 function get_status(){
120 return $this->_status;
121 }
122
123 function save_last_connection_time($last_connection_time){
124 $this->_last_connection_time = $last_connection_time;
125 $this->save();
126 }
127
128 function get_last_connection_time(){
129 return $this->_last_connection_time;
130 }
131
132
133 }
134
135}
136
137
138if(!class_exists("gltr_translation_engine")) {
139 class gltr_translation_engine {
140 var $_name;
141
142 var $_base_url;
143
144 var $_links_pattern;
145
146 var $_links_replacement;
147
148 var $_languages_matrix;
149
150 var $_available_languages;
151
152 function gltr_translation_engine(
153 $name,
154 $base_url,
155 $links_pattern,
156 $links_replacement,
157 $languages_matrix,
158 $available_languages) {
159 $this->set_name($name);
160 $this->set_base_url($base_url);
161 $this->set_links_pattern($links_pattern);
162 $this->set_links_replacement($links_replacement);
163 $this->set_languages_matrix($languages_matrix);
164 $this->set_available_languages($available_languages);
165 }
166
167 function set_name($name){
168 $this->_name = (string)$name;
169 }
170
171 function set_base_url($base_url){
172 $this->_base_url = (string)$base_url;
173 }
174
175 function set_links_pattern($links_pattern){
176 $this->_links_pattern = (array)$links_pattern;
177 }
178
179 function set_links_replacement($links_replacement){
180 $this->_links_replacement = (string)$links_replacement;
181 }
182
183 function set_languages_matrix($languages_matrix){
184 $this->_languages_matrix = (array)$languages_matrix;
185 }
186
187 function set_available_languages($available_languages){
188 $this->_available_languages = (array)$available_languages;
189 }
190
191 function get_name(){
192 return $this->_name;
193 }
194
195 function get_base_url(){
196 return $this->_base_url;
197 }
198
199 function get_links_pattern(){
200 return $this->_links_pattern;
201 }
202
203 function get_links_replacement(){
204 return $this->_links_replacement;
205 }
206
207 function get_languages_matrix(){
208 return $this->_languages_matrix;
209 }
210
211 function get_available_languages(){
212 return $this->_available_languages;
213 }
214
215 function decode_lang_code($res)
216 {
217 if ($this->_name == 'promt') {
218 if ($res == 'es') $res = 's';
219 else if ($res == 'de') $res = 'g';
220 else $res = substr($res, 0, 1);
221 } else if ($this->_name == 'freetransl') {
222 $map = array(
223 'en' => 'English',
224 'es' => 'Spanish',
225 'fr' => 'French',
226 'de' => 'German',
227 'it' => 'Italian',
228 'nl' => 'Dutch',
229 'pt' => 'Portuguese',
230 'no' => 'Norwegian');
231 $res = $map[$res];
232 }
233 return $res;
234 }
235
236 function build_clean_link($matches){
237 $res = "href=";
238 foreach($this->_match_id as $key=>$val){
239
240 }
241 return urldecode();
242 }
243
244 }
245}
246
247$googleEngine = new gltr_translation_engine(
248 'google',
249 //'http://translate.google.com/translate?hl=en&ie=UTF-8&oe=UTF-8&langpair=${SRCLANG}|${DESTLANG}&u=${URL}&prev=/language_tools',
250 'http://translate.google.com/translate?hl=en&sl=${SRCLANG}&tl=${DESTLANG}&u=${URL}',
251 array(
252 "/(src)=([^>]*)u=(.*?)&amp;([^#|>]*)([#]{0,1}[^>]*)/i",
253 "/(src)=([^\s]*)u=(.*?)&amp;([^\s|#]*)([#]{0,1}[^\s]*)/i",
254 "/(href)=([^>]*)u=(.*?)&amp;([^#|>]*)([#]{0,1}[^>]*)/i",
255 "/(href)=([^\s]*)u=(.*?)&amp;([^\s|#]*)([#]{0,1}[^\s]*)/i",
256 "/(src)=([']{1}[^']*)u=(.*?)&amp;([^'|#]*)([#]{0,1}[^']*)[']{1}/i",
257 "/(src)=([\"]{1}[^\"]*)u=(.*?)&amp;([^\"|#]*)([#]{0,1}[^\"]*)[\"]{1}/i",
258 "/(href)=([']{1}[^']*)u=(.*?)&amp;([^'|#]*)([#]{0,1}[^']*)[']{1}/i",
259 "/(href)=([\"]{1}[^\"]*)u=(.*?)&amp;([^\"|#]*)([#]{0,1}[^\"]*)[\"]{1}/i"
260 ),
261 "href=\"\\1\" ",
262 array(
263 'it' => array( 'it'=>'Italiano',
264 'ar'=>'Arabo',
265 'bg'=>'Bulgaro',
266 'ca'=>'Catalano',
267 'zh-CN'=>'Cinese (Semplificato)',
268 'zh-TW'=>'Cinese (Tradizionale)',
269 'hr'=>'Croato',
270 'cs'=>'Ceco',
271 'da'=>'Danese',
272 'nl'=>'Olandese',
273 'en'=>'Inglese',
274 'tl'=>'Filippino',
275 'fi'=>'Finlandese',
276 'fr'=>'Francese',
277 'de'=>'Tedesco',
278 'el'=>'Greco',
279 'iw'=>'Ebraico',
280 'hi'=>'Hindi',
281 'id'=>'Indonesiano',
282 'ja'=>'Giapponese',
283 'ko'=>'Coreano',
284 'lv'=>'Lettone',
285 'lt'=>'Lituano',
286 'no'=>'Norvegese',
287 'pl'=>'Polacco',
288 'pt'=>'Portoghese',
289 'ro'=>'Rumeno',
290 'ru'=>'Russo',
291 'sr'=>'Serbo',
292 'sk'=>'Slovacco',
293 'sl'=>'Sloveno',
294 'es'=>'Spagnolo',
295 'sv'=>'Svedese',
296 'uk'=>'Ucraino',
297 'vi'=>'Vietnamita',
298 'sq'=>'Albanese',
299 'et'=>'Estone',
300 'gl'=>'Galician',
301 'mt'=>'Maltese',
302 'th'=>'Tailandese',
303 'tr'=>'Turco',
304 'hu'=>'Ungherese'
305 ),
306 'ko' => array( 'ko' => 'Korean',
307 'it' => 'Italian',
308 'zh-CN' => 'Chinese (Simplified)',
309 'zh-TW' => 'Chinese (Traditional)',
310 'pt' => 'Portuguese',
311 'en' => 'English',
312 'de' => 'German',
313 'fr' => 'French',
314 'es' => 'Spanish',
315 'ja' => 'Japanese',
316 'ar' => 'Arabic',
317 'ru' => 'Russian',
318 'el' => 'Greek',
319 'nl' => 'Dutch',
320 'bg' => 'Bulgarian',
321 'cs' => 'Czech',
322 'hr' => 'Croat',
323 'da' => 'Danish',
324 'fi' => 'Finnish',
325 'hi' => 'Hindi',
326 'pl' => 'Polish',
327 'ro' => 'Rumanian',
328 'sv' => 'Swedish',
329 'no' => 'Norwegian',
330 'ca' => 'Catalan',
331 'tl' => 'Filipino',
332 'iw' => 'Hebrew',
333 'id' => 'Indonesian',
334 'lv' => 'Latvian',
335 'lt' => 'Lithuanian',
336 'sr' => 'Serbian',
337 'sk' => 'Slovak',
338 'sl' => 'Slovenian',
339 'uk' => 'Ukrainian',
340 'vi' => 'Vietnamese',
341 'sq' => 'Albanian',
342 'et' => 'Estonian',
343 'gl' => 'Galician',
344 'mt' => 'Maltese',
345 'th' => 'Thai',
346 'tr' => 'Turkish',
347 'hu' => 'Hungarian'
348 ),
349 'zh-CN' => array( 'zh-CN' => 'Chinese (Simplified)',
350 'zh-TW' => 'Chinese (Traditional)',
351 'it' => 'Italian',
352 'ko' => 'Korean',
353 'pt' => 'Portuguese',
354 'en' => 'English',
355 'de' => 'German',
356 'fr' => 'French',
357 'es' => 'Spanish',
358 'ja' => 'Japanese',
359 'ar' => 'Arabic',
360 'ru' => 'Russian',
361 'el' => 'Greek',
362 'nl' => 'Dutch',
363 'bg' => 'Bulgarian',
364 'cs' => 'Czech',
365 'hr' => 'Croat',
366 'da' => 'Danish',
367 'fi' => 'Finnish',
368 'hi' => 'Hindi',
369 'pl' => 'Polish',
370 'ro' => 'Rumanian',
371 'sv' => 'Swedish',
372 'no' => 'Norwegian',
373 'ca' => 'Catalan',
374 'tl' => 'Filipino',
375 'iw' => 'Hebrew',
376 'id' => 'Indonesian',
377 'lv' => 'Latvian',
378 'lt' => 'Lithuanian',
379 'sr' => 'Serbian',
380 'sk' => 'Slovak',
381 'sl' => 'Slovenian',
382 'uk' => 'Ukrainian',
383 'vi' => 'Vietnamese',
384 'sq' => 'Albanian',
385 'et' => 'Estonian',
386 'gl' => 'Galician',
387 'mt' => 'Maltese',
388 'th' => 'Thai',
389 'tr' => 'Turkish',
390 'hu' => 'Hungarian'
391 ),
392 'pt' => array( 'pt' => 'Português',
393 'it' => 'Italiano',
394 'ko' => 'Coreano',
395 'zh-CN' => 'Chinês (simplificado)',
396 'zh-TW' => 'Chinês (Traditional)',
397 'en' => 'English',
398 'de' => 'Alemâo',
399 'fr' => 'Francês',
400 'es' => 'Espanhol',
401 'ja' => 'Japonês',
402 'ar' => 'Árabe',
403 'ru' => 'Russo',
404 'nl' => 'Holandês',
405 'bg' =>'Búlgaro',
406 'cs' =>'Tcheco',
407 'hr' =>'Croata',
408 'da' =>'Dinamarquês',
409 'fi' =>'Finlandês',
410 'hi' =>'Hindu',
411 'pl' =>'Polonês',
412 'ro' =>'Romeno',
413 'sv' =>'Sueco',
414 'el' =>'Grego',
415 'no' =>'Norueguês',
416 'ca' => 'Catalão',
417 'tl' => 'Filipino',
418 'iw' => 'Hebreu',
419 'id' => 'Indonésio',
420 'lv' => 'Latvian',
421 'lt' => 'Lituano',
422 'sr' => 'Sérvio',
423 'sk' => 'Slovaco',
424 'sl' => 'Slovênio',
425 'uk' => 'Ucraniano',
426 'vi' => 'Vietnamita',
427 'sq' => 'Albanian',
428 'et' => 'Estonian',
429 'gl' => 'Galician',
430 'mt' => 'Maltese',
431 'th' => 'Thai',
432 'tr' => 'Turkish',
433 'hu' => 'Hungarian'
434 ),
435 'en' => array( 'en' => 'English',
436 'it' => 'Italian',
437 'ko' => 'Korean',
438 'zh-CN' => 'Chinese (Simplified)',
439 'zh-TW' => 'Chinese (Traditional)',
440 'pt' => 'Portuguese',
441 'de' => 'German',
442 'fr' => 'French',
443 'es' => 'Spanish',
444 'ja' => 'Japanese',
445 'ar' => 'Arabic',
446 'ru' => 'Russian',
447 'el' => 'Greek',
448 'nl' => 'Dutch',
449 'bg' =>'Bulgarian',
450 'cs' =>'Czech',
451 'hr' =>'Croat',
452 'da' =>'Danish',
453 'fi' =>'Finnish',
454 'hi' =>'Hindi',
455 'pl' =>'Polish',
456 'ro' =>'Rumanian',
457 'sv' =>'Swedish',
458 'no' =>'Norwegian',
459 'ca' => 'Catalan',
460 'tl' => 'Filipino',
461 'iw' => 'Hebrew',
462 'id' => 'Indonesian',
463 'lv' => 'Latvian',
464 'lt' => 'Lithuanian',
465 'sr' => 'Serbian',
466 'sk' => 'Slovak',
467 'sl' => 'Slovenian',
468 'uk' => 'Ukrainian',
469 'vi' => 'Vietnamese',
470 'sq' => 'Albanian',
471 'et' => 'Estonian',
472 'gl' => 'Galician',
473 'mt' => 'Maltese',
474 'th' => 'Thai',
475 'tr' => 'Turkish',
476 'hu' => 'Hungarian'
477 ),
478 'de' => array( 'de' => 'German',
479 'it' => 'Italian',
480 'ko' => 'Korean',
481 'zh-CN' => 'Chinese (Simplified)',
482 'zh-TW' => 'Chinese (Traditional)',
483 'pt' => 'Portuguese',
484 'en' => 'English',
485 'fr' => 'French',
486 'es' => 'Spanish',
487 'ja' => 'Japanese',
488 'ar' => 'Arabic',
489 'ru' => 'Russian',
490 'el' => 'Greek',
491 'nl' => 'Dutch',
492 'bg' =>'Bulgarian',
493 'cs' =>'Czech',
494 'hr' =>'Croat',
495 'da' =>'Danish',
496 'fi' =>'Finnish',
497 'hi' =>'Hindi',
498 'pl' =>'Polish',
499 'ro' =>'Rumanian',
500 'sv' =>'Swedish',
501 'no' =>'Norwegian',
502 'ca' => 'Catalan',
503 'tl' => 'Filipino',
504 'iw' => 'Hebrew',
505 'id' => 'Indonesian',
506 'lv' => 'Latvian',
507 'lt' => 'Lithuanian',
508 'sr' => 'Serbian',
509 'sk' => 'Slovak',
510 'sl' => 'Slovenian',
511 'uk' => 'Ukrainian',
512 'vi' => 'Vietnamese',
513 'sq' => 'Albanian',
514 'et' => 'Estonian',
515 'gl' => 'Galician',
516 'mt' => 'Maltese',
517 'th' => 'Thai',
518 'tr' => 'Turkish',
519 'hu' => 'Hungarian'
520 ),
521 'fr' => array( 'fr' => 'French',
522 'it' => 'Italian',
523 'ko' => 'Korean',
524 'zh-CN' => 'Chinese (Simplified)',
525 'zh-TW' => 'Chinese (Traditional)',
526 'pt' => 'Portuguese',
527 'en' => 'English',
528 'de' => 'German',
529 'es' => 'Spanish',
530 'ja' => 'Japanese',
531 'ar' => 'Arabic',
532 'ru' => 'Russian',
533 'el' => 'Greek',
534 'nl' => 'Dutch',
535 'bg' =>'Bulgarian',
536 'cs' =>'Czech',
537 'hr' =>'Croat',
538 'da' =>'Danish',
539 'fi' =>'Finnish',
540 'hi' =>'Hindi',
541 'pl' =>'Polish',
542 'ro' =>'Rumanian',
543 'sv' =>'Swedish',
544 'no' =>'Norwegian',
545 'ca' => 'Catalan',
546 'tl' => 'Filipino',
547 'iw' => 'Hebrew',
548 'id' => 'Indonesian',
549 'lv' => 'Latvian',
550 'lt' => 'Lithuanian',
551 'sr' => 'Serbian',
552 'sk' => 'Slovak',
553 'sl' => 'Slovenian',
554 'uk' => 'Ukrainian',
555 'vi' => 'Vietnamese',
556 'sq' => 'Albanian',
557 'et' => 'Estonian',
558 'gl' => 'Galician',
559 'mt' => 'Maltese',
560 'th' => 'Thai',
561 'tr' => 'Turkish',
562 'hu' => 'Hungarian'
563 ),
564 'es' => array( 'es' => 'Spanish',
565 'it' => 'Italian',
566 'ko' => 'Korean',
567 'zh-CN' => 'Chinese (Simplified)',
568 'zh-TW' => 'Chinese (Traditional)',
569 'pt' => 'Portuguese',
570 'en' => 'English',
571 'de' => 'German',
572 'fr' => 'French',
573 'ja' => 'Japanese',
574 'ar' => 'Arabic',
575 'ru' => 'Russian',
576 'el' => 'Greek',
577 'nl' => 'Dutch',
578 'bg' =>'Bulgarian',
579 'cs' =>'Czech',
580 'hr' =>'Croat',
581 'da' =>'Danish',
582 'fi' =>'Finnish',
583 'hi' =>'Hindi',
584 'pl' =>'Polish',
585 'ro' =>'Rumanian',
586 'sv' =>'Swedish',
587 'no' =>'Norwegian',
588 'ca' => 'Catalan',
589 'tl' => 'Filipino',
590 'iw' => 'Hebrew',
591 'id' => 'Indonesian',
592 'lv' => 'Latvian',
593 'lt' => 'Lithuanian',
594 'sr' => 'Serbian',
595 'sk' => 'Slovak',
596 'sl' => 'Slovenian',
597 'uk' => 'Ukrainian',
598 'vi' => 'Vietnamese',
599 'sq' => 'Albanian',
600 'et' => 'Estonian',
601 'gl' => 'Galician',
602 'mt' => 'Maltese',
603 'th' => 'Thai',
604 'tr' => 'Turkish',
605 'hu' => 'Hungarian'
606 ),
607 'ja' => array( 'ja' => 'Japanese',
608 'it' => 'Italian',
609 'ko' => 'Korean',
610 'zh-CN' => 'Chinese (Simplified)',
611 'zh-TW' => 'Chinese (Traditional)',
612 'pt' => 'Portuguese',
613 'en' => 'English',
614 'de' => 'German',
615 'fr' => 'French',
616 'es' => 'Spanish',
617 'ar' => 'Arabic',
618 'ru' => 'Russian',
619 'el' => 'Greek',
620 'nl' => 'Dutch',
621 'bg' =>'Bulgarian',
622 'cs' =>'Czech',
623 'hr' =>'Croat',
624 'da' =>'Danish',
625 'fi' =>'Finnish',
626 'hi' =>'Hindi',
627 'pl' =>'Polish',
628 'ro' =>'Rumanian',
629 'sv' =>'Swedish',
630 'no' =>'Norwegian',
631 'ca' => 'Catalan',
632 'tl' => 'Filipino',
633 'iw' => 'Hebrew',
634 'id' => 'Indonesian',
635 'lv' => 'Latvian',
636 'lt' => 'Lithuanian',
637 'sr' => 'Serbian',
638 'sk' => 'Slovak',
639 'sl' => 'Slovenian',
640 'uk' => 'Ukrainian',
641 'vi' => 'Vietnamese',
642 'sq' => 'Albanian',
643 'et' => 'Estonian',
644 'gl' => 'Galician',
645 'mt' => 'Maltese',
646 'th' => 'Thai',
647 'tr' => 'Turkish',
648 'hu' => 'Hungarian'
649 ),
650 'ar' => array( 'ar' => 'Arabic',
651 'it' => 'Italian',
652 'ko' => 'Korean',
653 'zh-CN' => 'Chinese (Simplified)',
654 'zh-TW' => 'Chinese (Traditional)',
655 'pt' => 'Portuguese',
656 'en' => 'English',
657 'de' => 'German',
658 'fr' => 'French',
659 'es' => 'Spanish',
660 'ja' => 'Japanese',
661 'ru' => 'Russian',
662 'el' => 'Greek',
663 'nl' => 'Dutch',
664 'bg' =>'Bulgarian',
665 'cs' =>'Czech',
666 'hr' =>'Croat',
667 'da' =>'Danish',
668 'fi' =>'Finnish',
669 'hi' =>'Hindi',
670 'pl' =>'Polish',
671 'ro' =>'Rumanian',
672 'sv' =>'Swedish',
673 'no' =>'Norwegian',
674 'ca' => 'Catalan',
675 'tl' => 'Filipino',
676 'iw' => 'Hebrew',
677 'id' => 'Indonesian',
678 'lv' => 'Latvian',
679 'lt' => 'Lithuanian',
680 'sr' => 'Serbian',
681 'sk' => 'Slovak',
682 'sl' => 'Slovenian',
683 'uk' => 'Ukrainian',
684 'vi' => 'Vietnamese',
685 'sq' => 'Albanian',
686 'et' => 'Estonian',
687 'gl' => 'Galician',
688 'mt' => 'Maltese',
689 'th' => 'Thai',
690 'tr' => 'Turkish',
691 'hu' => 'Hungarian'
692 ),
693 'ru' => array( 'ru' => 'Russian',
694 'it' => 'Italian',
695 'ko' => 'Korean',
696 'zh-CN' => 'Chinese (Simplified)',
697 'zh-TW' => 'Chinese (Traditional)',
698 'pt' => 'Portuguese',
699 'en' => 'English',
700 'de' => 'German',
701 'fr' => 'French',
702 'es' => 'Spanish',
703 'ja' => 'Japanese',
704 'ar' => 'Arabic',
705 'el' => 'Greek',
706 'nl' => 'Dutch',
707 'bg' =>'Bulgarian',
708 'cs' =>'Czech',
709 'hr' =>'Croat',
710 'da' =>'Danish',
711 'fi' =>'Finnish',
712 'hi' =>'Hindi',
713 'pl' =>'Polish',
714 'ro' =>'Rumanian',
715 'sv' =>'Swedish',
716 'no' =>'Norwegian',
717 'ca' => 'Catalan',
718 'tl' => 'Filipino',
719 'iw' => 'Hebrew',
720 'id' => 'Indonesian',
721 'lv' => 'Latvian',
722 'lt' => 'Lithuanian',
723 'sr' => 'Serbian',
724 'sk' => 'Slovak',
725 'sl' => 'Slovenian',
726 'uk' => 'Ukrainian',
727 'vi' => 'Vietnamese',
728 'sq' => 'Albanian',
729 'et' => 'Estonian',
730 'gl' => 'Galician',
731 'mt' => 'Maltese',
732 'th' => 'Thai',
733 'tr' => 'Turkish',
734 'hu' => 'Hungarian'
735 ),
736 'el' => array( 'el' =>'Greek',
737 'it' => 'Italian',
738 'ko' => 'Korean',
739 'zh-CN' => 'Chinese (Simplified)',
740 'zh-TW' => 'Chinese (Traditional)',
741 'pt' => 'Portuguese',
742 'en' => 'English',
743 'de' => 'German',
744 'fr' => 'French',
745 'es' => 'Spanish',
746 'ja' => 'Japanese',
747 'ar' => 'Arabic',
748 'ru' => 'Russian',
749 'nl' => 'Dutch',
750 'bg' =>'Bulgarian',
751 'cs' =>'Czech',
752 'hr' =>'Croat',
753 'da' =>'Danish',
754 'fi' =>'Finnish',
755 'hi' =>'Hindi',
756 'pl' =>'Polish',
757 'ro' =>'Rumanian',
758 'sv' =>'Swedish',
759 'no' =>'Norwegian',
760 'ca' => 'Catalan',
761 'tl' => 'Filipino',
762 'iw' => 'Hebrew',
763 'id' => 'Indonesian',
764 'lv' => 'Latvian',
765 'lt' => 'Lithuanian',
766 'sr' => 'Serbian',
767 'sk' => 'Slovak',
768 'sl' => 'Slovenian',
769 'uk' => 'Ukrainian',
770 'vi' => 'Vietnamese',
771 'sq' => 'Albanian',
772 'et' => 'Estonian',
773 'gl' => 'Galician',
774 'mt' => 'Maltese',
775 'th' => 'Thai',
776 'tr' => 'Turkish',
777 'hu' => 'Hungarian'
778 ),
779 'nl' => array( 'nl' => 'Dutch',
780 'it' => 'Italian',
781 'ko' => 'Korean',
782 'zh-CN' => 'Chinese (Simplified)',
783 'zh-TW' => 'Chinese (Traditional)',
784 'pt' => 'Portuguese',
785 'en' => 'English',
786 'de' => 'German',
787 'fr' => 'French',
788 'es' => 'Spanish',
789 'ja' => 'Japanese',
790 'ar' => 'Arabic',
791 'ru' => 'Russian',
792 'el' => 'Greek',
793 'bg' =>'Bulgarian',
794 'cs' =>'Czech',
795 'hr' =>'Croat',
796 'da' =>'Danish',
797 'fi' =>'Finnish',
798 'hi' =>'Hindi',
799 'pl' =>'Polish',
800 'ro' =>'Rumanian',
801 'sv' =>'Swedish',
802 'no' =>'Norwegian',
803 'ca' => 'Catalan',
804 'tl' => 'Filipino',
805 'iw' => 'Hebrew',
806 'id' => 'Indonesian',
807 'lv' => 'Latvian',
808 'lt' => 'Lithuanian',
809 'sr' => 'Serbian',
810 'sk' => 'Slovak',
811 'sl' => 'Slovenian',
812 'uk' => 'Ukrainian',
813 'vi' => 'Vietnamese',
814 'sq' => 'Albanian',
815 'et' => 'Estonian',
816 'gl' => 'Galician',
817 'mt' => 'Maltese',
818 'th' => 'Thai',
819 'tr' => 'Turkish',
820 'hu' => 'Hungarian'
821 ),
822 'bg' => array( 'bg' =>'Bulgarian',
823 'it' => 'Italian',
824 'ko' => 'Korean',
825 'zh-CN' => 'Chinese (Simplified)',
826 'zh-TW' => 'Chinese (Traditional)',
827 'pt' => 'Portuguese',
828 'en' => 'English',
829 'de' => 'German',
830 'fr' => 'French',
831 'es' => 'Spanish',
832 'ja' => 'Japanese',
833 'ar' => 'Arabic',
834 'ru' => 'Russian',
835 'el' => 'Greek',
836 'nl' => 'Dutch',
837 'cs' =>'Czech',
838 'hr' =>'Croat',
839 'da' =>'Danish',
840 'fi' =>'Finnish',
841 'hi' =>'Hindi',
842 'pl' =>'Polish',
843 'ro' =>'Rumanian',
844 'sv' =>'Swedish',
845 'no' =>'Norwegian',
846 'ca' => 'Catalan',
847 'tl' => 'Filipino',
848 'iw' => 'Hebrew',
849 'id' => 'Indonesian',
850 'lv' => 'Latvian',
851 'lt' => 'Lithuanian',
852 'sr' => 'Serbian',
853 'sk' => 'Slovak',
854 'sl' => 'Slovenian',
855 'uk' => 'Ukrainian',
856 'vi' => 'Vietnamese',
857 'sq' => 'Albanian',
858 'et' => 'Estonian',
859 'gl' => 'Galician',
860 'mt' => 'Maltese',
861 'th' => 'Thai',
862 'tr' => 'Turkish',
863 'hu' => 'Hungarian'
864 ),
865 'cs' => array( 'cs' =>'Czech',
866 'it' => 'Italian',
867 'ko' => 'Korean',
868 'zh-CN' => 'Chinese (Simplified)',
869 'zh-TW' => 'Chinese (Traditional)',
870 'pt' => 'Portuguese',
871 'en' => 'English',
872 'de' => 'German',
873 'fr' => 'French',
874 'es' => 'Spanish',
875 'ja' => 'Japanese',
876 'ar' => 'Arabic',
877 'ru' => 'Russian',
878 'el' => 'Greek',
879 'nl' => 'Dutch',
880 'bg' =>'Bulgarian',
881 'hr' =>'Croat',
882 'da' =>'Danish',
883 'fi' =>'Finnish',
884 'hi' =>'Hindi',
885 'pl' =>'Polish',
886 'ro' =>'Rumanian',
887 'sv' =>'Swedish',
888 'no' =>'Norwegian',
889 'ca' => 'Catalan',
890 'tl' => 'Filipino',
891 'iw' => 'Hebrew',
892 'id' => 'Indonesian',
893 'lv' => 'Latvian',
894 'lt' => 'Lithuanian',
895 'sr' => 'Serbian',
896 'sk' => 'Slovak',
897 'sl' => 'Slovenian',
898 'uk' => 'Ukrainian',
899 'vi' => 'Vietnamese',
900 'sq' => 'Albanian',
901 'et' => 'Estonian',
902 'gl' => 'Galician',
903 'mt' => 'Maltese',
904 'th' => 'Thai',
905 'tr' => 'Turkish',
906 'hu' => 'Hungarian'
907 ),
908 'hr' => array( 'hr' =>'Croat',
909 'it' => 'Italian',
910 'ko' => 'Korean',
911 'zh-CN' => 'Chinese (Simplified)',
912 'zh-TW' => 'Chinese (Traditional)',
913 'pt' => 'Portuguese',
914 'en' => 'English',
915 'de' => 'German',
916 'fr' => 'French',
917 'es' => 'Spanish',
918 'ja' => 'Japanese',
919 'ar' => 'Arabic',
920 'ru' => 'Russian',
921 'el' => 'Greek',
922 'nl' => 'Dutch',
923 'bg' =>'Bulgarian',
924 'cs' =>'Czech',
925 'da' =>'Danish',
926 'fi' =>'Finnish',
927 'hi' =>'Hindi',
928 'pl' =>'Polish',
929 'ro' =>'Rumanian',
930 'sv' =>'Swedish',
931 'no' =>'Norwegian',
932 'ca' => 'Catalan',
933 'tl' => 'Filipino',
934 'iw' => 'Hebrew',
935 'id' => 'Indonesian',
936 'lv' => 'Latvian',
937 'lt' => 'Lithuanian',
938 'sr' => 'Serbian',
939 'sk' => 'Slovak',
940 'sl' => 'Slovenian',
941 'uk' => 'Ukrainian',
942 'vi' => 'Vietnamese',
943 'sq' => 'Albanian',
944 'et' => 'Estonian',
945 'gl' => 'Galician',
946 'mt' => 'Maltese',
947 'th' => 'Thai',
948 'tr' => 'Turkish',
949 'hu' => 'Hungarian'
950 ),
951 'da' => array( 'da' =>'Danish',
952 'it' => 'Italian',
953 'ko' => 'Korean',
954 'zh-CN' => 'Chinese (Simplified)',
955 'zh-TW' => 'Chinese (Traditional)',
956 'pt' => 'Portuguese',
957 'en' => 'English',
958 'de' => 'German',
959 'fr' => 'French',
960 'es' => 'Spanish',
961 'ja' => 'Japanese',
962 'ar' => 'Arabic',
963 'ru' => 'Russian',
964 'el' => 'Greek',
965 'nl' => 'Dutch',
966 'bg' =>'Bulgarian',
967 'cs' =>'Czech',
968 'hr' =>'Croat',
969 'fi' =>'Finnish',
970 'hi' =>'Hindi',
971 'pl' =>'Polish',
972 'ro' =>'Rumanian',
973 'sv' =>'Swedish',
974 'no' =>'Norwegian',
975 'ca' => 'Catalan',
976 'tl' => 'Filipino',
977 'iw' => 'Hebrew',
978 'id' => 'Indonesian',
979 'lv' => 'Latvian',
980 'lt' => 'Lithuanian',
981 'sr' => 'Serbian',
982 'sk' => 'Slovak',
983 'sl' => 'Slovenian',
984 'uk' => 'Ukrainian',
985 'vi' => 'Vietnamese',
986 'sq' => 'Albanian',
987 'et' => 'Estonian',
988 'gl' => 'Galician',
989 'mt' => 'Maltese',
990 'th' => 'Thai',
991 'tr' => 'Turkish',
992 'hu' => 'Hungarian'
993 ),
994 'fi' => array( 'fi' =>'Finnish',
995 'it' => 'Italian',
996 'ko' => 'Korean',
997 'zh-CN' => 'Chinese (Simplified)',
998 'zh-TW' => 'Chinese (Traditional)',
999 'pt' => 'Portuguese',
1000 'en' => 'English',
1001 'de' => 'German',
1002 'fr' => 'French',
1003 'es' => 'Spanish',
1004 'ja' => 'Japanese',
1005 'ar' => 'Arabic',
1006 'ru' => 'Russian',
1007 'el' => 'Greek',
1008 'nl' => 'Dutch',
1009 'bg' =>'Bulgarian',
1010 'cs' =>'Czech',
1011 'hr' =>'Croat',
1012 'da' =>'Danish',
1013 'hi' =>'Hindi',
1014 'pl' =>'Polish',
1015 'ro' =>'Rumanian',
1016 'sv' =>'Swedish',
1017 'no' =>'Norwegian',
1018 'ca' => 'Catalan',
1019 'tl' => 'Filipino',
1020 'iw' => 'Hebrew',
1021 'id' => 'Indonesian',
1022 'lv' => 'Latvian',
1023 'lt' => 'Lithuanian',
1024 'sr' => 'Serbian',
1025 'sk' => 'Slovak',
1026 'sl' => 'Slovenian',
1027 'uk' => 'Ukrainian',
1028 'vi' => 'Vietnamese',
1029 'sq' => 'Albanian',
1030 'et' => 'Estonian',
1031 'gl' => 'Galician',
1032 'mt' => 'Maltese',
1033 'th' => 'Thai',
1034 'tr' => 'Turkish',
1035 'hu' => 'Hungarian'
1036 ),
1037 'hi' => array( 'hi' =>'Hindi',
1038 'it' => 'Italian',
1039 'ko' => 'Korean',
1040 'zh-CN' => 'Chinese (Simplified)',
1041 'zh-TW' => 'Chinese (Traditional)',
1042 'pt' => 'Portuguese',
1043 'en' => 'English',
1044 'de' => 'German',
1045 'fr' => 'French',
1046 'es' => 'Spanish',
1047 'ja' => 'Japanese',
1048 'ar' => 'Arabic',
1049 'ru' => 'Russian',
1050 'el' => 'Greek',
1051 'nl' => 'Dutch',
1052 'bg' =>'Bulgarian',
1053 'cs' =>'Czech',
1054 'hr' =>'Croat',
1055 'da' =>'Danish',
1056 'fi' =>'Finnish',
1057 'pl' =>'Polish',
1058 'ro' =>'Rumanian',
1059 'sv' =>'Swedish',
1060 'no' =>'Norwegian',
1061 'ca' => 'Catalan',
1062 'tl' => 'Filipino',
1063 'iw' => 'Hebrew',
1064 'id' => 'Indonesian',
1065 'lv' => 'Latvian',
1066 'lt' => 'Lithuanian',
1067 'sr' => 'Serbian',
1068 'sk' => 'Slovak',
1069 'sl' => 'Slovenian',
1070 'uk' => 'Ukrainian',
1071 'vi' => 'Vietnamese',
1072 'sq' => 'Albanian',
1073 'et' => 'Estonian',
1074 'gl' => 'Galician',
1075 'mt' => 'Maltese',
1076 'th' => 'Thai',
1077 'tr' => 'Turkish',
1078 'hu' => 'Hungarian'
1079 ),
1080 'pl' => array( 'pl' =>'Polish',
1081 'it' => 'Italian',
1082 'ko' => 'Korean',
1083 'zh-CN' => 'Chinese (Simplified)',
1084 'zh-TW' => 'Chinese (Traditional)',
1085 'pt' => 'Portuguese',
1086 'en' => 'English',
1087 'de' => 'German',
1088 'fr' => 'French',
1089 'es' => 'Spanish',
1090 'ja' => 'Japanese',
1091 'ar' => 'Arabic',
1092 'ru' => 'Russian',
1093 'el' => 'Greek',
1094 'nl' => 'Dutch',
1095 'bg' =>'Bulgarian',
1096 'cs' =>'Czech',
1097 'hr' =>'Croat',
1098 'da' =>'Danish',
1099 'fi' =>'Finnish',
1100 'hi' =>'Hindi',
1101 'ro' =>'Rumanian',
1102 'sv' =>'Swedish',
1103 'no' =>'Norwegian',
1104 'ca' => 'Catalan',
1105 'tl' => 'Filipino',
1106 'iw' => 'Hebrew',
1107 'id' => 'Indonesian',
1108 'lv' => 'Latvian',
1109 'lt' => 'Lithuanian',
1110 'sr' => 'Serbian',
1111 'sk' => 'Slovak',
1112 'sl' => 'Slovenian',
1113 'uk' => 'Ukrainian',
1114 'vi' => 'Vietnamese',
1115 'sq' => 'Albanian',
1116 'et' => 'Estonian',
1117 'gl' => 'Galician',
1118 'mt' => 'Maltese',
1119 'th' => 'Thai',
1120 'tr' => 'Turkish',
1121 'hu' => 'Hungarian'
1122 ),
1123 'ro' => array( 'ro' =>'Rumanian',
1124 'it' => 'Italian',
1125 'ko' => 'Korean',
1126 'zh-CN' => 'Chinese (Simplified)',
1127 'zh-TW' => 'Chinese (Traditional)',
1128 'pt' => 'Portuguese',
1129 'en' => 'English',
1130 'de' => 'German',
1131 'fr' => 'French',
1132 'es' => 'Spanish',
1133 'ja' => 'Japanese',
1134 'ar' => 'Arabic',
1135 'ru' => 'Russian',
1136 'el' => 'Greek',
1137 'nl' => 'Dutch',
1138 'bg' =>'Bulgarian',
1139 'cs' =>'Czech',
1140 'hr' =>'Croat',
1141 'da' =>'Danish',
1142 'fi' =>'Finnish',
1143 'hi' =>'Hindi',
1144 'pl' =>'Polish',
1145 'sv' =>'Swedish',
1146 'no' =>'Norwegian',
1147 'ca' => 'Catalan',
1148 'tl' => 'Filipino',
1149 'iw' => 'Hebrew',
1150 'id' => 'Indonesian',
1151 'lv' => 'Latvian',
1152 'lt' => 'Lithuanian',
1153 'sr' => 'Serbian',
1154 'sk' => 'Slovak',
1155 'sl' => 'Slovenian',
1156 'uk' => 'Ukrainian',
1157 'vi' => 'Vietnamese',
1158 'sq' => 'Albanian',
1159 'et' => 'Estonian',
1160 'gl' => 'Galician',
1161 'mt' => 'Maltese',
1162 'th' => 'Thai',
1163 'tr' => 'Turkish',
1164 'hu' => 'Hungarian'
1165 ),
1166 'no' => array( 'no' =>'Norwegian',
1167 'it' => 'Italian',
1168 'ko' => 'Korean',
1169 'zh-CN' => 'Chinese (Simplified)',
1170 'zh-TW' => 'Chinese (Traditional)',
1171 'pt' => 'Portuguese',
1172 'en' => 'English',
1173 'de' => 'German',
1174 'fr' => 'French',
1175 'es' => 'Spanish',
1176 'ja' => 'Japanese',
1177 'ar' => 'Arabic',
1178 'ru' => 'Russian',
1179 'el' => 'Greek',
1180 'nl' => 'Dutch',
1181 'bg' =>'Bulgarian',
1182 'cs' =>'Czech',
1183 'hr' =>'Croat',
1184 'da' =>'Danish',
1185 'fi' =>'Finnish',
1186 'hi' =>'Hindi',
1187 'pl' =>'Polish',
1188 'sv' =>'Swedish',
1189 'ro' =>'Rumanian',
1190 'ca' => 'Catalan',
1191 'tl' => 'Filipino',
1192 'iw' => 'Hebrew',
1193 'id' => 'Indonesian',
1194 'lv' => 'Latvian',
1195 'lt' => 'Lithuanian',
1196 'sr' => 'Serbian',
1197 'sk' => 'Slovak',
1198 'sl' => 'Slovenian',
1199 'uk' => 'Ukrainian',
1200 'vi' => 'Vietnamese',
1201 'sq' => 'Albanian',
1202 'et' => 'Estonian',
1203 'gl' => 'Galician',
1204 'mt' => 'Maltese',
1205 'th' => 'Thai',
1206 'tr' => 'Turkish',
1207 'hu' => 'Hungarian'
1208 ),
1209 'sv' => array( 'sv' =>'Swedish',
1210 'it' => 'Italian',
1211 'ko' => 'Korean',
1212 'zh-CN' => 'Chinese (Simplified)',
1213 'zh-TW' => 'Chinese (Traditional)',
1214 'pt' => 'Portuguese',
1215 'en' => 'English',
1216 'de' => 'German',
1217 'fr' => 'French',
1218 'es' => 'Spanish',
1219 'ja' => 'Japanese',
1220 'ar' => 'Arabic',
1221 'ru' => 'Russian',
1222 'el' => 'Greek',
1223 'nl' => 'Dutch',
1224 'bg' =>'Bulgarian',
1225 'cs' =>'Czech',
1226 'hr' =>'Croat',
1227 'da' =>'Danish',
1228 'fi' =>'Finnish',
1229 'hi' =>'Hindi',
1230 'pl' =>'Polish',
1231 'ro' =>'Rumanian',
1232 'no' =>'Norwegian',
1233 'ca' => 'Catalan',
1234 'tl' => 'Filipino',
1235 'iw' => 'Hebrew',
1236 'id' => 'Indonesian',
1237 'lv' => 'Latvian',
1238 'lt' => 'Lithuanian',
1239 'sr' => 'Serbian',
1240 'sk' => 'Slovak',
1241 'sl' => 'Slovenian',
1242 'uk' => 'Ukrainian',
1243 'vi' => 'Vietnamese',
1244 'sq' => 'Albanian',
1245 'et' => 'Estonian',
1246 'gl' => 'Galician',
1247 'mt' => 'Maltese',
1248 'th' => 'Thai',
1249 'tr' => 'Turkish',
1250 'hu' => 'Hungarian'
1251 ),
1252
1253 'ca' => array( 'ca' => 'Catalan',
1254 'it' => 'Italian',
1255 'ko' => 'Korean',
1256 'zh-CN' => 'Chinese (Simplified)',
1257 'zh-TW' => 'Chinese (Traditional)',
1258 'pt' => 'Portuguese',
1259 'en' => 'English',
1260 'de' => 'German',
1261 'fr' => 'French',
1262 'es' => 'Spanish',
1263 'ja' => 'Japanese',
1264 'ar' => 'Arabic',
1265 'ru' => 'Russian',
1266 'el' => 'Greek',
1267 'nl' => 'Dutch',
1268 'bg' =>'Bulgarian',
1269 'cs' =>'Czech',
1270 'hr' =>'Croat',
1271 'da' =>'Danish',
1272 'fi' =>'Finnish',
1273 'hi' =>'Hindi',
1274 'pl' =>'Polish',
1275 'ro' =>'Rumanian',
1276 'no' =>'Norwegian',
1277 'sv' =>'Swedish',
1278 'tl' => 'Filipino',
1279 'iw' => 'Hebrew',
1280 'id' => 'Indonesian',
1281 'lv' => 'Latvian',
1282 'lt' => 'Lithuanian',
1283 'sr' => 'Serbian',
1284 'sk' => 'Slovak',
1285 'sl' => 'Slovenian',
1286 'uk' => 'Ukrainian',
1287 'vi' => 'Vietnamese',
1288 'sq' => 'Albanian',
1289 'et' => 'Estonian',
1290 'gl' => 'Galician',
1291 'mt' => 'Maltese',
1292 'th' => 'Thai',
1293 'tr' => 'Turkish',
1294 'hu' => 'Hungarian'
1295 ),
1296 'tl' => array( 'tl' => 'Filipino',
1297 'it' => 'Italian',
1298 'ko' => 'Korean',
1299 'zh-CN' => 'Chinese (Simplified)',
1300 'zh-TW' => 'Chinese (Traditional)',
1301 'pt' => 'Portuguese',
1302 'en' => 'English',
1303 'de' => 'German',
1304 'fr' => 'French',
1305 'es' => 'Spanish',
1306 'ja' => 'Japanese',
1307 'ar' => 'Arabic',
1308 'ru' => 'Russian',
1309 'el' => 'Greek',
1310 'nl' => 'Dutch',
1311 'bg' =>'Bulgarian',
1312 'cs' =>'Czech',
1313 'hr' =>'Croat',
1314 'da' =>'Danish',
1315 'fi' =>'Finnish',
1316 'hi' =>'Hindi',
1317 'pl' =>'Polish',
1318 'ro' =>'Rumanian',
1319 'no' =>'Norwegian',
1320 'sv' =>'Swedish',
1321 'ca' => 'Catalan',
1322 'iw' => 'Hebrew',
1323 'id' => 'Indonesian',
1324 'lv' => 'Latvian',
1325 'lt' => 'Lithuanian',
1326 'sr' => 'Serbian',
1327 'sk' => 'Slovak',
1328 'sl' => 'Slovenian',
1329 'uk' => 'Ukrainian',
1330 'vi' => 'Vietnamese',
1331 'sq' => 'Albanian',
1332 'et' => 'Estonian',
1333 'gl' => 'Galician',
1334 'mt' => 'Maltese',
1335 'th' => 'Thai',
1336 'tr' => 'Turkish',
1337 'hu' => 'Hungarian'
1338 ),
1339 'iw' => array( 'iw' => 'Hebrew',
1340 'it' => 'Italian',
1341 'ko' => 'Korean',
1342 'zh-CN' => 'Chinese (Simplified)',
1343 'zh-TW' => 'Chinese (Traditional)',
1344 'pt' => 'Portuguese',
1345 'en' => 'English',
1346 'de' => 'German',
1347 'fr' => 'French',
1348 'es' => 'Spanish',
1349 'ja' => 'Japanese',
1350 'ar' => 'Arabic',
1351 'ru' => 'Russian',
1352 'el' => 'Greek',
1353 'nl' => 'Dutch',
1354 'bg' =>'Bulgarian',
1355 'cs' =>'Czech',
1356 'hr' =>'Croat',
1357 'da' =>'Danish',
1358 'fi' =>'Finnish',
1359 'hi' =>'Hindi',
1360 'pl' =>'Polish',
1361 'ro' =>'Rumanian',
1362 'no' =>'Norwegian',
1363 'sv' =>'Swedish',
1364 'ca' => 'Catalan',
1365 'tl' => 'Filipino',
1366 'id' => 'Indonesian',
1367 'lv' => 'Latvian',
1368 'lt' => 'Lithuanian',
1369 'sr' => 'Serbian',
1370 'sk' => 'Slovak',
1371 'sl' => 'Slovenian',
1372 'uk' => 'Ukrainian',
1373 'vi' => 'Vietnamese',
1374 'sq' => 'Albanian',
1375 'et' => 'Estonian',
1376 'gl' => 'Galician',
1377 'mt' => 'Maltese',
1378 'th' => 'Thai',
1379 'tr' => 'Turkish',
1380 'hu' => 'Hungarian'
1381 ),
1382 'id' => array( 'id' => 'Indonesian',
1383 'it' => 'Italian',
1384 'ko' => 'Korean',
1385 'zh-CN' => 'Chinese (Simplified)',
1386 'zh-TW' => 'Chinese (Traditional)',
1387 'pt' => 'Portuguese',
1388 'en' => 'English',
1389 'de' => 'German',
1390 'fr' => 'French',
1391 'es' => 'Spanish',
1392 'ja' => 'Japanese',
1393 'ar' => 'Arabic',
1394 'ru' => 'Russian',
1395 'el' => 'Greek',
1396 'nl' => 'Dutch',
1397 'bg' =>'Bulgarian',
1398 'cs' =>'Czech',
1399 'hr' =>'Croat',
1400 'da' =>'Danish',
1401 'fi' =>'Finnish',
1402 'hi' =>'Hindi',
1403 'pl' =>'Polish',
1404 'ro' =>'Rumanian',
1405 'no' =>'Norwegian',
1406 'sv' =>'Swedish',
1407 'ca' => 'Catalan',
1408 'tl' => 'Filipino',
1409 'iw' => 'Hebrew',
1410 'lv' => 'Latvian',
1411 'lt' => 'Lithuanian',
1412 'sr' => 'Serbian',
1413 'sk' => 'Slovak',
1414 'sl' => 'Slovenian',
1415 'uk' => 'Ukrainian',
1416 'vi' => 'Vietnamese',
1417 'sq' => 'Albanian',
1418 'et' => 'Estonian',
1419 'gl' => 'Galician',
1420 'mt' => 'Maltese',
1421 'th' => 'Thai',
1422 'tr' => 'Turkish',
1423 'hu' => 'Hungarian'
1424 ),
1425 'lv' => array( 'lv' => 'Latvian',
1426 'it' => 'Italian',
1427 'ko' => 'Korean',
1428 'zh-CN' => 'Chinese (Simplified)',
1429 'zh-TW' => 'Chinese (Traditional)',
1430 'pt' => 'Portuguese',
1431 'en' => 'English',
1432 'de' => 'German',
1433 'fr' => 'French',
1434 'es' => 'Spanish',
1435 'ja' => 'Japanese',
1436 'ar' => 'Arabic',
1437 'ru' => 'Russian',
1438 'el' => 'Greek',
1439 'nl' => 'Dutch',
1440 'bg' =>'Bulgarian',
1441 'cs' =>'Czech',
1442 'hr' =>'Croat',
1443 'da' =>'Danish',
1444 'fi' =>'Finnish',
1445 'hi' =>'Hindi',
1446 'pl' =>'Polish',
1447 'ro' =>'Rumanian',
1448 'no' =>'Norwegian',
1449 'sv' =>'Swedish',
1450 'ca' => 'Catalan',
1451 'tl' => 'Filipino',
1452 'iw' => 'Hebrew',
1453 'id' => 'Indonesian',
1454 'lt' => 'Lithuanian',
1455 'sr' => 'Serbian',
1456 'sk' => 'Slovak',
1457 'sl' => 'Slovenian',
1458 'uk' => 'Ukrainian',
1459 'vi' => 'Vietnamese',
1460 'sq' => 'Albanian',
1461 'et' => 'Estonian',
1462 'gl' => 'Galician',
1463 'mt' => 'Maltese',
1464 'th' => 'Thai',
1465 'tr' => 'Turkish',
1466 'hu' => 'Hungarian'
1467 ),
1468 'lt' => array( 'lt' => 'Lithuanian',
1469 'it' => 'Italian',
1470 'ko' => 'Korean',
1471 'zh-CN' => 'Chinese (Simplified)',
1472 'zh-TW' => 'Chinese (Traditional)',
1473 'pt' => 'Portuguese',
1474 'en' => 'English',
1475 'de' => 'German',
1476 'fr' => 'French',
1477 'es' => 'Spanish',
1478 'ja' => 'Japanese',
1479 'ar' => 'Arabic',
1480 'ru' => 'Russian',
1481 'el' => 'Greek',
1482 'nl' => 'Dutch',
1483 'bg' =>'Bulgarian',
1484 'cs' =>'Czech',
1485 'hr' =>'Croat',
1486 'da' =>'Danish',
1487 'fi' =>'Finnish',
1488 'hi' =>'Hindi',
1489 'pl' =>'Polish',
1490 'ro' =>'Rumanian',
1491 'no' =>'Norwegian',
1492 'sv' =>'Swedish',
1493 'ca' => 'Catalan',
1494 'tl' => 'Filipino',
1495 'iw' => 'Hebrew',
1496 'id' => 'Indonesian',
1497 'lv' => 'Latvian',
1498 'sr' => 'Serbian',
1499 'sk' => 'Slovak',
1500 'sl' => 'Slovenian',
1501 'uk' => 'Ukrainian',
1502 'vi' => 'Vietnamese',
1503 'sq' => 'Albanian',
1504 'et' => 'Estonian',
1505 'gl' => 'Galician',
1506 'mt' => 'Maltese',
1507 'th' => 'Thai',
1508 'tr' => 'Turkish',
1509 'hu' => 'Hungarian'
1510 ),
1511 'sr' => array( 'sr' => 'Serbian',
1512 'it' => 'Italian',
1513 'ko' => 'Korean',
1514 'zh-CN' => 'Chinese (Simplified)',
1515 'zh-TW' => 'Chinese (Traditional)',
1516 'pt' => 'Portuguese',
1517 'en' => 'English',
1518 'de' => 'German',
1519 'fr' => 'French',
1520 'es' => 'Spanish',
1521 'ja' => 'Japanese',
1522 'ar' => 'Arabic',
1523 'ru' => 'Russian',
1524 'el' => 'Greek',
1525 'nl' => 'Dutch',
1526 'bg' =>'Bulgarian',
1527 'cs' =>'Czech',
1528 'hr' =>'Croat',
1529 'da' =>'Danish',
1530 'fi' =>'Finnish',
1531 'hi' =>'Hindi',
1532 'pl' =>'Polish',
1533 'ro' =>'Rumanian',
1534 'no' =>'Norwegian',
1535 'sv' =>'Swedish',
1536 'ca' => 'Catalan',
1537 'tl' => 'Filipino',
1538 'iw' => 'Hebrew',
1539 'id' => 'Indonesian',
1540 'lv' => 'Latvian',
1541 'lt' => 'Lithuanian',
1542 'sk' => 'Slovak',
1543 'sl' => 'Slovenian',
1544 'uk' => 'Ukrainian',
1545 'vi' => 'Vietnamese',
1546 'sq' => 'Albanian',
1547 'et' => 'Estonian',
1548 'gl' => 'Galician',
1549 'mt' => 'Maltese',
1550 'th' => 'Thai',
1551 'tr' => 'Turkish',
1552 'hu' => 'Hungarian'
1553 ),
1554 'sk' => array( 'sk' => 'Slovak',
1555 'it' => 'Italian',
1556 'ko' => 'Korean',
1557 'zh-CN' => 'Chinese (Simplified)',
1558 'zh-TW' => 'Chinese (Traditional)',
1559 'pt' => 'Portuguese',
1560 'en' => 'English',
1561 'de' => 'German',
1562 'fr' => 'French',
1563 'es' => 'Spanish',
1564 'ja' => 'Japanese',
1565 'ar' => 'Arabic',
1566 'ru' => 'Russian',
1567 'el' => 'Greek',
1568 'nl' => 'Dutch',
1569 'bg' =>'Bulgarian',
1570 'cs' =>'Czech',
1571 'hr' =>'Croat',
1572 'da' =>'Danish',
1573 'fi' =>'Finnish',
1574 'hi' =>'Hindi',
1575 'pl' =>'Polish',
1576 'ro' =>'Rumanian',
1577 'no' =>'Norwegian',
1578 'sv' =>'Swedish',
1579 'ca' => 'Catalan',
1580 'tl' => 'Filipino',
1581 'iw' => 'Hebrew',
1582 'id' => 'Indonesian',
1583 'lv' => 'Latvian',
1584 'lt' => 'Lithuanian',
1585 'sr' => 'Serbian',
1586 'sl' => 'Slovenian',
1587 'uk' => 'Ukrainian',
1588 'vi' => 'Vietnamese',
1589 'sq' => 'Albanian',
1590 'et' => 'Estonian',
1591 'gl' => 'Galician',
1592 'mt' => 'Maltese',
1593 'th' => 'Thai',
1594 'tr' => 'Turkish',
1595 'hu' => 'Hungarian'
1596 ),
1597 'sl' => array( 'sl' => 'Slovenian',
1598 'it' => 'Italian',
1599 'ko' => 'Korean',
1600 'zh-CN' => 'Chinese (Simplified)',
1601 'zh-TW' => 'Chinese (Traditional)',
1602 'pt' => 'Portuguese',
1603 'en' => 'English',
1604 'de' => 'German',
1605 'fr' => 'French',
1606 'es' => 'Spanish',
1607 'ja' => 'Japanese',
1608 'ar' => 'Arabic',
1609 'ru' => 'Russian',
1610 'el' => 'Greek',
1611 'nl' => 'Dutch',
1612 'bg' =>'Bulgarian',
1613 'cs' =>'Czech',
1614 'hr' =>'Croat',
1615 'da' =>'Danish',
1616 'fi' =>'Finnish',
1617 'hi' =>'Hindi',
1618 'pl' =>'Polish',
1619 'ro' =>'Rumanian',
1620 'no' =>'Norwegian',
1621 'sv' =>'Swedish',
1622 'ca' => 'Catalan',
1623 'tl' => 'Filipino',
1624 'iw' => 'Hebrew',
1625 'id' => 'Indonesian',
1626 'lv' => 'Latvian',
1627 'lt' => 'Lithuanian',
1628 'sr' => 'Serbian',
1629 'sk' => 'Slovak',
1630 'uk' => 'Ukrainian',
1631 'vi' => 'Vietnamese',
1632 'sq' => 'Albanian',
1633 'et' => 'Estonian',
1634 'gl' => 'Galician',
1635 'mt' => 'Maltese',
1636 'th' => 'Thai',
1637 'tr' => 'Turkish',
1638 'hu' => 'Hungarian'
1639 ),
1640 'uk' => array( 'uk' => 'Ukrainian',
1641 'it' => 'Italian',
1642 'ko' => 'Korean',
1643 'zh-CN' => 'Chinese (Simplified)',
1644 'zh-TW' => 'Chinese (Traditional)',
1645 'pt' => 'Portuguese',
1646 'en' => 'English',
1647 'de' => 'German',
1648 'fr' => 'French',
1649 'es' => 'Spanish',
1650 'ja' => 'Japanese',
1651 'ar' => 'Arabic',
1652 'ru' => 'Russian',
1653 'el' => 'Greek',
1654 'nl' => 'Dutch',
1655 'bg' =>'Bulgarian',
1656 'cs' =>'Czech',
1657 'hr' =>'Croat',
1658 'da' =>'Danish',
1659 'fi' =>'Finnish',
1660 'hi' =>'Hindi',
1661 'pl' =>'Polish',
1662 'ro' =>'Rumanian',
1663 'no' =>'Norwegian',
1664 'sv' =>'Swedish',
1665 'ca' => 'Catalan',
1666 'tl' => 'Filipino',
1667 'iw' => 'Hebrew',
1668 'id' => 'Indonesian',
1669 'lv' => 'Latvian',
1670 'lt' => 'Lithuanian',
1671 'sr' => 'Serbian',
1672 'sk' => 'Slovak',
1673 'sl' => 'Slovenian',
1674 'uk' => 'Ukrainian',
1675 'vi' => 'Vietnamese',
1676 'sq' => 'Albanian',
1677 'et' => 'Estonian',
1678 'gl' => 'Galician',
1679 'mt' => 'Maltese',
1680 'th' => 'Thai',
1681 'tr' => 'Turkish',
1682 'hu' => 'Hungarian'
1683 ),
1684 'vi' => array( 'vi' => 'Vietnamese',
1685 'it' => 'Italian',
1686 'ko' => 'Korean',
1687 'zh-CN' => 'Chinese (Simplified)',
1688 'zh-TW' => 'Chinese (Traditional)',
1689 'pt' => 'Portuguese',
1690 'en' => 'English',
1691 'de' => 'German',
1692 'fr' => 'French',
1693 'es' => 'Spanish',
1694 'ja' => 'Japanese',
1695 'ar' => 'Arabic',
1696 'ru' => 'Russian',
1697 'el' => 'Greek',
1698 'nl' => 'Dutch',
1699 'bg' =>'Bulgarian',
1700 'cs' =>'Czech',
1701 'hr' =>'Croat',
1702 'da' =>'Danish',
1703 'fi' =>'Finnish',
1704 'hi' =>'Hindi',
1705 'pl' =>'Polish',
1706 'ro' =>'Rumanian',
1707 'no' =>'Norwegian',
1708 'sv' =>'Swedish',
1709 'ca' => 'Catalan',
1710 'tl' => 'Filipino',
1711 'iw' => 'Hebrew',
1712 'id' => 'Indonesian',
1713 'lv' => 'Latvian',
1714 'lt' => 'Lithuanian',
1715 'sr' => 'Serbian',
1716 'sk' => 'Slovak',
1717 'sl' => 'Slovenian',
1718 'uk' => 'Ukrainian',
1719 'sq' => 'Albanian',
1720 'et' => 'Estonian',
1721 'gl' => 'Galician',
1722 'mt' => 'Maltese',
1723 'th' => 'Thai',
1724 'tr' => 'Turkish',
1725 'hu' => 'Hungarian'
1726 ),
1727 'sq' => array( 'sq' => 'Albanian',
1728 'it' => 'Italian',
1729 'ko' => 'Korean',
1730 'zh-CN' => 'Chinese (Simplified)',
1731 'zh-TW' => 'Chinese (Traditional)',
1732 'pt' => 'Portuguese',
1733 'en' => 'English',
1734 'de' => 'German',
1735 'fr' => 'French',
1736 'es' => 'Spanish',
1737 'ja' => 'Japanese',
1738 'ar' => 'Arabic',
1739 'ru' => 'Russian',
1740 'el' => 'Greek',
1741 'nl' => 'Dutch',
1742 'bg' =>'Bulgarian',
1743 'cs' =>'Czech',
1744 'hr' =>'Croat',
1745 'da' =>'Danish',
1746 'fi' =>'Finnish',
1747 'hi' =>'Hindi',
1748 'pl' =>'Polish',
1749 'ro' =>'Rumanian',
1750 'no' =>'Norwegian',
1751 'sv' =>'Swedish',
1752 'ca' => 'Catalan',
1753 'tl' => 'Filipino',
1754 'iw' => 'Hebrew',
1755 'id' => 'Indonesian',
1756 'lv' => 'Latvian',
1757 'lt' => 'Lithuanian',
1758 'sr' => 'Serbian',
1759 'sk' => 'Slovak',
1760 'sl' => 'Slovenian',
1761 'uk' => 'Ukrainian',
1762 'vi' => 'Vietnamese',
1763 'et' => 'Estonian',
1764 'gl' => 'Galician',
1765 'mt' => 'Maltese',
1766 'th' => 'Thai',
1767 'tr' => 'Turkish',
1768 'hu' => 'Hungarian'
1769 ),
1770 'et' => array( 'et' => 'Estonian',
1771 'it' => 'Italian',
1772 'ko' => 'Korean',
1773 'zh-CN' => 'Chinese (Simplified)',
1774 'zh-TW' => 'Chinese (Traditional)',
1775 'pt' => 'Portuguese',
1776 'en' => 'English',
1777 'de' => 'German',
1778 'fr' => 'French',
1779 'es' => 'Spanish',
1780 'ja' => 'Japanese',
1781 'ar' => 'Arabic',
1782 'ru' => 'Russian',
1783 'el' => 'Greek',
1784 'nl' => 'Dutch',
1785 'bg' =>'Bulgarian',
1786 'cs' =>'Czech',
1787 'hr' =>'Croat',
1788 'da' =>'Danish',
1789 'fi' =>'Finnish',
1790 'hi' =>'Hindi',
1791 'pl' =>'Polish',
1792 'ro' =>'Rumanian',
1793 'no' =>'Norwegian',
1794 'sv' =>'Swedish',
1795 'ca' => 'Catalan',
1796 'tl' => 'Filipino',
1797 'iw' => 'Hebrew',
1798 'id' => 'Indonesian',
1799 'lv' => 'Latvian',
1800 'lt' => 'Lithuanian',
1801 'sr' => 'Serbian',
1802 'sk' => 'Slovak',
1803 'sl' => 'Slovenian',
1804 'uk' => 'Ukrainian',
1805 'sq' => 'Albanian',
1806 'vi' => 'Vietnamese',
1807 'gl' => 'Galician',
1808 'mt' => 'Maltese',
1809 'th' => 'Thai',
1810 'tr' => 'Turkish',
1811 'hu' => 'Hungarian'
1812 ),
1813 'gl' => array( 'gl' => 'Galician',
1814 'it' => 'Italian',
1815 'ko' => 'Korean',
1816 'zh-CN' => 'Chinese (Simplified)',
1817 'zh-TW' => 'Chinese (Traditional)',
1818 'pt' => 'Portuguese',
1819 'en' => 'English',
1820 'de' => 'German',
1821 'fr' => 'French',
1822 'es' => 'Spanish',
1823 'ja' => 'Japanese',
1824 'ar' => 'Arabic',
1825 'ru' => 'Russian',
1826 'el' => 'Greek',
1827 'nl' => 'Dutch',
1828 'bg' =>'Bulgarian',
1829 'cs' =>'Czech',
1830 'hr' =>'Croat',
1831 'da' =>'Danish',
1832 'fi' =>'Finnish',
1833 'hi' =>'Hindi',
1834 'pl' =>'Polish',
1835 'ro' =>'Rumanian',
1836 'no' =>'Norwegian',
1837 'sv' =>'Swedish',
1838 'ca' => 'Catalan',
1839 'tl' => 'Filipino',
1840 'iw' => 'Hebrew',
1841 'id' => 'Indonesian',
1842 'lv' => 'Latvian',
1843 'lt' => 'Lithuanian',
1844 'sr' => 'Serbian',
1845 'sk' => 'Slovak',
1846 'sl' => 'Slovenian',
1847 'uk' => 'Ukrainian',
1848 'sq' => 'Albanian',
1849 'et' => 'Estonian',
1850 'vi' => 'Vietnamese',
1851 'mt' => 'Maltese',
1852 'th' => 'Thai',
1853 'tr' => 'Turkish',
1854 'hu' => 'Hungarian'
1855 ),
1856 'mt' => array( 'mt' => 'Maltese',
1857 'it' => 'Italian',
1858 'ko' => 'Korean',
1859 'zh-CN' => 'Chinese (Simplified)',
1860 'zh-TW' => 'Chinese (Traditional)',
1861 'pt' => 'Portuguese',
1862 'en' => 'English',
1863 'de' => 'German',
1864 'fr' => 'French',
1865 'es' => 'Spanish',
1866 'ja' => 'Japanese',
1867 'ar' => 'Arabic',
1868 'ru' => 'Russian',
1869 'el' => 'Greek',
1870 'nl' => 'Dutch',
1871 'bg' =>'Bulgarian',
1872 'cs' =>'Czech',
1873 'hr' =>'Croat',
1874 'da' =>'Danish',
1875 'fi' =>'Finnish',
1876 'hi' =>'Hindi',
1877 'pl' =>'Polish',
1878 'ro' =>'Rumanian',
1879 'no' =>'Norwegian',
1880 'sv' =>'Swedish',
1881 'ca' => 'Catalan',
1882 'tl' => 'Filipino',
1883 'iw' => 'Hebrew',
1884 'id' => 'Indonesian',
1885 'lv' => 'Latvian',
1886 'lt' => 'Lithuanian',
1887 'sr' => 'Serbian',
1888 'sk' => 'Slovak',
1889 'sl' => 'Slovenian',
1890 'uk' => 'Ukrainian',
1891 'sq' => 'Albanian',
1892 'et' => 'Estonian',
1893 'gl' => 'Galician',
1894 'vi' => 'Vietnamese',
1895 'th' => 'Thai',
1896 'tr' => 'Turkish',
1897 'hu' => 'Hungarian'
1898 ),
1899 'th' => array( 'th' => 'Thai',
1900 'it' => 'Italian',
1901 'ko' => 'Korean',
1902 'zh-CN' => 'Chinese (Simplified)',
1903 'zh-TW' => 'Chinese (Traditional)',
1904 'pt' => 'Portuguese',
1905 'en' => 'English',
1906 'de' => 'German',
1907 'fr' => 'French',
1908 'es' => 'Spanish',
1909 'ja' => 'Japanese',
1910 'ar' => 'Arabic',
1911 'ru' => 'Russian',
1912 'el' => 'Greek',
1913 'nl' => 'Dutch',
1914 'bg' =>'Bulgarian',
1915 'cs' =>'Czech',
1916 'hr' =>'Croat',
1917 'da' =>'Danish',
1918 'fi' =>'Finnish',
1919 'hi' =>'Hindi',
1920 'pl' =>'Polish',
1921 'ro' =>'Rumanian',
1922 'no' =>'Norwegian',
1923 'sv' =>'Swedish',
1924 'ca' => 'Catalan',
1925 'tl' => 'Filipino',
1926 'iw' => 'Hebrew',
1927 'id' => 'Indonesian',
1928 'lv' => 'Latvian',
1929 'lt' => 'Lithuanian',
1930 'sr' => 'Serbian',
1931 'sk' => 'Slovak',
1932 'sl' => 'Slovenian',
1933 'uk' => 'Ukrainian',
1934 'sq' => 'Albanian',
1935 'et' => 'Estonian',
1936 'gl' => 'Galician',
1937 'mt' => 'Maltese',
1938 'vi' => 'Vietnamese',
1939 'tr' => 'Turkish',
1940 'hu' => 'Hungarian'
1941 ),
1942 'tr' => array( 'tr' => 'Turkish',
1943 'it' => 'Italian',
1944 'ko' => 'Korean',
1945 'zh-CN' => 'Chinese (Simplified)',
1946 'zh-TW' => 'Chinese (Traditional)',
1947 'pt' => 'Portuguese',
1948 'en' => 'English',
1949 'de' => 'German',
1950 'fr' => 'French',
1951 'es' => 'Spanish',
1952 'ja' => 'Japanese',
1953 'ar' => 'Arabic',
1954 'ru' => 'Russian',
1955 'el' => 'Greek',
1956 'nl' => 'Dutch',
1957 'bg' =>'Bulgarian',
1958 'cs' =>'Czech',
1959 'hr' =>'Croat',
1960 'da' =>'Danish',
1961 'fi' =>'Finnish',
1962 'hi' =>'Hindi',
1963 'pl' =>'Polish',
1964 'ro' =>'Rumanian',
1965 'no' =>'Norwegian',
1966 'sv' =>'Swedish',
1967 'ca' => 'Catalan',
1968 'tl' => 'Filipino',
1969 'iw' => 'Hebrew',
1970 'id' => 'Indonesian',
1971 'lv' => 'Latvian',
1972 'lt' => 'Lithuanian',
1973 'sr' => 'Serbian',
1974 'sk' => 'Slovak',
1975 'sl' => 'Slovenian',
1976 'uk' => 'Ukrainian',
1977 'sq' => 'Albanian',
1978 'et' => 'Estonian',
1979 'gl' => 'Galician',
1980 'mt' => 'Maltese',
1981 'th' => 'Thai',
1982 'vi' => 'Vietnamese',
1983 'hu' => 'Hungarian'
1984 ),
1985 'hu' => array( 'hu' => 'Hungarian',
1986 'it' => 'Italian',
1987 'ko' => 'Korean',
1988 'zh-CN' => 'Chinese (Simplified)',
1989 'zh-TW' => 'Chinese (Traditional)',
1990 'pt' => 'Portuguese',
1991 'en' => 'English',
1992 'de' => 'German',
1993 'fr' => 'French',
1994 'es' => 'Spanish',
1995 'ja' => 'Japanese',
1996 'ar' => 'Arabic',
1997 'ru' => 'Russian',
1998 'el' => 'Greek',
1999 'nl' => 'Dutch',
2000 'bg' =>'Bulgarian',
2001 'cs' =>'Czech',
2002 'hr' =>'Croat',
2003 'da' =>'Danish',
2004 'fi' =>'Finnish',
2005 'hi' =>'Hindi',
2006 'pl' =>'Polish',
2007 'ro' =>'Rumanian',
2008 'no' =>'Norwegian',
2009 'sv' =>'Swedish',
2010 'ca' => 'Catalan',
2011 'tl' => 'Filipino',
2012 'iw' => 'Hebrew',
2013 'id' => 'Indonesian',
2014 'lv' => 'Latvian',
2015 'lt' => 'Lithuanian',
2016 'sr' => 'Serbian',
2017 'sk' => 'Slovak',
2018 'sl' => 'Slovenian',
2019 'uk' => 'Ukrainian',
2020 'sq' => 'Albanian',
2021 'et' => 'Estonian',
2022 'gl' => 'Galician',
2023 'mt' => 'Maltese',
2024 'th' => 'Thai',
2025 'tr' => 'Turkish',
2026 'vi' => 'Vietnamese',
2027 ),
2028 ),
2029
2030 array(
2031 'it' => 'Italian',
2032 'ko' => 'Korean',
2033 'zh-CN' => 'Chinese (Simplified)',
2034 'zh-TW' => 'Chinese (Traditional)',
2035 'pt' => 'Portuguese',
2036 'en' => 'English',
2037 'de' => 'German',
2038 'fr' => 'French',
2039 'es' => 'Spanish',
2040 'ja' => 'Japanese',
2041 'ar' => 'Arabic',
2042 'ru' => 'Russian',
2043 'el' => 'Greek',
2044 'nl' => 'Dutch',
2045 'bg' => 'Bulgarian',
2046 'cs' => 'Czech',
2047 'hr' => 'Croatian',
2048 'da' => 'Danish',
2049 'fi' => 'Finnish',
2050 'hi' => 'Hindi',
2051 'pl' => 'Polish',
2052 'ro' => 'Romanian',
2053 'sv' => 'Swedish',
2054 'no' => 'Norwegian',
2055 'ca' => 'Catalan',
2056 'tl' => 'Filipino',
2057 'iw' => 'Hebrew',
2058 'id' => 'Indonesian',
2059 'lv' => 'Latvian',
2060 'lt' => 'Lithuanian',
2061 'sr' => 'Serbian',
2062 'sk' => 'Slovak',
2063 'sl' => 'Slovenian',
2064 'uk' => 'Ukrainian',
2065 'vi' => 'Vietnamese',
2066 'sq' => 'Albanian',
2067 'et' => 'Estonian',
2068 'gl' => 'Galician',
2069 'mt' => 'Maltese',
2070 'th' => 'Thai',
2071 'tr' => 'Turkish',
2072 'hu' => 'Hungarian'
2073
2074
2075 )
2076
2077 );
2078
2079
2080$babelfishEngine = new gltr_translation_engine(
2081 'babelfish',
2082 'http://babelfish.yahoo.com/babelfish/trurl_pagecontent?lp=${SRCLANG}_${DESTLANG}&url=${URL}',
2083 //array("/<a(.*?)href=\"(.*?)url=(.*?)\"([\s|>]{1})/i"),
2084 array(
2085 "/href=[']{1}[^']*url=(.*?)[']{1}/",
2086 "/href=[\"]{1}[^\"]*url=(.*?)[\"]{1}/"
2087 ),
2088 "<a href=\"\\1\" ",
2089 array(
2090 'it' => array( 'it'=>'Italiano',
2091 'en'=>'Inglese',
2092 'fr'=>'Francese'),
2093 'ko' => array( 'ko'=>'Korean',
2094 'en'=>'English'),
2095 'zh' => array( 'zh'=>'Chinese (Simplified)',
2096 'en'=>'English'),
2097 'zt' => array( 'zt'=>'Chinese (Traditional)',
2098 'en'=>'English'),
2099 'pt' => array( 'pt'=>'Portugues',
2100 'en'=>'Ingles',
2101 'fr'=>'Francais'),//to be verified
2102 'en' => array( 'en'=>'English',
2103 'zh'=>'Chinese (Simplified)',
2104 'zt'=>'Chinese (Traditional)',
2105 'nl'=>'Dutch',
2106 'fr'=>'French',
2107 'de'=>'German',
2108 'el'=>'Greek',
2109 'it'=>'Italian',
2110 'ja'=>'Japanese',
2111 'ko'=>'Korean',
2112 'pt'=>'Portuguese',
2113 'ru'=>'Russian',
2114 'es'=>'Spanish'),
2115 'nl' => array( 'nl'=>'Dutch',
2116 'en'=>'English',
2117 'fr'=>'French'),
2118 'de' => array( 'de'=>'Deutsch',
2119 'en'=>'Englisch',
2120 'fr'=>'Franzosisch'),
2121 'fr' => array( 'fr'=>'Francais',
2122 'en'=>'Anglais',
2123 'de'=>'Allemand',
2124 'el'=>'Grec',
2125 'it'=>'Italien',
2126 'pt'=>'Portugais',
2127 'es'=>'Espagnol',
2128 'nl'=>'Hollandais'),
2129 'el' => array( 'el'=>'Greek',
2130 'en'=>'English',
2131 'fr'=>'French'),
2132 'es' => array( 'es'=>'Espanol',
2133 'en'=>'Ingles'),
2134 'ja' => array( 'ja'=>'Japanese',
2135 'en'=>'English'),
2136 'ru' => array( 'ru'=>'Russian',
2137 'en'=>'English')
2138 ),
2139
2140 array(
2141 'it' => 'Italian',
2142 'ko' => 'Korean',
2143 'zh' => 'Chinese (Simplified)',
2144 'zt' => 'Chinese (Traditional)',
2145 'pt' => 'Portuguese',
2146 'en' => 'English',
2147 'el' => 'Greek',
2148 'nl' => 'Dutch',
2149 'de' => 'German',
2150 'fr' => 'French',
2151 'es' => 'Spanish',
2152 'ja' => 'Japanese',
2153 'ru' => 'Russian'
2154 )
2155 );
2156
2157$promtEngine = new gltr_translation_engine(
2158 'promt',
2159 'http://www.online-translator.com/url/translation.aspx?autotranslate=on&sourceURL=${URL}&direction=${SRCLANG}${DESTLANG}',
2160 //http://www.online-translator.com//url/translation.aspx?direction=ie&template=General&autotranslate=on&transliterate=&showvariants=&sourceURL=http://www.nothing2hide.net
2161 //old version 'http://beta.online-translator.com/url/tran_url.asp?prmtlang=en&autotranslate=on&url=${URL}&direction=${SRCLANG}${DESTLANG}',
2162 //old version 'http://www.online-translator.com/url/tran_url.asp?url=${URL}&direction=${SRCLANG}${DESTLANG}&cp1=UTF-8&cp2=UTF-8&autotranslate=on',
2163 //array("/href=\"(.*?)url=(.*?)\"([\s|>]{1})/i"),
2164 array(
2165 "/href=[']{1}[^']*sourceURL=([^'|#]*)([#]{0,1}[^']*)[']{1}/",
2166 "/href=[\"]{1}[^\"]*sourceURL=([^\"|#]*)([#]{0,1}[^\"]*)[\"]{1}/"
2167 ),
2168 "href=\"\\1\" ",
2169 array(
2170 'it' => array( 'it'=>'Italiano',
2171 'en'=>'Inglese',
2172 'ru'=>'Russo'),
2173 'pt' => array( 'pt'=>'Portugues',
2174 'en'=>'Ingles'),//to be verified
2175 'en' => array( 'en'=>'English',
2176 'fr'=>'French',
2177 'de'=>'German',
2178 'it'=>'Italian',
2179 'pt'=>'Portuguese',
2180 'ru'=>'Russian',
2181 'es'=>'Spanish'),
2182 'de' => array( 'de'=>'Deutsch',
2183 'en'=>'Englisch',
2184 'fr'=>'Franzosisch',
2185 'es'=>'Spanish',
2186 'ru'=>'Russian'
2187 ),
2188 'fr' => array( 'fr'=>'Francais',
2189 'en'=>'Anglais',
2190 'de'=>'Allemand',
2191 'ru'=>'Russian', //
2192 'es'=>'Espagnol'),
2193 'es' => array( 'es'=>'Espanol',
2194 'en'=>'Ingles',
2195 'ru'=>'Russian',
2196 'de'=>'German',
2197 'fr'=>'French'
2198 ),
2199 'ru' => array( 'ru'=>'Russian',
2200 'en'=>'English',
2201 'fr'=>'French',
2202 'de'=>'German',
2203 'es'=>'Spanish'
2204 )
2205 ),
2206
2207
2208
2209 array(
2210 'it' => 'Italian',
2211 'pt' => 'Portuguese',
2212 'en' => 'English',
2213 'de' => 'German',
2214 'fr' => 'French',
2215 'es' => 'Spanish',
2216 'ru' => 'Russian'
2217 )
2218 );
2219
2220$freetranslationEngine = new gltr_translation_engine(
2221 'freetransl',
2222 'http://fets5.freetranslation.com/?sequence=core&language=${SRCLANG}/${DESTLANG}&url=${URL}',
2223 array("/href=\"([^\"]*)\"/i"),
2224 "href=\"\\1\"",
2225 array(
2226 'it' => array( 'it'=>'Italiano',
2227 'en'=>'Inglese'),
2228 'pt' => array( 'pt'=>'Portugues',
2229 'en'=>'Ingles'),//to be verified
2230 'en' => array( 'en'=>'English',
2231 'es'=>'Spanish',
2232 'fr'=>'French',
2233 'de'=>'German',
2234 'it'=>'Italian',
2235 'nl'=>'Dutch',
2236 'pt'=>'Portuguese',
2237 'no'=> 'Norwegian'
2238 ),
2239 'de' => array( 'de'=>'Deutsch',
2240 'en'=>'Englisch'
2241 ),
2242 'fr' => array( 'fr'=>'Francais',
2243 'en'=>'Anglais'
2244 ),
2245 'es' => array( 'es'=>'Espanol',
2246 'en'=>'Ingles',
2247 ),
2248 'nl' => array( 'nl'=>'Dutch',
2249 'en'=>'English'
2250 )
2251 ),
2252
2253 array(
2254 'it' => 'Italian',
2255 'pt' => 'Portuguese',
2256 'en' => 'English',
2257 'de' => 'German',
2258 'fr' => 'French',
2259 'es' => 'Spanish',
2260 'no' => 'Norwegian',
2261 'nl' => 'Dutch',
2262 )
2263 );
2264
2265$well_known_extensions =
2266 array('swf','gif','jpg','jpeg','bmp','gz','zip','rar','tar','png','xls',
2267 'doc','ppt','tiff','avi','mpeg','mp3','mov','mp4','c','sh','bat');
2268$gltr_available_engines = array();
2269$gltr_available_engines['google'] = $googleEngine;
2270$gltr_available_engines['promt'] = $promtEngine;
2271$gltr_available_engines['babelfish'] = $babelfishEngine;
2272$gltr_available_engines['freetransl'] = $freetranslationEngine;
2273
2274
2275/*Lets add some default options if they don't exist*/
2276add_option('gltr_base_lang', 'en');
2277add_option('gltr_col_num', '0');
2278add_option('gltr_html_bar_tag', 'MAP');
2279add_option('gltr_my_translation_engine', 'google');
2280add_option('gltr_preferred_languages', array());
2281add_option('gltr_ban_prevention', true);
2282add_option('gltr_enable_debug', false);
2283add_option('gltr_conn_interval',300);
2284add_option('gltr_sitemap_integration',false);
2285add_option("gltr_last_connection_time",0);
2286add_option("gltr_translation_status","unknown");
2287add_option("gltr_cache_expire_time",30);
2288
2289if (function_exists('gzcompress')){
2290 add_option("gltr_compress_cache",false);
2291} else {
2292 add_option("gltr_compress_cache",false);
2293}
2294
2295if (!function_exists('str_ireplace')){
2296 function str_ireplace($search,$replace,$subject){
2297 $token = chr(1);
2298 $haystack = strtolower($subject);
2299 $needle = strtolower($search);
2300 while (($pos=strpos($haystack,$needle))!==FALSE){
2301 $subject = substr_replace($subject,$token,$pos,strlen($search));
2302 $haystack = substr_replace($haystack,$token,$pos,strlen($search));
2303 }
2304 $subject = str_replace($token,$replace,$subject);
2305 return $subject;
2306 }
2307}
2308if( !defined('WP_CONTENT_DIR') ) define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' );
2309$gltr_cache_dir = WP_CONTENT_DIR . "/gt-cache";
2310$gltr_stale_dir = WP_CONTENT_DIR . "/gt-cache/stale";
2311$gltr_merged_image=dirname(__file__) . '/gltr_image_map.png';
2312$gltr_uri_index = array();
2313
2314$gltr_VERSION='1.2.5.1';
2315?>
Note: See TracBrowser for help on using the repository browser.