[SOLVED] GtranslatePro no translation to original language

Popular automatic website translation tool

[SOLVED] GtranslatePro no translation to original language

Postby Marco » Tue Oct 11, 2011 8:45 pm

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.
Last edited by Marco on Wed Oct 12, 2011 3:11 am, edited 2 times in total.
Marco
 
Posts: 3
Joined: Tue Oct 11, 2011 8:39 pm

Re: GtranslatePro not translating back to original language

Postby Edvard » Tue Oct 11, 2011 9:49 pm

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:

Code: Select all
if(lang == '<?php echo $language; ?>')location.href=location.protocol+'//'+location.host+location.pathname.replace('/'+plang, '')+location.search;else
Regards,

Edvard Ananyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Edvard
Site Admin
 
Posts: 4186
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: GtranslatePro not translating back to original language

Postby Edvard » Tue Oct 11, 2011 10:27 pm

Regards,

Edvard Ananyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Edvard
Site Admin
 
Posts: 4186
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: GtranslatePro not translating back to original language

Postby Marco » Wed Oct 12, 2011 3:00 am

Nice one.
Working now.

Can mark the thread as solved
Cheers
Marco
 
Posts: 3
Joined: Tue Oct 11, 2011 8:39 pm


  • Related Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests

2GLux
cron