Default language not used on home URL after translation
Sep 25, 2014 10:18 am by furnivat
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
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 code | Jan 24, 2019 1:43 am | Replies: 1 | Post by: natastna2 |
Translate website to any specific language, on page load | Jan 19, 2019 6:49 am | Replies: 1 | Post by: Leaon7756 |
German translation changes the century | Dec 31, 2018 3:06 pm | Replies: 1 | Post by: adrievdl |
Graphic translation for every language is missing | Dec 19, 2018 7:54 am | Replies: 1 | Post by: Daryl Dixon |
How to remove mobile Language Select Button transparency | Dec 5, 2018 10:06 pm | Replies: 10 | Post by: JeffTR |