Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.
- Index
- » Chameleon / ChameleonLite
- » Chameleon
- » Change the language depend of the...
Change the language depend of the country
Change the language depend of the country
Hello,
I need help because I don't know how to create this rule:
I need when the user enter in the website if it is from Spain display the Spanish language (www.website.com/es/) and is the user is from other country display the USA(english) language (www.website.com/us/).
How is it possible?
Thanks.
Re: Change the language depend of the country
Hi Luis,
The main challenge for this setup is to ensure that you don't create redirect loops. That is, if you have already redirected someone to /es because they came from Spain, then make sure they don't get redirected again when they arrive there.
Can I ask, are you using Joomla's language facilities (articles and menu items tagged as different languages) to make your site multi-lingual, or have you simply set up menu items in a menu structure with top levels /es and /us, with relevant content in each one?
I'll hold off answering your question until you can answer that one, as it will change the approach.
Thanks
Stephen
Re: Change the language depend of the country
Hello.
metamodguy wrote:
Can I ask, are you using Joomla's language facilities (articles and menu items tagged as different languages) to make your site multi-lingual, or have you simply set up menu items in a menu structure with top levels /es and /us, with relevant content in each one?
Answer:
Articles and menu items tagged as different languages to make your site multi-lingual.
Thanks.
- Index
- » Chameleon / ChameleonLite
- » Chameleon
- » Change the language depend of the...
Board Info
- Board Stats:
- Total Topics:
- 1700
- Total Polls:
- 6
- Total Posts:
- 5967
- Total Posts Today:
- 1
- User Info:
- Total Users:
- 8052
- Newest User:
- maarie443
- Members Online:
- 0
- Guests Online:
- 307
- 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