SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Dec 2006
    Posts
    88
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Detect local browser language setting

    Is there an easy way to detect the local language settings of a client
    browser?

    I would like to determine if the users browser is set to
    English, French, Italian or German language and display a message in the appropriate language but don't want to redirect user.

    Many thanks.

  2. #2
    SitePoint Evangelist praetor's Avatar
    Join Date
    Aug 2005
    Posts
    479
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Look up the HTTP header value of 'Accept-Language' .


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •