Linking from other languages to main site
Oct 29, 2015 10:38 am by [email protected]
Oct 29, 2015 10:38 am by [email protected]
Hello,
I added my own language changer
The problem I am having is that if you are in mysite co.cuk
and want to go back to the original main language, the site just refreshes, it does no link to the main site which is mysite .es
Is there a way to make that link go to my main site?
<li class="uk-active"><a href="#">English</a></li>
<li><a href="http://www.mysite .es">Spanish</a></li>
Re: Linking from other languages to main site
Oct 29, 2015 1:25 pm by Yana
Oct 29, 2015 1:25 pm by Yana
Hi,
If you are using direct links it should go to http://www.mysite .es .
Please post your website address, so I can check it or use our language selector.
Please check the following post gtranslate-enterprise-not-working-t3119.html#:~:text=dogtranslate
Re: Linking from other languages to main site
Oct 29, 2015 4:47 pm by [email protected]
Oct 29, 2015 4:47 pm by [email protected]
Hi,
These is my Gtranslate site in english: http : // www. mydomain .co. uk/
if you go down to the footer you will see the language changer, if you click on "spanish", my main site, then the link does not work, which I know is "normal", I am just saying if there is a way to make Gtranslate force the link to my main site to overpass Gtranslate. Like maybe something I can put on the <a href= or php to force http : // www. mydomain .es to go through.
Re: Linking from other languages to main site
Oct 30, 2015 3:55 am by Edvard
Oct 30, 2015 3:55 am by Edvard
Hi,
You will need to add class="nturl" attribute to the <a> tag, so it will not change the URL.
Thanks!
Re: Linking from other languages to main site
Oct 30, 2015 7:11 am by [email protected]
Oct 30, 2015 7:11 am by [email protected]
thank you! works perfect.
Re: Linking from other languages to main site
Oct 30, 2015 3:07 pm by Yana
Oct 30, 2015 3:07 pm by Yana
You are welcome!
SIMILAR TOPICS
how to translate site right to left for arabic in WordPress | Dec 26, 2018 9:02 am | Replies: 1 | Post by: Hammond753 |
How do I add Indian languages in Drupal GTranslate? | Sep 18, 2011 6:10 am | Replies: 26 | Post by: rag_gupta |
Would you share your site URL? | Dec 3, 2018 4:57 pm | Replies: 1 | Post by: BevVincent |
Can I Translate Only Few Elements Of My Site? | Aug 16, 2018 1:31 pm | Replies: 1 | Post by: riyagupta |
Code to use in Google Analytics to track languages | Nov 16, 2015 10:46 am | Replies: 9 | Post by: lucysadler |