Auto Language Detection


#1

Hi CC fans,

I need a word of advice.
I’m currently building a a website in english / german.
I’m doupting if i should use some sort of auto detect language script so visitors are automaticly re-directed to the aproppriate site.

Or if i should make the selection in the index…

Does anyone know the pro an cons? Does anyone know a script that would do that?

Your help is highliy appriciated!!


#2
Hi CC fans,

I need a word of advice.
I’m currently building a a website in english / german.
I’m doupting if i should use some sort of auto detect language script so visitors are automaticly re-directed to the aproppriate site.

Or if i should make the selection in the index…

Does anyone know the pro an cons? Does anyone know a script that would do that?

Your help is highliy appriciated!!

Normally the safest bet would be to do both… so it directs them to the default page depending on their current geolocation and if for some reason they don’t want to have it in that language they have the possibility of changing it.
But unless you’re planning on adding a wide range of languages in the near future then any script on here would be overkill. It also seems kind of pointless to do this for only 2 languages, so having a dropdown menu or some other form of navigation for language selection is a perfectly viable solution and from a users point of view, as long as it’s easy to find then it’s all good. :smiley:


#3

Hi Ninja,

Your input is highly appriciated!!
Could you recommend any geo-location script?

Thanks Again,


#4
Hi Ninja,

Your input is highly appriciated!!
Could you recommend any geo-location script?

Thanks Again,

This one seems to be the best on Codecanyon :).


#5

I believe a better way to do this is based on the headers sent by a client’s browser, particularly the Accept-Language header.

http://www.thefutureoftheweb.com/blog/use-accept-language-header


#6
I believe a better way to do this is based on the headers sent by a client's browser, particularly the Accept-Language header.

http://www.thefutureoftheweb.com/blog/use-accept-language-header

Also the user-agent provide browser’s language.
Although header can be edit, I think using header is better than request any other api.


#7
I believe a better way to do this is based on the headers sent by a client's browser, particularly the Accept-Language header.

Yeah, seems like a good idea… I forgot about http_accept_language !
I’ll probably be using it in the not so distant future too, thanks for the link :).