Not all pages are translated
Jan 24, 2013 6:03 pm by ccorucci
Jan 24, 2013 6:03 pm by ccorucci
I've bought Pro edition yesterday.
My site is http://www.tenutacolliverdi.com.
only few page are traslated i've tried anything ...
Now i try put "?force_translation=1" in the url.
In the browser i see many time :
Notice: Undefined variable: result in E:\dati\www\colliverdi\gtranslate\translate.php on line 201
and the page is not translated ..
PLs help me !!!!
Tnx
Re: Not all pages are translated
Jan 24, 2013 6:26 pm by ccorucci
Jan 24, 2013 6:26 pm by ccorucci
The error append only if i set true :
define('USE_BING_TRANSLATOR', false); // Enable it to use Bing Translotor instead of Google Translate
with ?force_translation=1 and only google activated work fine but not automatically
Re: Not all pages are translated
Jan 24, 2013 8:56 pm by Yana
Jan 24, 2013 8:56 pm by Yana
Hi,
Sometimes it may stop translating to not exceed the limits set by Google. The limit.txt is intended for saving the translation traffic. It has a time stamp in it and it expires. If you wait, it will expire and the translation process will continue. When you add ?force_translation=1 you force the translation process to be continued.
I tried ?force_translation=1 and it works.
Please check your BING API key.
Re: Not all pages are translated
Jan 25, 2013 9:31 am by ccorucci
Jan 25, 2013 9:31 am by ccorucci
Hi Yana ,
i've tried to delete many times limit.txt
i think that i have some problem with cookies ... if i put in my joomla 2.5.8(with gantry template) cookiepath in apache log server have:
[Fri Jan 25 09:46:59 2013] [error] [client 10.0.0.65] PHP Notice: Undefined index: HTTP_COOKIE in E:\\dati\\www\\colliverdi\\gtranslate\\translate.php on line 153
This is the debug.txt, sometimes work and sometimes no :
< HTTP/1.1 200 OK
< Date: Fri, 25 Jan 2013 09:18:50 GMT
< Server: Apache/2.2.21 (Win32) PHP/5.2.17
< X-Powered-By: PHP/5.2.17
< P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"
< Cache-Control: no-cache
< Pragma: no-cache
< Transfer-Encoding: chunked
< Content-Type: text/html; charset=utf-8
<
* Connection #0 to host www.tenutacolliverdi.com left intact
* Closing connection #0
* About to connect() to www.tenutacolliverdi.com port 80 (#0)
* Trying 10.0.0.112... * connected
* Connected to www.tenutacolliverdi.com (10.0.0.112) port 80 (#0)
> GET /agriturismo.html HTTP/1.1
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.56 Safari/537.17
Host: www.tenutacolliverdi.com
Accept: */*
Cookie: d310a32557a25e145e517001ec98044b=it-IT; tinymcePasteText=1; PHPSESSID=ncdbnqdlsrurlg1qva904c8t02; b7dbe1bd439a858629121e30ea7005ac=nn74sqtle6k7imc6l885evbu65; jpanesliders_panel-sliders=0; jpanesliders_position-icon=0; 12fdeaab4630452644a664d3fcfd7533=un0kprfspib1dto60itt5nvog3; __utma=68648724.433273573.1354449031.1359101538.1359104809.61; __utmb=68648724.11.10.1359104809; __utmc=68648724; __utmz=68648724.1358762614.48.6.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided)
< HTTP/1.1 200 OK
< Date: Fri, 25 Jan 2013 09:18:59 GMT
< Server: Apache/2.2.21 (Win32) PHP/5.2.17
< X-Powered-By: PHP/5.2.17
< P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"
< Cache-Control: no-cache
< Pragma: no-cache
< Transfer-Encoding: chunked
< Content-Type: text/html; charset=utf-8
<
* Connection #0 to host www.tenutacolliverdi.com left intact
* Closing connection #0
* About to connect() to www.tenutacolliverdi.com port 80 (#0)
* Trying 10.0.0.112... * connected
* Connected to www.tenutacolliverdi.com (10.0.0.112) port 80 (#0)
> GET /e-shop/prodotti HTTP/1.1
User-Agent: Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
Host: www.tenutacolliverdi.com
Accept: */*
Cookie:
< HTTP/1.1 200 OK
< Date: Fri, 25 Jan 2013 09:19:54 GMT
< Server: Apache/2.2.21 (Win32) PHP/5.2.17
< X-Powered-By: PHP/5.2.17
< Set-Cookie: 12fdeaab4630452644a664d3fcfd7533=e01frsjc22b9oia95etk83an56; path=/
< P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"
< Cache-Control: no-cache
< Pragma: no-cache
< Transfer-Encoding: chunked
< Content-Type: text/html; charset=utf-8
<
* Connection #0 to host www.tenutacolliverdi.com left intact
* Closing connection #0
* About to connect() to www.tenutacolliverdi.com port 80 (#0)
* Trying 10.0.0.112... * connected
* Connected to www.tenutacolliverdi.com (10.0.0.112) port 80 (#0)
> GET /i-vini-2/franc1 HTTP/1.1
User-Agent: Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
Host: www.tenutacolliverdi.com
Accept: */*
Cookie:
< HTTP/1.1 200 OK
< Date: Fri, 25 Jan 2013 09:23:18 GMT
< Server: Apache/2.2.21 (Win32) PHP/5.2.17
< X-Powered-By: PHP/5.2.17
< Set-Cookie: 12fdeaab4630452644a664d3fcfd7533=knnhjuf43usbgnluninqlq4961; path=/
< P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"
< Cache-Control: no-cache
< Pragma: no-cache
< Transfer-Encoding: chunked
< Content-Type: text/html; charset=utf-8
<
* Connection #0 to host www.tenutacolliverdi.com left intact
* Closing connection #0
* About to connect() to translate.google.com port 80 (#0)
* Trying 173.194.35.33... * connected
* Connected to translate.google.com (173.194.35.33) port 80 (#0)
> GET /translate_a/t?client=a&text=%C2%A0&tl=ru&sl=auto HTTP/1.1
User-Agent: Mozilla/5.0
Host: translate.google.com
Accept: */*
< HTTP/1.1 200 OK
< Pragma: no-cache
< Date: Fri, 25 Jan 2013 09:23:21 GMT
< Expires: Fri, 25 Jan 2013 09:23:21 GMT
< Cache-Control: private, max-age=600
< Content-Type: text/javascript; charset=UTF-8
< Content-Language: ru
< Set-Cookie: PREF=ID=94fde70d3e740f1c:TM=1359105801:LM=1359105801:S=9BpZCB1ZS78JEc7o; expires=Sun, 25-Jan-2015 09:23:21 GMT; path=/; domain=.google.com
< X-Content-Type-Options: nosniff
< Content-Disposition: attachment
< Server: HTTP server (unknown)
< X-XSS-Protection: 1; mode=block
< Transfer-Encoding: chunked
<
* Connection #0 to host translate.google.com left intact
* Closing connection #0
Request: client=a&text=%C2%A0&tl=ru&sl=auto
Response: {"src":"en","server_time":0}
Re: Not all pages are translated
Jan 25, 2013 2:50 pm by Yana
Jan 25, 2013 2:50 pm by Yana
Hi,
You can change gtranslate config lines in your .htaccess and add force_translation=1
# gtranslate config
RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/([a-z]{2}|zh-CN|zh-TW)/(.*)$ /$1/$3 [R=301,L]
RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/([a-z]{2}|zh-CN|zh-TW)$ /$1/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/(.*)$ /gtranslate/translate.php?lang=$1&force_translation=1&url=$2 [L,QSA]
RewriteRule ^([a-z]{2}|zh-CN|zh-TW)$ /gtranslate/translate.php?lang=$1&force_translation=1 [L,QSA]
Re: Not all pages are translated
Jan 25, 2013 6:26 pm by ccorucci
Jan 25, 2013 6:26 pm by ccorucci
Hi,
Now work fine but this isn't a solution ..... so my syte call google every time display a page .
Other way ???
Any quick solution for ie8 ??? i don 't see the flag .
in chrome work
Re: Not all pages are translated
Jan 26, 2013 3:50 pm by Yana
Jan 26, 2013 3:50 pm by Yana
Hi,
Please check your site for html validation errors and fix all end tag errors.
http://validator.w3.org/check?uri=http% ... ne&group=0
Also please consult with your hosting provider about this variables $_SERVER["SERVER_PROTOCOL"], $_SERVER["HTTP_COOKIE"] which should be defined and accessible.
SIMILAR TOPICS
Add links to all translated posts on every Wordpress post | Jan 14, 2019 8:51 pm | Replies: 5 | Post by: ptsniper |
Combining manually translated French pages with GTranslate | Oct 16, 2018 2:24 pm | Replies: 3 | Post by: oxygensmith |
Google doesnt index gtranslate pages | Jul 23, 2012 4:44 am | Replies: 21 | Post by: trotsak |
translated page not foundnPage not found | Jan 22, 2018 6:17 pm | Replies: 8 | Post by: smileexcursions |
Geotargetting pages | Jan 18, 2018 8:48 pm | Replies: 5 | Post by: challisc |