Gtranslate Enterprise
Oct 15, 2014 9:48 pm by isa
Oct 15, 2014 9:48 pm by isa
Hello,
Can you please suggest how make it work with Gtranslate Enterprise
I have right now http://mydomain.com
<a href="http://1someurl-1.com" target="_new"><img src="image.png">Default language Text link</a>
gtranslate enterprise
if language is changed to http://en.mydomain.com also change http://1someurl-1.com to http://2someurl-2.com
<a href="http://2someurl-2.com" target="_new"><img src="image.png">English language Text link</a>
Thanks
Re: Gtranslate Enterprise
Oct 15, 2014 9:52 pm by Edvard
Oct 15, 2014 9:52 pm by Edvard
Hi,
You may detect the selected language by using _SERVER['HTTP_X_GT_LANG'] variable in PHP or just X-GT-Lang header variable if you use another platform and depending on that variable change the second URL.
Thank you!
SIMILAR TOPICS
Gtranslate Multisite | Feb 12, 2019 7:27 am | Replies: 1 | Post by: infact_dat |
Gtranslate: Error with number | Feb 20, 2019 1:20 am | Replies: 1 | Post by: infact_dat |
GTranslate 3.7.4, Joomla 3.9.3 - doGTranslate is not defined | Feb 22, 2019 12:34 pm | Replies: 1 | Post by: oase |
Add-on gtranslate no longer works | Feb 2, 2019 6:01 am | Replies: 1 | Post by: DarylDixon |
Instragram and Gtranslate...!!!! | Dec 19, 2018 11:18 am | Replies: 1 | Post by: zackfernandes |