Forum Archive - Gtranslate Pro - Issue with "en" substitution

Gtranslate Pro - Issue with "en" substitution
May 17, 2011 10:06 am by market_architect
We are seeing the following issue in GTranslate Pro: Goto: http://www.architectsap.com/enquiry.php click on German flag: http://www.architectsap.com/dequiry.php This is an issue. It should be: http://www.architectsap.com/de/enquiry.php Kindly provide a solution to this issue. Thanks.
Re: Gtranslate Pro - Issue with "en" substitution
May 19, 2011 9:24 pm by Edvard
Please upgrade to GTranslate for wordpress to 1.0.22, the bug is fixed there.
Re: Gtranslate Pro - Issue with "en" substitution
May 20, 2011 5:42 am by market_architect
How do I upgrade GTranslate Pro ? I have downloaded the wp_gtranslate1.0.22.zip but I do not see any file that I should copy to the GTranslate folder for GTranslate Pro. Could you please send me the upgraded GTranslate Pro zip file for our domain ?
Re: Gtranslate Pro - Issue with "en" substitution
May 20, 2011 5:57 am by Edvard
As I have mentioned, you need to upgrade the version for wordpress. The bug was in the language selector which is in the free version. You just need to upgrade it from your wordpress backend.
Re: Gtranslate Pro - Issue with "en" substitution
May 20, 2011 6:09 am by market_architect
The issue is still there. I upgraded the WP plugin to 1.0.22 I would mention again that the issue is in our main site (and not the wordpress site). we have a page : http://www.architectsap.com/enquiry.php clicking on Germany : http://www.architectsap.com/dequiry.php Kindly provide a solution. Thanks.
Re: Gtranslate Pro - Issue with "en" substitution
May 20, 2011 6:52 am by Edvard
I still see the old version of the script on your site. Try to reconfigure it, so the script will be updated, ex. go to the GTranslate settings and change the main language to Afrikaans then back again and save it, so it will be updated.
Re: Gtranslate Pro - Issue with "en" substitution
May 20, 2011 7:07 am by market_architect
The issue is still present. I deleted the WP plugin. Then installed the 1.0.23 version. Activated it. I still see the issue in our main website.
Re: Gtranslate Pro - Issue with "en" substitution
May 20, 2011 7:12 am by Edvard
I really don't understand what is going on. I can see the old script on your site: In the old doTranslate funciton it was: location.pathname.replace('/'+plang, '') In the new version it is: location.pathname.replace('/'+plang+'/', '/') Did you reconfigure it as suggested, so the script will be regenerated?
Re: Gtranslate Pro - Issue with "en" substitution
May 20, 2011 7:56 am by market_architect
For our main website, we have a separate include where we have the doGTranslate function defined. This is because the doGTranslate function is not visible to the main website pages. I am not aware of how the GTranslate function in the Wordpress Plugin can be automatically visible to our main pages. hence, I have to manually add the new code for doGTranslate to our include. It is working now. Thanks! I would appreciate if you could suggest a way of how our main website can automatically see the doGTranslate function whenever it is updated in WP.
Re: Gtranslate Pro - Issue with "en" substitution
May 20, 2011 9:20 am by Edvard
I thought you were getting the code from wordpress generated code and placing it into your site. The wordpress keeps the language selector code in the database. So you can get it from there and show on your site.

SIMILAR TOPICS

Gtranslate MultisiteFeb 12, 2019 7:27 amReplies: 1Post by: infact_dat
Gtranslate: Error with numberFeb 20, 2019 1:20 amReplies: 1Post by: infact_dat
GTranslate 3.7.4, Joomla 3.9.3 - doGTranslate is not definedFeb 22, 2019 12:34 pmReplies: 1Post by: oase
Add-on gtranslate no longer worksFeb 2, 2019 6:01 amReplies: 1Post by: DarylDixon
Instragram and Gtranslate...!!!!Dec 19, 2018 11:18 amReplies: 1Post by: zackfernandes

Try GTranslate with a free 15 day trial