![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Mar 2006
Location: Hungary, Budapest
Posts: 8
Rep Power: 0
![]() |
Javascript - Getting language settings
I have a site which has seperate pages for the hungarian and english languages,
and I want it to forward the browser to the page which uses the same language as the user's setting. Is there a way in Javascript to get the language setting of the user accessing the site? |
|
|
|
|
|
#2 |
|
Hobbyist Programmer
Join Date: Nov 2005
Posts: 122
Rep Power: 3
![]() |
http://www.web-wise-wizard.com/javas...formation.html
It can be done, but it's wrong to rely on the client having JS enabled for our site to work. This is probly best done on the server. Something like: http://techpatterns.com/downloads/ph..._detection.php
__________________
"I'm going to become rich and famous when I invent a device that allows you to stab people in the face over the internet" Last edited by Agent 47; Mar 24th, 2006 at 6:58 PM. |
|
|
|
|
|
#3 |
|
Newbie
Join Date: Mar 2006
Location: Hungary, Budapest
Posts: 8
Rep Power: 0
![]() |
Thanks for the quick and helpful reply Agent 47!
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|