[SOLVED] GtranslatePro no translation to original language
Oct 11, 2011 4:45 pm by Marco
Oct 11, 2011 4:45 pm by Marco
Hi.
A client of mine is using GTranslate Pro on a Joomla 1.5.23 website.
http://www.chefacademy.it
The translation works fine.
Altho when the user tries to translate the website back to original language (Italian) the plugin trigers the right URL but the language is still the last one the website have been translated to.
i don't use a google translate API so i guess it is not an exceeded characters issue.
All of the requested folders are 777 (plugins/system/gtranslate/cache etc...)
Could it be a rewrite issue?
Thanks for your help and the great plugin & module you've made.
Re: GtranslatePro not translating back to original language
Oct 11, 2011 5:49 pm by Edvard
Oct 11, 2011 5:49 pm by Edvard
Hi,
You've found a bug. I didn't notice that before in this last version.
Can you try to modify the doTranslate javascript function in modules/mod_gtranslate/tmpl/default.php and remove:
if(lang == '<?php echo $language; ?>')location.href=location.protocol+'//'+location.host+location.pathname.replace('/'+plang, '')+location.search;else
Re: GtranslatePro not translating back to original language
Oct 11, 2011 6:27 pm by Edvard
Oct 11, 2011 6:27 pm by Edvard
Here is the modified default.php file:
For J!1.6 & J!1.7
http://joomla-gtranslate.googlecode.com ... efault.php
For J!1.5
http://joomla-gtranslate.googlecode.com ... efault.php
Re: GtranslatePro not translating back to original language
Oct 11, 2011 11:00 pm by Marco
Oct 11, 2011 11:00 pm by Marco
Nice one.
Working now.
Can mark the thread as solved
Cheers
SIMILAR TOPICS
Large numbers of crawl errors with double language code | Jan 24, 2019 1:43 am | Replies: 1 | Post by: natastna2 |
Translate website to any specific language, on page load | Jan 19, 2019 6:49 am | Replies: 1 | Post by: Leaon7756 |
German translation changes the century | Dec 31, 2018 3:06 pm | Replies: 1 | Post by: adrievdl |
Graphic translation for every language is missing | Dec 19, 2018 7:54 am | Replies: 1 | Post by: Daryl Dixon |
How to remove mobile Language Select Button transparency | Dec 5, 2018 10:06 pm | Replies: 10 | Post by: JeffTR |