Forum Archive - Default language not used on home URL after translation

Default language not used on home URL after translation
Sep 25, 2014 10:18 am by furnivat
Hello, I am on Joomla 2.5 with GTranslate Pro (the latest version), JoomSEF and a component called Chameleon. I think the plugins are in the right order because everything seems to be working. I have a site where the default language is English, so pages on http://domain.com are in English. I have a problem that if I go to http://domain.com/fr/somecontent/ the content is correctly translated to French, for example, however if I then manually type http://domain.com into the address bar and visit the site's homepage that way the content appears in French. The only way I can get it to revert to English is by using the GTranslate language select module and choosing English from the drop-down or going to http://domain.com/en/ (which redirects to http://domain.com with English text on the homepage). Is this normal behaviour? Is there any way of setting a cookie or session variable to force English if the URL does not contain a 2 letter language code? I have a Joomla plugin called Chameleon on my site which can manually set cookies or session variables; could I perhaps use that to force English on the homepage of the site?
Re: Default language not used on home URL after translation
Sep 25, 2014 10:29 am by Edvard
Hi, It is a normal behavior. If you want to force English when there is no language code you may disable the GTranslate plugin and install general version which is described in the GTranslate Pro documentation. Thank you!

SIMILAR TOPICS

Large numbers of crawl errors with double language codeJan 24, 2019 1:43 amReplies: 1Post by: natastna2
Translate website to any specific language, on page loadJan 19, 2019 6:49 amReplies: 1Post by: Leaon7756
German translation changes the centuryDec 31, 2018 3:06 pmReplies: 1Post by: adrievdl
Graphic translation for every language is missingDec 19, 2018 7:54 amReplies: 1Post by: Daryl Dixon
How to remove mobile Language Select Button transparencyDec 5, 2018 10:06 pmReplies: 10Post by: JeffTR

Try GTranslate with a free 15 day trial