Welcome to the MetaMod and Chameleon Support Forums.

Before posting, please check out the FAQs.

helpme

 

Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.

 

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

dontregartha
Beginner Modder
ranks
useravatar
Offline
3 Posts
Administrator has disabled public posting

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

Stephen Brandon
MetaMod / Chameleon developer
If you use MetaMod or Chameleon, please post a rating and a review at the Joomla! Extensions Directory: Chameleon | MetaMod

metamodguy
useravatar
Offline
3313 Posts
User info in posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
1679
Total Polls:
6
Total Posts:
5913
Dormant:
User Info:
 
Total Users:
10796
Newest User:
mokao3
Members Online:
0
Guests Online:
191

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