Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8338845
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T04:43:05+00:00 2026-06-09T04:43:05+00:00

Do web browsers have an interface to access any of the locale settings as

  • 0

Do web browsers have an interface to access any of the locale settings as set in the operating system by the user?

I can detect what country the user is currently in from their IP address or using the new geolocation API, but I’m writing a browser app for travellers so I expect their current location to often not be their home country.

Is there any way to determine what country/locale the browser/OS is set to?

If not is there any proposal to add proper locale support to JavaScript?

Also are there any clever workarounds? (For instance I know I can get the user’s preferred browsing language but there are plenty of countries which use the same language and plenty of users who keep this set to the default rather than changing it to their usual language.)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T04:43:06+00:00Added an answer on June 9, 2026 at 4:43 am

    The best you’ll get is languages:

    • navigator.language (Netscape – Browser Localization)
    • navigator.browserLanguage (IE-Specific – Browser Localized Language)
    • navigator.systemLanguage (IE-Specific – Windows OS – Localized Language)
    • navigator.userLanguage

    Due to either security concerns or just not implemented, what you have requested is not possible, natively. You can however use an ActiveX object for your Windows users

    You could have a user select their perfered language, country, etc then use javascript to set a cookie, which will be sent to your server anytime a page is requested

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Many mobile web browsers have some default functionality on image hold. For example, user
i have a webservice and a web interface for registered user. this section allow
We have a old Web Based application supported on browsers from IE6 to IE8
I have a simple web browser embedded in an application that allows a user
I have little question about how web browser retrieve webpage? I know this User
I have a web application in asp.net and C# that must access a remote
I am coding a web interface for a University project and I have been
Possible Duplicate: “Web interface” to PHPUnit tests? Are there any PHP unit testing systems
I always seem to have this internal struggle when it comes to user interface.
I have a php script which i would need the following 3 web browsers

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.