Version Description
- Added 34 new languages!
- Support for wordpress 4.4
Download this release
Release Info
Developer | edo888 |
Plugin | Translate WordPress with GTranslate |
Version | 2.0.4 |
Comparing to | |
See all releases |
Code changes from version 2.0.3 to 2.0.4
- gtranslate.php +119 -12
- readme.txt +9 -84
gtranslate.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: GTranslate
|
4 |
Plugin URI: http://gtranslate.net/?xyz=998
|
5 |
Description: Makes your website <strong>multilingual</strong> and available to the world using Google Translate. For support visit <a href="http://gtranslate.net/forum/">GTranslate Forum</a>.
|
6 |
-
Version: 2.0.
|
7 |
Author: Edvard Ananyan
|
8 |
Author URI: http://gtranslate.net
|
9 |
|
@@ -133,8 +133,8 @@ class GTranslate extends WP_Widget {
|
|
133 |
|
134 |
$script = <<<EOT
|
135 |
|
136 |
-
var languages = ['Afrikaans','Albanian','Arabic','Armenian','Azerbaijani','Basque','Belarusian','Bulgarian','Catalan','Chinese (Simplified)','Chinese (Traditional)','Croatian','Czech','Danish','Dutch','English','Estonian','Filipino','Finnish','French','Galician','Georgian','German','Greek','Haitian Creole','Hebrew','Hindi','Hungarian','Icelandic','Indonesian','Irish','Italian','Japanese','Korean','Latvian','Lithuanian','Macedonian','Malay','Maltese','Norwegian','Persian','Polish','Portuguese','Romanian','Russian','Serbian','Slovak','Slovenian','Spanish','Swahili','Swedish','Thai','Turkish','Ukrainian','Urdu','Vietnamese','Welsh','Yiddish'];
|
137 |
-
var language_codes = ['af','sq','ar','hy','az','eu','be','bg','ca','zh-CN','zh-TW','hr','cs','da','nl','en','et','tl','fi','fr','gl','ka','de','el','ht','iw','hi','hu','is','id','ga','it','ja','ko','lv','lt','mk','ms','mt','no','fa','pl','pt','ro','ru','sr','sk','sl','es','sw','sv','th','tr','uk','ur','vi','cy','yi'];
|
138 |
var languages_map = {en_x: 0, en_y: 0, ar_x: 100, ar_y: 0, bg_x: 200, bg_y: 0, zhCN_x: 300, zhCN_y: 0, zhTW_x: 400, zhTW_y: 0, hr_x: 500, hr_y: 0, cs_x: 600, cs_y: 0, da_x: 700, da_y: 0, nl_x: 0, nl_y: 100, fi_x: 100, fi_y: 100, fr_x: 200, fr_y: 100, de_x: 300, de_y: 100, el_x: 400, el_y: 100, hi_x: 500, hi_y: 100, it_x: 600, it_y: 100, ja_x: 700, ja_y: 100, ko_x: 0, ko_y: 200, no_x: 100, no_y: 200, pl_x: 200, pl_y: 200, pt_x: 300, pt_y: 200, ro_x: 400, ro_y: 200, ru_x: 500, ru_y: 200, es_x: 600, es_y: 200, sv_x: 700, sv_y: 200, ca_x: 0, ca_y: 300, tl_x: 100, tl_y: 300, iw_x: 200, iw_y: 300, id_x: 300, id_y: 300, lv_x: 400, lv_y: 300, lt_x: 500, lt_y: 300, sr_x: 600, sr_y: 300, sk_x: 700, sk_y: 300, sl_x: 0, sl_y: 400, uk_x: 100, uk_y: 400, vi_x: 200, vi_y: 400, sq_x: 300, sq_y: 400, et_x: 400, et_y: 400, gl_x: 500, gl_y: 400, hu_x: 600, hu_y: 400, mt_x: 700, mt_y: 400, th_x: 0, th_y: 500, tr_x: 100, tr_y: 500, fa_x: 200, fa_y: 500, af_x: 300, af_y: 500, ms_x: 400, ms_y: 500, sw_x: 500, sw_y: 500, ga_x: 600, ga_y: 500, cy_x: 700, cy_y: 500, be_x: 0, be_y: 600, is_x: 100, is_y: 600, mk_x: 200, mk_y: 600, yi_x: 300, yi_y: 600, hy_x: 400, hy_y: 600, az_x: 500, az_y: 600, eu_x: 600, eu_y: 600, ka_x: 700, ka_y: 600, ht_x: 0, ht_y: 700, ur_x: 100, ur_y: 700};
|
139 |
|
140 |
function RefreshDoWidgetCode() {
|
@@ -343,7 +343,7 @@ foreach($fincl_langs as $lang)
|
|
343 |
<div class="postbox">
|
344 |
<h3 id="settings">Widget options</h3>
|
345 |
<div class="inside">
|
346 |
-
<table style="
|
347 |
<tr>
|
348 |
<td class="option_name">Translation method:</td>
|
349 |
<td>
|
@@ -362,18 +362,25 @@ foreach($fincl_langs as $lang)
|
|
362 |
<option value="sq">Albanian</option>
|
363 |
<option value="ar">Arabic</option>
|
364 |
<option value="hy">Armenian</option>
|
|
|
365 |
<option value="az">Azerbaijani</option>
|
366 |
<option value="eu">Basque</option>
|
367 |
<option value="be">Belarusian</option>
|
|
|
|
|
368 |
<option value="bg">Bulgarian</option>
|
|
|
369 |
<option value="ca">Catalan</option>
|
|
|
|
|
370 |
<option value="zh-CN">Chinese (Simplified)</option>
|
371 |
<option value="zh-TW">Chinese (Traditional)</option>
|
372 |
<option value="hr">Croatian</option>
|
373 |
<option value="cs">Czech</option>
|
374 |
<option value="da">Danish</option>
|
375 |
<option value="nl">Dutch</option>
|
376 |
-
<option value="en" selected>English</option>
|
|
|
377 |
<option value="et">Estonian</option>
|
378 |
<option value="tl">Filipino</option>
|
379 |
<option value="fi">Finnish</option>
|
@@ -382,40 +389,67 @@ foreach($fincl_langs as $lang)
|
|
382 |
<option value="ka">Georgian</option>
|
383 |
<option value="de">German</option>
|
384 |
<option value="el">Greek</option>
|
|
|
385 |
<option value="ht">Haitian Creole</option>
|
|
|
386 |
<option value="iw">Hebrew</option>
|
387 |
<option value="hi">Hindi</option>
|
|
|
388 |
<option value="hu">Hungarian</option>
|
389 |
<option value="is">Icelandic</option>
|
|
|
390 |
<option value="id">Indonesian</option>
|
391 |
<option value="ga">Irish</option>
|
392 |
<option value="it">Italian</option>
|
393 |
<option value="ja">Japanese</option>
|
|
|
|
|
|
|
|
|
394 |
<option value="ko">Korean</option>
|
|
|
|
|
395 |
<option value="lv">Latvian</option>
|
396 |
<option value="lt">Lithuanian</option>
|
397 |
<option value="mk">Macedonian</option>
|
|
|
398 |
<option value="ms">Malay</option>
|
|
|
399 |
<option value="mt">Maltese</option>
|
|
|
|
|
|
|
|
|
400 |
<option value="no">Norwegian</option>
|
401 |
<option value="fa">Persian</option>
|
402 |
<option value="pl">Polish</option>
|
403 |
<option value="pt">Portuguese</option>
|
|
|
404 |
<option value="ro">Romanian</option>
|
405 |
<option value="ru">Russian</option>
|
406 |
<option value="sr">Serbian</option>
|
|
|
|
|
407 |
<option value="sk">Slovak</option>
|
408 |
<option value="sl">Slovenian</option>
|
|
|
409 |
<option value="es">Spanish</option>
|
|
|
410 |
<option value="sw">Swahili</option>
|
411 |
<option value="sv">Swedish</option>
|
|
|
|
|
|
|
412 |
<option value="th">Thai</option>
|
413 |
<option value="tr">Turkish</option>
|
414 |
<option value="uk">Ukrainian</option>
|
415 |
<option value="ur">Urdu</option>
|
|
|
416 |
<option value="vi">Vietnamese</option>
|
417 |
<option value="cy">Welsh</option>
|
418 |
<option value="yi">Yiddish</option>
|
|
|
|
|
419 |
</select>
|
420 |
</td>
|
421 |
</tr>
|
@@ -450,9 +484,10 @@ foreach($fincl_langs as $lang)
|
|
450 |
</td>
|
451 |
</tr>
|
452 |
<tr>
|
453 |
-
<td class="option_name">Flag languages
|
454 |
-
|
455 |
-
<div
|
|
|
456 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langsaf" name="fincl_langs[]" value="af"><label for="fincl_langsaf">Afrikaans</label><br />
|
457 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langssq" name="fincl_langs[]" value="sq"><label for="fincl_langssq">Albanian</label><br />
|
458 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langsar" name="fincl_langs[]" value="ar"><label for="fincl_langsar">Arabic</label><br />
|
@@ -468,6 +503,8 @@ foreach($fincl_langs as $lang)
|
|
468 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langscs" name="fincl_langs[]" value="cs"><label for="fincl_langscs">Czech</label><br />
|
469 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langsda" name="fincl_langs[]" value="da"><label for="fincl_langsda">Danish</label><br />
|
470 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langsnl" name="fincl_langs[]" value="nl"><label for="fincl_langsnl">Dutch</label><br />
|
|
|
|
|
471 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langsen" name="fincl_langs[]" value="en" checked><label for="fincl_langsen">English</label><br />
|
472 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langset" name="fincl_langs[]" value="et"><label for="fincl_langset">Estonian</label><br />
|
473 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langstl" name="fincl_langs[]" value="tl"><label for="fincl_langstl">Filipino</label><br />
|
@@ -483,6 +520,8 @@ foreach($fincl_langs as $lang)
|
|
483 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langshu" name="fincl_langs[]" value="hu"><label for="fincl_langshu">Hungarian</label><br />
|
484 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langsis" name="fincl_langs[]" value="is"><label for="fincl_langsis">Icelandic</label><br />
|
485 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langsid" name="fincl_langs[]" value="id"><label for="fincl_langsid">Indonesian</label><br />
|
|
|
|
|
486 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langsga" name="fincl_langs[]" value="ga"><label for="fincl_langsga">Irish</label><br />
|
487 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langsit" name="fincl_langs[]" value="it" checked><label for="fincl_langsit">Italian</label><br />
|
488 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langsja" name="fincl_langs[]" value="ja"><label for="fincl_langsja">Japanese</label><br />
|
@@ -498,6 +537,8 @@ foreach($fincl_langs as $lang)
|
|
498 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langspt" name="fincl_langs[]" value="pt" checked><label for="fincl_langspt">Portuguese</label><br />
|
499 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langsro" name="fincl_langs[]" value="ro"><label for="fincl_langsro">Romanian</label><br />
|
500 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langsru" name="fincl_langs[]" value="ru" checked><label for="fincl_langsru">Russian</label><br />
|
|
|
|
|
501 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langssr" name="fincl_langs[]" value="sr"><label for="fincl_langssr">Serbian</label><br />
|
502 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langssk" name="fincl_langs[]" value="sk"><label for="fincl_langssk">Slovak</label><br />
|
503 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langssl" name="fincl_langs[]" value="sl"><label for="fincl_langssl">Slovenian</label><br />
|
@@ -512,10 +553,12 @@ foreach($fincl_langs as $lang)
|
|
512 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langscy" name="fincl_langs[]" value="cy"><label for="fincl_langscy">Welsh</label><br />
|
513 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langsyi" name="fincl_langs[]" value="yi"><label for="fincl_langsyi">Yiddish</label><br />
|
514 |
</div>
|
|
|
|
|
515 |
</td>
|
516 |
</tr>
|
517 |
<tr>
|
518 |
-
<td class="option_name">
|
519 |
<td><input id="add_new_line" name="add_new_line" value="1" type="checkbox" checked="checked" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()"/></td>
|
520 |
</tr>
|
521 |
<tr>
|
@@ -523,18 +566,24 @@ foreach($fincl_langs as $lang)
|
|
523 |
<td><input id="show_dropdown" name="show_dropdown" value="1" type="checkbox" checked="checked" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()"/></td>
|
524 |
</tr>
|
525 |
<tr>
|
526 |
-
<td class="option_name">Dropdown languages
|
527 |
-
<
|
528 |
-
<div style="
|
529 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsaf" name="incl_langs[]" value="af" checked><label for="incl_langsaf">Afrikaans</label><br />
|
530 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langssq" name="incl_langs[]" value="sq" checked><label for="incl_langssq">Albanian</label><br />
|
531 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsar" name="incl_langs[]" value="ar" checked><label for="incl_langsar">Arabic</label><br />
|
532 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langshy" name="incl_langs[]" value="hy" checked><label for="incl_langshy">Armenian</label><br />
|
|
|
533 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsaz" name="incl_langs[]" value="az" checked><label for="incl_langsaz">Azerbaijani</label><br />
|
534 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langseu" name="incl_langs[]" value="eu" checked><label for="incl_langseu">Basque</label><br />
|
535 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsbe" name="incl_langs[]" value="be" checked><label for="incl_langsbe">Belarusian</label><br />
|
|
|
|
|
536 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsbg" name="incl_langs[]" value="bg" checked><label for="incl_langsbg">Bulgarian</label><br />
|
|
|
537 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsca" name="incl_langs[]" value="ca" checked><label for="incl_langsca">Catalan</label><br />
|
|
|
|
|
538 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langszh-CN" name="incl_langs[]" value="zh-CN" checked><label for="incl_langszh-CN">Chinese (Simplified)</label><br />
|
539 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langszh-TW" name="incl_langs[]" value="zh-TW" checked><label for="incl_langszh-TW">Chinese (Traditional)</label><br />
|
540 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langshr" name="incl_langs[]" value="hr" checked><label for="incl_langshr">Croatian</label><br />
|
@@ -542,6 +591,9 @@ foreach($fincl_langs as $lang)
|
|
542 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsda" name="incl_langs[]" value="da" checked><label for="incl_langsda">Danish</label><br />
|
543 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsnl" name="incl_langs[]" value="nl" checked><label for="incl_langsnl">Dutch</label><br />
|
544 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsen" name="incl_langs[]" value="en" checked><label for="incl_langsen">English</label><br />
|
|
|
|
|
|
|
545 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langset" name="incl_langs[]" value="et" checked><label for="incl_langset">Estonian</label><br />
|
546 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langstl" name="incl_langs[]" value="tl" checked><label for="incl_langstl">Filipino</label><br />
|
547 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsfi" name="incl_langs[]" value="fi" checked><label for="incl_langsfi">Finnish</label><br />
|
@@ -550,40 +602,72 @@ foreach($fincl_langs as $lang)
|
|
550 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langska" name="incl_langs[]" value="ka" checked><label for="incl_langska">Georgian</label><br />
|
551 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsde" name="incl_langs[]" value="de" checked><label for="incl_langsde">German</label><br />
|
552 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsel" name="incl_langs[]" value="el" checked><label for="incl_langsel">Greek</label><br />
|
|
|
553 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsht" name="incl_langs[]" value="ht" checked><label for="incl_langsht">Haitian Creole</label><br />
|
|
|
554 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsiw" name="incl_langs[]" value="iw" checked><label for="incl_langsiw">Hebrew</label><br />
|
555 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langshi" name="incl_langs[]" value="hi" checked><label for="incl_langshi">Hindi</label><br />
|
|
|
556 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langshu" name="incl_langs[]" value="hu" checked><label for="incl_langshu">Hungarian</label><br />
|
557 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsis" name="incl_langs[]" value="is" checked><label for="incl_langsis">Icelandic</label><br />
|
|
|
558 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsid" name="incl_langs[]" value="id" checked><label for="incl_langsid">Indonesian</label><br />
|
559 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsga" name="incl_langs[]" value="ga" checked><label for="incl_langsga">Irish</label><br />
|
560 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsit" name="incl_langs[]" value="it" checked><label for="incl_langsit">Italian</label><br />
|
561 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsja" name="incl_langs[]" value="ja" checked><label for="incl_langsja">Japanese</label><br />
|
|
|
|
|
|
|
|
|
|
|
|
|
562 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsko" name="incl_langs[]" value="ko" checked><label for="incl_langsko">Korean</label><br />
|
|
|
|
|
563 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langslv" name="incl_langs[]" value="lv" checked><label for="incl_langslv">Latvian</label><br />
|
564 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langslt" name="incl_langs[]" value="lt" checked><label for="incl_langslt">Lithuanian</label><br />
|
565 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsmk" name="incl_langs[]" value="mk" checked><label for="incl_langsmk">Macedonian</label><br />
|
|
|
566 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsms" name="incl_langs[]" value="ms" checked><label for="incl_langsms">Malay</label><br />
|
|
|
567 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsmt" name="incl_langs[]" value="mt" checked><label for="incl_langsmt">Maltese</label><br />
|
|
|
|
|
|
|
|
|
568 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsno" name="incl_langs[]" value="no" checked><label for="incl_langsno">Norwegian</label><br />
|
569 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsfa" name="incl_langs[]" value="fa" checked><label for="incl_langsfa">Persian</label><br />
|
570 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langspl" name="incl_langs[]" value="pl" checked><label for="incl_langspl">Polish</label><br />
|
571 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langspt" name="incl_langs[]" value="pt" checked><label for="incl_langspt">Portuguese</label><br />
|
|
|
572 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsro" name="incl_langs[]" value="ro" checked><label for="incl_langsro">Romanian</label><br />
|
573 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsru" name="incl_langs[]" value="ru" checked><label for="incl_langsru">Russian</label><br />
|
|
|
|
|
574 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langssr" name="incl_langs[]" value="sr" checked><label for="incl_langssr">Serbian</label><br />
|
|
|
|
|
575 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langssk" name="incl_langs[]" value="sk" checked><label for="incl_langssk">Slovak</label><br />
|
576 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langssl" name="incl_langs[]" value="sl" checked><label for="incl_langssl">Slovenian</label><br />
|
|
|
577 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langses" name="incl_langs[]" value="es" checked><label for="incl_langses">Spanish</label><br />
|
|
|
578 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langssw" name="incl_langs[]" value="sw" checked><label for="incl_langssw">Swahili</label><br />
|
579 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langssv" name="incl_langs[]" value="sv" checked><label for="incl_langssv">Swedish</label><br />
|
|
|
|
|
|
|
580 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsth" name="incl_langs[]" value="th" checked><label for="incl_langsth">Thai</label><br />
|
581 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langstr" name="incl_langs[]" value="tr" checked><label for="incl_langstr">Turkish</label><br />
|
582 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsuk" name="incl_langs[]" value="uk" checked><label for="incl_langsuk">Ukrainian</label><br />
|
583 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsur" name="incl_langs[]" value="ur" checked><label for="incl_langsur">Urdu</label><br />
|
|
|
584 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsvi" name="incl_langs[]" value="vi" checked><label for="incl_langsvi">Vietnamese</label><br />
|
585 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langscy" name="incl_langs[]" value="cy" checked><label for="incl_langscy">Welsh</label><br />
|
586 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsyi" name="incl_langs[]" value="yi" checked><label for="incl_langsyi">Yiddish</label><br />
|
|
|
|
|
|
|
587 |
</div>
|
588 |
</td>
|
589 |
</tr>
|
@@ -619,6 +703,28 @@ foreach($fincl_langs as $lang)
|
|
619 |
</div>
|
620 |
</div>
|
621 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
622 |
<div id="poststuff">
|
623 |
<div class="postbox">
|
624 |
<h3 id="settings">Useful info</h3>
|
@@ -659,6 +765,7 @@ foreach($fincl_langs as $lang)
|
|
659 |
|
660 |
<script type="text/javascript"><?php echo $script; ?></script>
|
661 |
<style type="text/css">
|
|
|
662 |
.og_left_col { width: 59%; }
|
663 |
.og_right_col { width: 39%; float: right; }
|
664 |
.og_left_col #poststuff, .og_right_col #poststuff { min-width: 0; }
|
3 |
Plugin Name: GTranslate
|
4 |
Plugin URI: http://gtranslate.net/?xyz=998
|
5 |
Description: Makes your website <strong>multilingual</strong> and available to the world using Google Translate. For support visit <a href="http://gtranslate.net/forum/">GTranslate Forum</a>.
|
6 |
+
Version: 2.0.4
|
7 |
Author: Edvard Ananyan
|
8 |
Author URI: http://gtranslate.net
|
9 |
|
133 |
|
134 |
$script = <<<EOT
|
135 |
|
136 |
+
var languages = ['Afrikaans','Albanian','Arabic','Armenian','Aurebesh','Azerbaijani','Basque','Belarusian','Bengali','Bosnian','Bulgarian','Burmese','Catalan','Cebuano','Chichewa','Chinese (Simplified)','Chinese (Traditional)','Croatian','Czech','Danish','Dutch','English','Esperanto','Estonian','Filipino','Finnish','French','Galician','Georgian','German','Greek','Gujarati','Haitian Creole','Hausa','Hebrew','Hindi','Hmong','Hungarian','Icelandic','Igbo','Indonesian','Irish','Italian','Japanese','Javanese','Kannada','Kazakh','Khmer','Korean','Lao','Latin','Latvian','Lithuanian','Macedonian','Malagasy','Malay','Malayalam','Maltese','Maori','Marathi','Mongolian','Nepali','Norwegian','Persian','Polish','Portuguese','Punjabi','Romanian','Russian','Serbian','Sesotho','Sinhalese','Slovak','Slovenian','Somali','Spanish','Sundanese','Swahili','Swedish','Tajik','Tamil','Telugu','Thai','Turkish','Ukrainian','Urdu','Uzbek','Vietnamese','Welsh','Yiddish','Yoruba','Zulu'];
|
137 |
+
var language_codes = ['af','sq','ar','hy','qab','az','eu','be','bn','bs','bg','my','ca','ceb','ny','zh-CN','zh-TW','hr','cs','da','nl','en','eo','et','tl','fi','fr','gl','ka','de','el','gu','ht','ha','iw','hi','hmn','hu','is','ig','id','ga','it','ja','jw','kn','kk','km','ko','lo','la','lv','lt','mk','mg','ms','ml','mt','mi','mr','mn','ne','no','fa','pl','pt','pa','ro','ru','sr','st','si','sk','sl','so','es','su','sw','sv','tg','ta','te','th','tr','uk','ur','uz','vi','cy','yi','yo','zu'];
|
138 |
var languages_map = {en_x: 0, en_y: 0, ar_x: 100, ar_y: 0, bg_x: 200, bg_y: 0, zhCN_x: 300, zhCN_y: 0, zhTW_x: 400, zhTW_y: 0, hr_x: 500, hr_y: 0, cs_x: 600, cs_y: 0, da_x: 700, da_y: 0, nl_x: 0, nl_y: 100, fi_x: 100, fi_y: 100, fr_x: 200, fr_y: 100, de_x: 300, de_y: 100, el_x: 400, el_y: 100, hi_x: 500, hi_y: 100, it_x: 600, it_y: 100, ja_x: 700, ja_y: 100, ko_x: 0, ko_y: 200, no_x: 100, no_y: 200, pl_x: 200, pl_y: 200, pt_x: 300, pt_y: 200, ro_x: 400, ro_y: 200, ru_x: 500, ru_y: 200, es_x: 600, es_y: 200, sv_x: 700, sv_y: 200, ca_x: 0, ca_y: 300, tl_x: 100, tl_y: 300, iw_x: 200, iw_y: 300, id_x: 300, id_y: 300, lv_x: 400, lv_y: 300, lt_x: 500, lt_y: 300, sr_x: 600, sr_y: 300, sk_x: 700, sk_y: 300, sl_x: 0, sl_y: 400, uk_x: 100, uk_y: 400, vi_x: 200, vi_y: 400, sq_x: 300, sq_y: 400, et_x: 400, et_y: 400, gl_x: 500, gl_y: 400, hu_x: 600, hu_y: 400, mt_x: 700, mt_y: 400, th_x: 0, th_y: 500, tr_x: 100, tr_y: 500, fa_x: 200, fa_y: 500, af_x: 300, af_y: 500, ms_x: 400, ms_y: 500, sw_x: 500, sw_y: 500, ga_x: 600, ga_y: 500, cy_x: 700, cy_y: 500, be_x: 0, be_y: 600, is_x: 100, is_y: 600, mk_x: 200, mk_y: 600, yi_x: 300, yi_y: 600, hy_x: 400, hy_y: 600, az_x: 500, az_y: 600, eu_x: 600, eu_y: 600, ka_x: 700, ka_y: 600, ht_x: 0, ht_y: 700, ur_x: 100, ur_y: 700};
|
139 |
|
140 |
function RefreshDoWidgetCode() {
|
343 |
<div class="postbox">
|
344 |
<h3 id="settings">Widget options</h3>
|
345 |
<div class="inside">
|
346 |
+
<table style="width:100%;" cellpadding="4">
|
347 |
<tr>
|
348 |
<td class="option_name">Translation method:</td>
|
349 |
<td>
|
362 |
<option value="sq">Albanian</option>
|
363 |
<option value="ar">Arabic</option>
|
364 |
<option value="hy">Armenian</option>
|
365 |
+
<option value="qab">Aurebesh</option>
|
366 |
<option value="az">Azerbaijani</option>
|
367 |
<option value="eu">Basque</option>
|
368 |
<option value="be">Belarusian</option>
|
369 |
+
<option value="bn">Bengali</option>
|
370 |
+
<option value="bs">Bosnian</option>
|
371 |
<option value="bg">Bulgarian</option>
|
372 |
+
<option value="my">Burmese</option>
|
373 |
<option value="ca">Catalan</option>
|
374 |
+
<option value="ceb">Cebuano</option>
|
375 |
+
<option value="ny">Chichewa</option>
|
376 |
<option value="zh-CN">Chinese (Simplified)</option>
|
377 |
<option value="zh-TW">Chinese (Traditional)</option>
|
378 |
<option value="hr">Croatian</option>
|
379 |
<option value="cs">Czech</option>
|
380 |
<option value="da">Danish</option>
|
381 |
<option value="nl">Dutch</option>
|
382 |
+
<option value="en" selected="selected">English</option>
|
383 |
+
<option value="eo">Esperanto</option>
|
384 |
<option value="et">Estonian</option>
|
385 |
<option value="tl">Filipino</option>
|
386 |
<option value="fi">Finnish</option>
|
389 |
<option value="ka">Georgian</option>
|
390 |
<option value="de">German</option>
|
391 |
<option value="el">Greek</option>
|
392 |
+
<option value="gu">Gujarati</option>
|
393 |
<option value="ht">Haitian Creole</option>
|
394 |
+
<option value="ha">Hausa</option>
|
395 |
<option value="iw">Hebrew</option>
|
396 |
<option value="hi">Hindi</option>
|
397 |
+
<option value="hmn">Hmong</option>
|
398 |
<option value="hu">Hungarian</option>
|
399 |
<option value="is">Icelandic</option>
|
400 |
+
<option value="ig">Igbo</option>
|
401 |
<option value="id">Indonesian</option>
|
402 |
<option value="ga">Irish</option>
|
403 |
<option value="it">Italian</option>
|
404 |
<option value="ja">Japanese</option>
|
405 |
+
<option value="jw">Javanese</option>
|
406 |
+
<option value="kn">Kannada</option>
|
407 |
+
<option value="kk">Kazakh</option>
|
408 |
+
<option value="km">Khmer</option>
|
409 |
<option value="ko">Korean</option>
|
410 |
+
<option value="lo">Lao</option>
|
411 |
+
<option value="la">Latin</option>
|
412 |
<option value="lv">Latvian</option>
|
413 |
<option value="lt">Lithuanian</option>
|
414 |
<option value="mk">Macedonian</option>
|
415 |
+
<option value="mg">Malagasy</option>
|
416 |
<option value="ms">Malay</option>
|
417 |
+
<option value="ml">Malayalam</option>
|
418 |
<option value="mt">Maltese</option>
|
419 |
+
<option value="mi">Maori</option>
|
420 |
+
<option value="mr">Marathi</option>
|
421 |
+
<option value="mn">Mongolian</option>
|
422 |
+
<option value="ne">Nepali</option>
|
423 |
<option value="no">Norwegian</option>
|
424 |
<option value="fa">Persian</option>
|
425 |
<option value="pl">Polish</option>
|
426 |
<option value="pt">Portuguese</option>
|
427 |
+
<option value="pa">Punjabi</option>
|
428 |
<option value="ro">Romanian</option>
|
429 |
<option value="ru">Russian</option>
|
430 |
<option value="sr">Serbian</option>
|
431 |
+
<option value="st">Sesotho</option>
|
432 |
+
<option value="si">Sinhalese</option>
|
433 |
<option value="sk">Slovak</option>
|
434 |
<option value="sl">Slovenian</option>
|
435 |
+
<option value="so">Somali</option>
|
436 |
<option value="es">Spanish</option>
|
437 |
+
<option value="su">Sundanese</option>
|
438 |
<option value="sw">Swahili</option>
|
439 |
<option value="sv">Swedish</option>
|
440 |
+
<option value="tg">Tajik</option>
|
441 |
+
<option value="ta">Tamil</option>
|
442 |
+
<option value="te">Telugu</option>
|
443 |
<option value="th">Thai</option>
|
444 |
<option value="tr">Turkish</option>
|
445 |
<option value="uk">Ukrainian</option>
|
446 |
<option value="ur">Urdu</option>
|
447 |
+
<option value="uz">Uzbek</option>
|
448 |
<option value="vi">Vietnamese</option>
|
449 |
<option value="cy">Welsh</option>
|
450 |
<option value="yi">Yiddish</option>
|
451 |
+
<option value="yo">Yoruba</option>
|
452 |
+
<option value="zu">Zulu</option>
|
453 |
</select>
|
454 |
</td>
|
455 |
</tr>
|
484 |
</td>
|
485 |
</tr>
|
486 |
<tr>
|
487 |
+
<td class="option_name" colspan="2">Flag languages:<br /><br />
|
488 |
+
|
489 |
+
<div>
|
490 |
+
<div style="width:25%;float:left;">
|
491 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langsaf" name="fincl_langs[]" value="af"><label for="fincl_langsaf">Afrikaans</label><br />
|
492 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langssq" name="fincl_langs[]" value="sq"><label for="fincl_langssq">Albanian</label><br />
|
493 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langsar" name="fincl_langs[]" value="ar"><label for="fincl_langsar">Arabic</label><br />
|
503 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langscs" name="fincl_langs[]" value="cs"><label for="fincl_langscs">Czech</label><br />
|
504 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langsda" name="fincl_langs[]" value="da"><label for="fincl_langsda">Danish</label><br />
|
505 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langsnl" name="fincl_langs[]" value="nl"><label for="fincl_langsnl">Dutch</label><br />
|
506 |
+
</div>
|
507 |
+
<div style="width:25%;float:left;">
|
508 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langsen" name="fincl_langs[]" value="en" checked><label for="fincl_langsen">English</label><br />
|
509 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langset" name="fincl_langs[]" value="et"><label for="fincl_langset">Estonian</label><br />
|
510 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langstl" name="fincl_langs[]" value="tl"><label for="fincl_langstl">Filipino</label><br />
|
520 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langshu" name="fincl_langs[]" value="hu"><label for="fincl_langshu">Hungarian</label><br />
|
521 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langsis" name="fincl_langs[]" value="is"><label for="fincl_langsis">Icelandic</label><br />
|
522 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langsid" name="fincl_langs[]" value="id"><label for="fincl_langsid">Indonesian</label><br />
|
523 |
+
</div>
|
524 |
+
<div style="width:25%;float:left;">
|
525 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langsga" name="fincl_langs[]" value="ga"><label for="fincl_langsga">Irish</label><br />
|
526 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langsit" name="fincl_langs[]" value="it" checked><label for="fincl_langsit">Italian</label><br />
|
527 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langsja" name="fincl_langs[]" value="ja"><label for="fincl_langsja">Japanese</label><br />
|
537 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langspt" name="fincl_langs[]" value="pt" checked><label for="fincl_langspt">Portuguese</label><br />
|
538 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langsro" name="fincl_langs[]" value="ro"><label for="fincl_langsro">Romanian</label><br />
|
539 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langsru" name="fincl_langs[]" value="ru" checked><label for="fincl_langsru">Russian</label><br />
|
540 |
+
</div>
|
541 |
+
<div style="width:25%;float:left;">
|
542 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langssr" name="fincl_langs[]" value="sr"><label for="fincl_langssr">Serbian</label><br />
|
543 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langssk" name="fincl_langs[]" value="sk"><label for="fincl_langssk">Slovak</label><br />
|
544 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langssl" name="fincl_langs[]" value="sl"><label for="fincl_langssl">Slovenian</label><br />
|
553 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langscy" name="fincl_langs[]" value="cy"><label for="fincl_langscy">Welsh</label><br />
|
554 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langsyi" name="fincl_langs[]" value="yi"><label for="fincl_langsyi">Yiddish</label><br />
|
555 |
</div>
|
556 |
+
</div>
|
557 |
+
<br /><br />
|
558 |
</td>
|
559 |
</tr>
|
560 |
<tr>
|
561 |
+
<td class="option_name">Line break after flags:</td>
|
562 |
<td><input id="add_new_line" name="add_new_line" value="1" type="checkbox" checked="checked" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()"/></td>
|
563 |
</tr>
|
564 |
<tr>
|
566 |
<td><input id="show_dropdown" name="show_dropdown" value="1" type="checkbox" checked="checked" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()"/></td>
|
567 |
</tr>
|
568 |
<tr>
|
569 |
+
<td class="option_name" colspan="2">Dropdown languages:<br /><br />
|
570 |
+
<div>
|
571 |
+
<div style="width:25%;float:left;">
|
572 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsaf" name="incl_langs[]" value="af" checked><label for="incl_langsaf">Afrikaans</label><br />
|
573 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langssq" name="incl_langs[]" value="sq" checked><label for="incl_langssq">Albanian</label><br />
|
574 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsar" name="incl_langs[]" value="ar" checked><label for="incl_langsar">Arabic</label><br />
|
575 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langshy" name="incl_langs[]" value="hy" checked><label for="incl_langshy">Armenian</label><br />
|
576 |
+
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsqab" name="incl_langs[]" value="qab" checked><label for="incl_langsqab">Aurebesh</label><br />
|
577 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsaz" name="incl_langs[]" value="az" checked><label for="incl_langsaz">Azerbaijani</label><br />
|
578 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langseu" name="incl_langs[]" value="eu" checked><label for="incl_langseu">Basque</label><br />
|
579 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsbe" name="incl_langs[]" value="be" checked><label for="incl_langsbe">Belarusian</label><br />
|
580 |
+
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsbn" name="incl_langs[]" value="bn" checked><label for="incl_langsbn">Bengali</label><br />
|
581 |
+
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsbs" name="incl_langs[]" value="bs" checked><label for="incl_langsbs">Bosnian</label><br />
|
582 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsbg" name="incl_langs[]" value="bg" checked><label for="incl_langsbg">Bulgarian</label><br />
|
583 |
+
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsmy" name="incl_langs[]" value="my" checked><label for="incl_langsmy">Burmese</label><br />
|
584 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsca" name="incl_langs[]" value="ca" checked><label for="incl_langsca">Catalan</label><br />
|
585 |
+
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsceb" name="incl_langs[]" value="ceb" checked><label for="incl_langsceb">Cebuano</label><br />
|
586 |
+
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsny" name="incl_langs[]" value="ny" checked><label for="incl_langsny">Chichewa</label><br />
|
587 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langszh-CN" name="incl_langs[]" value="zh-CN" checked><label for="incl_langszh-CN">Chinese (Simplified)</label><br />
|
588 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langszh-TW" name="incl_langs[]" value="zh-TW" checked><label for="incl_langszh-TW">Chinese (Traditional)</label><br />
|
589 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langshr" name="incl_langs[]" value="hr" checked><label for="incl_langshr">Croatian</label><br />
|
591 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsda" name="incl_langs[]" value="da" checked><label for="incl_langsda">Danish</label><br />
|
592 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsnl" name="incl_langs[]" value="nl" checked><label for="incl_langsnl">Dutch</label><br />
|
593 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsen" name="incl_langs[]" value="en" checked><label for="incl_langsen">English</label><br />
|
594 |
+
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langseo" name="incl_langs[]" value="eo" checked><label for="incl_langseo">Esperanto</label><br />
|
595 |
+
</div>
|
596 |
+
<div style="width:25%;float:left;">
|
597 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langset" name="incl_langs[]" value="et" checked><label for="incl_langset">Estonian</label><br />
|
598 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langstl" name="incl_langs[]" value="tl" checked><label for="incl_langstl">Filipino</label><br />
|
599 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsfi" name="incl_langs[]" value="fi" checked><label for="incl_langsfi">Finnish</label><br />
|
602 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langska" name="incl_langs[]" value="ka" checked><label for="incl_langska">Georgian</label><br />
|
603 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsde" name="incl_langs[]" value="de" checked><label for="incl_langsde">German</label><br />
|
604 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsel" name="incl_langs[]" value="el" checked><label for="incl_langsel">Greek</label><br />
|
605 |
+
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsgu" name="incl_langs[]" value="gu" checked><label for="incl_langsgu">Gujarati</label><br />
|
606 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsht" name="incl_langs[]" value="ht" checked><label for="incl_langsht">Haitian Creole</label><br />
|
607 |
+
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsha" name="incl_langs[]" value="ha" checked><label for="incl_langsha">Hausa</label><br />
|
608 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsiw" name="incl_langs[]" value="iw" checked><label for="incl_langsiw">Hebrew</label><br />
|
609 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langshi" name="incl_langs[]" value="hi" checked><label for="incl_langshi">Hindi</label><br />
|
610 |
+
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langshmn" name="incl_langs[]" value="hmn" checked><label for="incl_langshmn">Hmong</label><br />
|
611 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langshu" name="incl_langs[]" value="hu" checked><label for="incl_langshu">Hungarian</label><br />
|
612 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsis" name="incl_langs[]" value="is" checked><label for="incl_langsis">Icelandic</label><br />
|
613 |
+
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsig" name="incl_langs[]" value="ig" checked><label for="incl_langsig">Igbo</label><br />
|
614 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsid" name="incl_langs[]" value="id" checked><label for="incl_langsid">Indonesian</label><br />
|
615 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsga" name="incl_langs[]" value="ga" checked><label for="incl_langsga">Irish</label><br />
|
616 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsit" name="incl_langs[]" value="it" checked><label for="incl_langsit">Italian</label><br />
|
617 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsja" name="incl_langs[]" value="ja" checked><label for="incl_langsja">Japanese</label><br />
|
618 |
+
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsjw" name="incl_langs[]" value="jw" checked><label for="incl_langsjw">Javanese</label><br />
|
619 |
+
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langskn" name="incl_langs[]" value="kn" checked><label for="incl_langskn">Kannada</label><br />
|
620 |
+
</div>
|
621 |
+
<div style="width:25%;float:left;">
|
622 |
+
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langskk" name="incl_langs[]" value="kk" checked><label for="incl_langskk">Kazakh</label><br />
|
623 |
+
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langskm" name="incl_langs[]" value="km" checked><label for="incl_langskm">Khmer</label><br />
|
624 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsko" name="incl_langs[]" value="ko" checked><label for="incl_langsko">Korean</label><br />
|
625 |
+
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langslo" name="incl_langs[]" value="lo" checked><label for="incl_langslo">Lao</label><br />
|
626 |
+
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsla" name="incl_langs[]" value="la" checked><label for="incl_langsla">Latin</label><br />
|
627 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langslv" name="incl_langs[]" value="lv" checked><label for="incl_langslv">Latvian</label><br />
|
628 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langslt" name="incl_langs[]" value="lt" checked><label for="incl_langslt">Lithuanian</label><br />
|
629 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsmk" name="incl_langs[]" value="mk" checked><label for="incl_langsmk">Macedonian</label><br />
|
630 |
+
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsmg" name="incl_langs[]" value="mg" checked><label for="incl_langsmg">Malagasy</label><br />
|
631 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsms" name="incl_langs[]" value="ms" checked><label for="incl_langsms">Malay</label><br />
|
632 |
+
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsml" name="incl_langs[]" value="ml" checked><label for="incl_langsml">Malayalam</label><br />
|
633 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsmt" name="incl_langs[]" value="mt" checked><label for="incl_langsmt">Maltese</label><br />
|
634 |
+
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsmi" name="incl_langs[]" value="mi" checked><label for="incl_langsmi">Maori</label><br />
|
635 |
+
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsmr" name="incl_langs[]" value="mr" checked><label for="incl_langsmr">Marathi</label><br />
|
636 |
+
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsmn" name="incl_langs[]" value="mn" checked><label for="incl_langsmn">Mongolian</label><br />
|
637 |
+
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsne" name="incl_langs[]" value="ne" checked><label for="incl_langsne">Nepali</label><br />
|
638 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsno" name="incl_langs[]" value="no" checked><label for="incl_langsno">Norwegian</label><br />
|
639 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsfa" name="incl_langs[]" value="fa" checked><label for="incl_langsfa">Persian</label><br />
|
640 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langspl" name="incl_langs[]" value="pl" checked><label for="incl_langspl">Polish</label><br />
|
641 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langspt" name="incl_langs[]" value="pt" checked><label for="incl_langspt">Portuguese</label><br />
|
642 |
+
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langspa" name="incl_langs[]" value="pa" checked><label for="incl_langspa">Punjabi</label><br />
|
643 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsro" name="incl_langs[]" value="ro" checked><label for="incl_langsro">Romanian</label><br />
|
644 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsru" name="incl_langs[]" value="ru" checked><label for="incl_langsru">Russian</label><br />
|
645 |
+
</div>
|
646 |
+
<div style="width:25%;float:left;">
|
647 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langssr" name="incl_langs[]" value="sr" checked><label for="incl_langssr">Serbian</label><br />
|
648 |
+
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsst" name="incl_langs[]" value="st" checked><label for="incl_langsst">Sesotho</label><br />
|
649 |
+
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langssi" name="incl_langs[]" value="si" checked><label for="incl_langssi">Sinhalese</label><br />
|
650 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langssk" name="incl_langs[]" value="sk" checked><label for="incl_langssk">Slovak</label><br />
|
651 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langssl" name="incl_langs[]" value="sl" checked><label for="incl_langssl">Slovenian</label><br />
|
652 |
+
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsso" name="incl_langs[]" value="so" checked><label for="incl_langsso">Somali</label><br />
|
653 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langses" name="incl_langs[]" value="es" checked><label for="incl_langses">Spanish</label><br />
|
654 |
+
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langssu" name="incl_langs[]" value="su" checked><label for="incl_langssu">Sundanese</label><br />
|
655 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langssw" name="incl_langs[]" value="sw" checked><label for="incl_langssw">Swahili</label><br />
|
656 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langssv" name="incl_langs[]" value="sv" checked><label for="incl_langssv">Swedish</label><br />
|
657 |
+
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langstg" name="incl_langs[]" value="tg" checked><label for="incl_langstg">Tajik</label><br />
|
658 |
+
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsta" name="incl_langs[]" value="ta" checked><label for="incl_langsta">Tamil</label><br />
|
659 |
+
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langste" name="incl_langs[]" value="te" checked><label for="incl_langste">Telugu</label><br />
|
660 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsth" name="incl_langs[]" value="th" checked><label for="incl_langsth">Thai</label><br />
|
661 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langstr" name="incl_langs[]" value="tr" checked><label for="incl_langstr">Turkish</label><br />
|
662 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsuk" name="incl_langs[]" value="uk" checked><label for="incl_langsuk">Ukrainian</label><br />
|
663 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsur" name="incl_langs[]" value="ur" checked><label for="incl_langsur">Urdu</label><br />
|
664 |
+
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsuz" name="incl_langs[]" value="uz" checked><label for="incl_langsuz">Uzbek</label><br />
|
665 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsvi" name="incl_langs[]" value="vi" checked><label for="incl_langsvi">Vietnamese</label><br />
|
666 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langscy" name="incl_langs[]" value="cy" checked><label for="incl_langscy">Welsh</label><br />
|
667 |
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsyi" name="incl_langs[]" value="yi" checked><label for="incl_langsyi">Yiddish</label><br />
|
668 |
+
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langsyo" name="incl_langs[]" value="yo" checked><label for="incl_langsyo">Yoruba</label><br />
|
669 |
+
<input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="incl_langszu" name="incl_langs[]" value="zu" checked><label for="incl_langszu">Zulu</label><br />
|
670 |
+
</div>
|
671 |
</div>
|
672 |
</td>
|
673 |
</tr>
|
703 |
</div>
|
704 |
</div>
|
705 |
</div>
|
706 |
+
|
707 |
+
<div id="poststuff">
|
708 |
+
<div class="postbox">
|
709 |
+
<h3 id="settings">Do you like GTranslate?</h3>
|
710 |
+
<div class="inside">
|
711 |
+
<p>Please write a review on <a href="https://wordpress.org/support/view/plugin-reviews/gtranslate?filter=5">WordPress.org</a>.</p>
|
712 |
+
|
713 |
+
<div id="fb-root"></div>
|
714 |
+
<script>(function(d, s, id) {
|
715 |
+
var js, fjs = d.getElementsByTagName(s)[0];
|
716 |
+
if (d.getElementById(id)) return;
|
717 |
+
js = d.createElement(s); js.id = id;
|
718 |
+
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5&appId=231165476898475";
|
719 |
+
fjs.parentNode.insertBefore(js, fjs);
|
720 |
+
}(document, 'script', 'facebook-jssdk'));</script>
|
721 |
+
|
722 |
+
<div class="fb-page" data-href="https://www.facebook.com/gtranslate" data-width="450" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><div class="fb-xfbml-parse-ignore"><blockquote cite="https://www.facebook.com/gtranslate"><a href="https://www.facebook.com/gtranslate">GTranslate</a></blockquote></div></div>
|
723 |
+
|
724 |
+
</div>
|
725 |
+
</div>
|
726 |
+
</div>
|
727 |
+
|
728 |
<div id="poststuff">
|
729 |
<div class="postbox">
|
730 |
<h3 id="settings">Useful info</h3>
|
765 |
|
766 |
<script type="text/javascript"><?php echo $script; ?></script>
|
767 |
<style type="text/css">
|
768 |
+
.postbox #settings {padding-left:12px;}
|
769 |
.og_left_col { width: 59%; }
|
770 |
.og_right_col { width: 39%; float: right; }
|
771 |
.og_left_col #poststuff, .og_right_col #poststuff { min-width: 0; }
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: edo888
|
|
3 |
Author: Edvard Ananyan
|
4 |
Tags: widget, plugin, sidebar, google, translate, translation, automatic translator, google translate, ajax translator, jquery translator, language translator, google translator, language translate, google language translator, translation, translate, multi language
|
5 |
Requires at least: 2.8
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 2.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
Donate link: https://www.paypal.me/EdvardAnanyan/10
|
@@ -13,7 +13,9 @@ GTranslate uses Google Translate power to make your website multilingual and ava
|
|
13 |
|
14 |
== Description ==
|
15 |
|
16 |
-
This module uses Google Translate automatic translation service to translate your web page with Google power. With
|
|
|
|
|
17 |
|
18 |
Please `use` [GTranslate Forum](http://gtranslate.net/forum/) for your questions and support requests!
|
19 |
|
@@ -30,87 +32,6 @@ Please `use` [GTranslate Forum](http://gtranslate.net/forum/) for your questions
|
|
30 |
**Watch GTranslate Tour**
|
31 |
[vimeo http://vimeo.com/30132555]
|
32 |
|
33 |
-
***Google Translate Wiki***
|
34 |
-
|
35 |
-
Google Translate is a multilingual service provided by Google to translate written text from one language into another. It supports 90 languages.
|
36 |
-
|
37 |
-
Before October 2007, for languages other than Arabic, Chinese and Russian, Google Translate was based on SYSTRAN, a software engine which is still used by several other online translation services such as Yahoo! Babel Fish, AOL, and Yahoo. Since October 2007, Google Translate has used proprietary, in-house technology based on statistical machine translation instead.
|
38 |
-
|
39 |
-
On May 26, 2011, Google announced that the Google Translate API for software developers had been deprecated and would cease functioning on December 1, 2011, "due to the substantial economic burden caused by extensive abuse." Because the API was used in numerous third-party websites, this decision led some developers to criticize Google and question the viability of using Google APIs in their products. In response to public pressure, Google announced on June 3, 2011, that the API would continue to be available as a paid service.
|
40 |
-
|
41 |
-
The company stated in 2013 that it served 200 million people daily.
|
42 |
-
|
43 |
-
**Features**
|
44 |
-
|
45 |
-
Google Translate offers a web interface, mobile interfaces for Android and iOS, and an API that developers can use to build browser extensions, applications and other software. For some languages, Google Translate can pronounce translated text, highlight corresponding words and phrases in the source and target text, and act as a simple dictionary for single-word input. If "Detect language" is selected, text in an unknown language can be identified.
|
46 |
-
|
47 |
-
In the web interface, users can suggest alternate translations, such as for technical terms, or correct mistakes. These suggestions are included in future updates to the translation process. If a user enters a URL in the source text, Google Translate will produce a hyperlink to a machine translation of the website. For some languages, text can be entered via an on-screen keyboard, handwriting recognition, or speech recognition. It is possible to enter searches in a source language that are first translated to a destination language allowing one to browse and interpret results from the selected destination language in the source language. In 2015 the application gained the ability to translate text in real time using the device's camera, as a result of Google's acquisition of the Word Lens app.
|
48 |
-
|
49 |
-
*Browser integration*
|
50 |
-
|
51 |
-
Google Translate is available in some browsers as an extension which can translate.
|
52 |
-
|
53 |
-
A number of Firefox extensions exist for Google services, and likewise for Google Translate, which allow right-click command access to the translation service.
|
54 |
-
|
55 |
-
An extension for Google's Chrome browser also exists; in February 2010, Google Translate was integrated into the standard Google Chrome browser for automatic webpage translation.
|
56 |
-
|
57 |
-
*Android version*
|
58 |
-
|
59 |
-
Google Translate is available as a free downloadable application for Android OS users. The first version was launched in January 2010. It works simply like the browser version. Google translation for Android contains two main options: "SMS translation" and "History".
|
60 |
-
|
61 |
-
An early 2011 version supported Conversation Mode when translating between English and Spanish (in alpha testing). This interface within Google Translate allows users to communicate fluidly with a nearby person in another language. In October 2011 it was expanded to 14 languages.
|
62 |
-
|
63 |
-
The application supports 90 languages and voice input for 15 languages. It is available for devices running Android 2.1 and above and can be downloaded by searching for "Google Translate" in Google Play. It was first released in January 2010, with an improved version available on January 12, 2011.
|
64 |
-
|
65 |
-
The 'Camera input' functionality allows users to take a photograph of a document, signboard, etc. Google Translate recognises the text from the image using Optical Character Recognition (OCR) technology and gives the translation. Camera input is not available for all languages.
|
66 |
-
|
67 |
-
Latest version: 2.0.0 build 42.
|
68 |
-
|
69 |
-
*iOS version*
|
70 |
-
|
71 |
-
In August 2008, Google launched a Google Translate HTML5 web application for iOS for iPhone and iPod Touch users. The official iOS app for Google Translate was released February 8, 2011. It accepts voice input for 15 languages and allows translation of a word or phrase into one of more than 50 languages. Translations can be spoken out loud in 23 different languages.
|
72 |
-
|
73 |
-
**Limitations**
|
74 |
-
|
75 |
-
Google Translate, like other automatic translation tools, has its limitations. The service limits the number of paragraphs and the range of technical terms that can be translated, and while it can help the reader to understand the general content of a foreign language text, it does not always deliver accurate translations and most times, it tends to repeat verbatim the same word it's expected to translate. Grammatically, for example, Google Translate struggles to differentiate between imperfect and perfect tenses in Romance languages so habitual and continuous acts in the past often become single historical events. Although seemingly pedantic, this can often lead incorrect results (to a native speaker of for example French and Spanish) which would have been avoided by a human translator. Knowledge of the subjunctive mood is virtually non-existent. Moreover, the informal second person (tu) is often chosen, whatever the context or accepted usage. Since its English reference material contains only "you" forms, it is difficult to translate into a language which has more.
|
76 |
-
|
77 |
-
Some languages produce better results than others. Google Translate performs well especially when English is the target language and the source language is from the European Union due to the prominence of translated EU parliament notes. A 2010 analysis indicated that French to English translation is relatively accurate, and 2011 and 2012 analyses showed that Italian to English translation is relatively accurate as well. However, if the source text is shorter, rule-based machine translations often perform better; this effect is particularly evident in Chinese to English translations. While edits of translations may be submitted, in Chinese specifically one is not able to edit sentences as a whole. Instead, one must edit sometimes arbitrary sets of characters, leading to incorrect edits.
|
78 |
-
|
79 |
-
Texts written in the Greek, Devanagari, Cyrillic and Arabic scripts can be transliterated automatically from phonetic equivalents written in the Latin alphabet. The browser version of the Google translator provides the read phonetically option for Japanese to English conversion. The same option is not available on the paid API version.
|
80 |
-
|
81 |
-
Many of the more popular languages have a "text-to-speech" audio function that is able to read back a text in that language, up to a few dozen words or so. In the case of pluricentric languages, the accent depends on the region: for English, in the Americas, most of the Asia-Pacific and West Asia the audio uses a female General American accent, whereas in Europe, Hong Kong, Malaysia, Singapore, Guyana and all other parts of the world a female British English accent is used, except for a special Oceania accent used in Australia, New Zealand and Norfolk lsland; for Spanish, in the Americas a Latin American Spanish accent is used, while in the other parts of the world a Castilian Spanish accent is used; Portuguese uses a Sao Paulo accent in the world, except for Portugal, where their native accent is used. Some less widely spoken languages use the open-source eSpeak synthesizer for their speech; producing a robotic, awkward voice that may be difficult to understand.
|
82 |
-
|
83 |
-
**Translation methodology**
|
84 |
-
|
85 |
-
Google Translate does not apply grammatical rules, since its algorithms are based on statistical analysis rather than traditional rule-based analysis. The system's original creator, Franz Josef Och, has criticized the effectiveness of rule-based algorithms in favor of statistical approaches. It is based on a method called statistical machine translation, and more specifically, on research by Och who won the DARPA contest for speed machine translation in 2003. Och was the head of Google's machine translation group until leaving to join Human Longevity, Inc. in July 2014.
|
86 |
-
|
87 |
-
Google Translate does not translate from one language to another (L1 -> L2). Instead, it often translates first to English and then to the target language (L1 -> EN -> L2). However, because English, like all human languages, is ambiguous and depends on context, this can cause translation errors.
|
88 |
-
|
89 |
-
The following languages do not have a direct Google translation to or from English. These languages are translated through the indicated intermediate language (which in all cases is closely related to the desired language but more widely spoken) in addition to through English:
|
90 |
-
|
91 |
-
* Belarusian (be <-> ru <-> en <-> other);
|
92 |
-
* Catalan (ca <-> es <-> en <-> other);
|
93 |
-
* Galician (gl <-> pt <-> en <-> other);
|
94 |
-
* Haitian Creole (ht <-> fr <-> en <-> other);
|
95 |
-
* Slovak (sk <-> cs <-> en <-> other);
|
96 |
-
* Ukrainian (uk <-> ru <-> en <-> other);
|
97 |
-
* Urdu (ur <-> hi <-> en <-> other).
|
98 |
-
|
99 |
-
According to Och, a solid base for developing a usable statistical machine translation system for a new pair of languages from scratch would consist of a bilingual text corpus (or parallel collection) of more than 150-200 million words, and two monolingual corpora each of more than a billion words. Statistical models from these data are then used to translate between those languages.
|
100 |
-
|
101 |
-
To acquire this huge amount of linguistic data, Google used United Nations documents. The UN typically publishes documents in all six official UN languages, which has produced a very large 6-language corpus.
|
102 |
-
|
103 |
-
Google representatives have been involved with domestic conferences in Japan where Google has solicited bilingual data from researchers.
|
104 |
-
|
105 |
-
When Google Translate generates a translation, it looks for patterns in hundreds of millions of documents to help decide on the best translation. By detecting patterns in documents that have already been translated by human translators, Google Translate makes intelligent guesses (AI) as to what an appropriate translation should be.
|
106 |
-
|
107 |
-
**Reviews**
|
108 |
-
|
109 |
-
Shortly after launching the translation service, Google won an international competition for English <-> Arabic and English <-> Chinese machine translation.
|
110 |
-
|
111 |
-
**Translation mistakes and oddities**
|
112 |
-
Since Google Translate uses statistical matching to translate, translated text can often include apparently nonsensical and obvious errors, often swapping common terms for similar but nonequivalent common terms in the other language, as well as inverting sentence meaning.[citation needed] Also, for the speech, it uses only European French as well as Latin American Spanish worldwide, but both Portugal and Brazilian Portuguese (European for translate.google.pt and Brazilian for all other Google Translate sites).
|
113 |
-
|
114 |
== Installation ==
|
115 |
|
116 |
1. Upload `gtranslate` folder to the `/wp-content/plugins/` directory
|
@@ -457,6 +378,10 @@ You need to go to the language you want to edit, for instance, French: http://do
|
|
457 |
|
458 |
== Changelog ==
|
459 |
|
|
|
|
|
|
|
|
|
460 |
= 2.0.3 =
|
461 |
* Update recommended message added - a minor change compared to 2.0.2
|
462 |
|
3 |
Author: Edvard Ananyan
|
4 |
Tags: widget, plugin, sidebar, google, translate, translation, automatic translator, google translate, ajax translator, jquery translator, language translator, google translator, language translate, google language translator, translation, translate, multi language
|
5 |
Requires at least: 2.8
|
6 |
+
Tested up to: 4.4
|
7 |
+
Stable tag: 2.0.4
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
Donate link: https://www.paypal.me/EdvardAnanyan/10
|
13 |
|
14 |
== Description ==
|
15 |
|
16 |
+
This module uses Google Translate automatic translation service to translate your web page with Google power. With 92 available languages your site will be available to more than 98% of internet users.
|
17 |
+
|
18 |
+
GTranslate is a leading Google Translate provider since 2008 and powers more than 500.000 websites worldwide.
|
19 |
|
20 |
Please `use` [GTranslate Forum](http://gtranslate.net/forum/) for your questions and support requests!
|
21 |
|
32 |
**Watch GTranslate Tour**
|
33 |
[vimeo http://vimeo.com/30132555]
|
34 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
== Installation ==
|
36 |
|
37 |
1. Upload `gtranslate` folder to the `/wp-content/plugins/` directory
|
378 |
|
379 |
== Changelog ==
|
380 |
|
381 |
+
= 2.0.4 =
|
382 |
+
* Added 34 new languages!
|
383 |
+
* Support for wordpress 4.4
|
384 |
+
|
385 |
= 2.0.3 =
|
386 |
* Update recommended message added - a minor change compared to 2.0.2
|
387 |
|