Google Language Translator - Version 6.0.9

Version Description

  • New server added into our Translation Delivery Network
  • Tested with new WordPress 5.7 version
Download this release

Release Info

Developer edo888
Plugin Icon wp plugin Google Language Translator
Version 6.0.9
Comparing to
See all releases

Code changes from version 6.0.8 to 6.0.9

google-language-translator.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Google Language Translator
4
  Plugin URI: https://gtranslate.io/?xyz=3167
5
- Version: 6.0.8
6
  Description: The MOST SIMPLE Google Translator plugin. This plugin adds Google Translator to your website by using a single shortcode, [google-translator]. Settings include: layout style, hide/show specific languages, hide/show Google toolbar, and hide/show Google branding. Add the shortcode to pages, posts, and widgets.
7
  Author: Translate AI Multilingual Solutions
8
  Author URI: https://gtranslate.io
2
  /*
3
  Plugin Name: Google Language Translator
4
  Plugin URI: https://gtranslate.io/?xyz=3167
5
+ Version: 6.0.9
6
  Description: The MOST SIMPLE Google Translator plugin. This plugin adds Google Translator to your website by using a single shortcode, [google-translator]. Settings include: layout style, hide/show specific languages, hide/show Google toolbar, and hide/show Google branding. Add the shortcode to pages, posts, and widgets.
7
  Author: Translate AI Multilingual Solutions
8
  Author URI: https://gtranslate.io
readme.txt CHANGED
@@ -5,8 +5,8 @@ Author: Translate AI Multilingual Solutions
5
  Author URI: https://gtranslate.io/?xyz=3167
6
  Tags: translate wordpress, translate, translator, translation, language, multi language
7
  Requires at least: 2.9
8
- Tested up to: 5.6
9
- Stable tag: 6.0.8
10
 
11
  Translate WordPress with Google Language Translator multilanguage plugin which allows to insert Google Translate widget anywhere on your website.
12
 
@@ -155,6 +155,10 @@ If you want us to translate your website professionally or provide you a proofre
155
  Yes! Add the "notranslate" class to the HTML element containing your text. For example, the following text will be excluded from translation: <span class="notranslate">Hello World!</span>
156
 
157
  == Changelog ==
 
 
 
 
158
  = 6.0.8 =
159
  * Tested with new WordPress 5.6 version
160
  * Ground up rebuild of our Translation Proxy cloud network for paid customers, now page translations are 3x faster on average.
5
  Author URI: https://gtranslate.io/?xyz=3167
6
  Tags: translate wordpress, translate, translator, translation, language, multi language
7
  Requires at least: 2.9
8
+ Tested up to: 5.7
9
+ Stable tag: 6.0.9
10
 
11
  Translate WordPress with Google Language Translator multilanguage plugin which allows to insert Google Translate widget anywhere on your website.
12
 
155
  Yes! Add the "notranslate" class to the HTML element containing your text. For example, the following text will be excluded from translation: <span class="notranslate">Hello World!</span>
156
 
157
  == Changelog ==
158
+ = 6.0.9 =
159
+ * New server added into our Translation Delivery Network
160
+ * Tested with new WordPress 5.7 version
161
+
162
  = 6.0.8 =
163
  * Tested with new WordPress 5.6 version
164
  * Ground up rebuild of our Translation Proxy cloud network for paid customers, now page translations are 3x faster on average.
url_addon/config.php CHANGED
@@ -111,5 +111,5 @@ fy -> Frisian
111
  xh -> Xhosa
112
  */
113
 
114
- $servers = array('van', 'kars', 'sis', 'dvin', 'ani', 'evn', 'van', 'kars', 'sis', 'tigr', 'ani', 'tigr');
115
  $debug = false;
111
  xh -> Xhosa
112
  */
113
 
114
+ $servers = array('van', 'kars', 'sis', 'dvin', 'ani', 'evn', 'vagh', 'kars', 'sis', 'tigr', 'ani', 'tigr');
115
  $debug = false;
url_addon/gtranslate.php CHANGED
@@ -146,7 +146,7 @@ curl_setopt($ch, CURLOPT_URL, $page_url);
146
  curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
147
  curl_setopt($ch, CURLOPT_HEADER, true);
148
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
149
- //curl_setopt($ch, CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1_2);
150
  curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true);
151
  curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
152
  curl_setopt($ch, CURLOPT_CAINFO, dirname(__FILE__).'/cacert.pem');
146
  curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
147
  curl_setopt($ch, CURLOPT_HEADER, true);
148
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
149
+ if(defined('CURL_IPRESOLVE_V4')) curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
150
  curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true);
151
  curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
152
  curl_setopt($ch, CURLOPT_CAINFO, dirname(__FILE__).'/cacert.pem');