Moderators: macek, egami, gesf
I need to detect the brawser language for redirecting a user to the appropriate page based on the language.
I tried navigator.browserLanguage
and for Netscape navigator.language
but the result was always [en-us] no mather what was the language set in the brawser :shock: .
Any ideas how can I solve my problem?
- New php-forum User
- Posts: 10
- Joined: Sun Aug 15, 2004 8:07 am
Maybe with getLanguage()! document.write(getLanguage()); should work!
- Posts: 1718
- Joined: Sun Dec 29, 2002 5:03 am
- Location: Portugal
Who is online
Users browsing this forum: No registered users and 1 guest