Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Elxis 5.5 Calypso supports 2 factor authentication login with e-mail or SMS.
Home
Help
Login
Register
Elxis CMS Forum
»
Community
»
Elxis Community
(Moderator:
Ivan Trebješanin
) »
Redirect based on browser's language
« previous
next »
Print
Pages: [
1
]
Author
Topic: Redirect based on browser's language (Read 8527 times)
datahell
Elxis Team
Hero Member
Posts: 10356
Redirect based on browser's language
«
on:
October 28, 2008, 11:49:02 »
Elxis 2008.1 stores permanently the language information in the URL.
If you visit an Elxis 2008.1 web site like this:
http://www.mysite.com
then you will see the site's content in the default language. You have to switch language to change the site's language.
A new feature could redirect the user during his first visit (session) on the site to the proper language (if is a published language).
Example:
Site A has 3 languages published: english (default), italian and german.
A visitor from germany visits site A
http://www.sitea.com
He will see the site in english.
With the redirect I propose he will be redirected to
http://www.sitea.com/de/
Afterwards he can freely switch language back to english if he does nt like the german stuff.
This redirect is based on the user's browser default language.
If a visitor from spain visit siteA no redirect will happen as spanish language does not exist for siteA, so he will see the site in the default language, which in our example is english.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
Farhad Sakhaei
Elxis Community
Hero Member
Posts: 1190
I know nothing , Should know more & more
Re: Redirect based on browser's language
«
Reply #1 on:
October 28, 2008, 12:30:33 »
Yes, It will be very nice ,
Also I love the Elxis intro welcome page
With choosing language in that welcome page ...
If it can be implement in both ways , It will be very nice , The user can decide to select every these ways ...
Logged
DediData Web Hosting Services
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Community
»
Elxis Community
(Moderator:
Ivan Trebješanin
) »
Redirect based on browser's language