Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.
- Index
- » Chameleon / ChameleonLite
- » Chameleon
- » Filter action triggered by Browser...
Filter action triggered by Browser Language
Filter action triggered by Browser Language
I have a landing site that will redirect users to a site depending on their browser language or geo location.
So the chain goes..
Are you in the US - go to US site
Are you in China - go to Chinese site
Do you speak French - redirect to french language version of European site
Do you speak German - redirect to German language version of European site
etc etc
Do you speak english - redirect to English version of European site
Noen of the above - redirect to English version of European site
If all this fails we will display a static page with hardwired links to these sites.
The Geo location rules at the start work fine, but the language ones don't and all show a succeed message for each language in the debug.
Currently the language switchers are first in the chain so you'll go straight to the French succeed link.
I'm probably doing something stupid, but a point in the right direction would help me.
The site is at http://global.ax2k.com/
I can PM you an admin log in if you like
Re: Filter action triggered by Browser Language
Hi dontregartha,
My guess is that you may be putting the language codes into the wrong box in the Chameleon rule. It's slightly confusing (sorry)...
The language codes that you want to detect should be in the Environment tab in the "Only these languages" box.
They should NOT be put into the Config tab in the "Preferred list of languages" box. That box has a different use (for advanced usage).
Also ensure that in the Config tab, "$language handling" is set to "Browser's preferred language".
If those things don't help, please PM me an admin login and I'll take a look for you. It's probably something simple.
Cheers,
Stephen
- Index
- » Chameleon / ChameleonLite
- » Chameleon
- » Filter action triggered by Browser...
Board Info
- Board Stats:
- Total Topics:
- 1689
- Total Polls:
- 6
- Total Posts:
- 5943
- Posts this week:
- 2
- User Info:
- Total Users:
- 7639
- Newest User:
- corwin8669
- Members Online:
- 0
- Guests Online:
- 151
- Online:
- There are no members online
Forum Legend:
Topic
New
Locked
Sticky
Active
New/Active
New/Locked
New Sticky
Locked/Active
Active/Sticky
Sticky/Locked
Sticky/Active/Locked