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 8367761
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T13:14:23+00:00 2026-06-09T13:14:23+00:00

I am trying to detect the users prefered language in ASP.NET MVC and I

  • 0

I am trying to detect the users prefered language in ASP.NET MVC and I am aware of the Request.UserLanguages property. The thing is, it seems that the most popular sites on the internet for instance Google.com do not use these settings but rather use some location based settings. That’s why by default I always see the Slovenian version of Google.com even if we removed all the traces of Slovenian language from Languages in our browsers (be it IE, Chrome, etc.)

Going abroad and connecting to the networks there will also result in showing, for instance, German Google.com when traveling to Germany.

My questions are:

  1. What detection mechanism they use?

  2. Do you favor UserLanguages or would you favor location?

  • 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-09T13:14:24+00:00Added an answer on June 9, 2026 at 1:14 pm

    What detection mechanism they use?

    IP based.

    Do you favor UserLanguages or would you favor location?

    Depends on your requirements. As you’ve already noticed if you use UserLanguages, you could have an user in China having configured his browser for en-EU and you get English whereas if you use IP based detection you will get China. So it will really depend whether you want to privilege user location or user browser settings.

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

Sidebar

Related Questions

I am trying to detect a users Steam games that are installed on their
I'm trying to detect if the user has selected the All Users or the
I'm trying to detect and remove those fields that after a sync are still
I am trying to make a page that allows users to select 8 checkboxes
I'm trying to detect emoji in my php code, and prevent users entering it.
I'm trying to create a simple WYSIWYG editor that will allow users to select
I'm trying to detect shake events in my application so that I would be
I'm trying to detect changes to input fields to warn users of unsaved changes
I'm trying to make a program that allows users to drag files onto a
I am trying to debug a strange issue with users that have LogMeIn installed.

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.