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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T21:44:26+00:00 2026-05-22T21:44:26+00:00

Learning asp.net mvc and whenever I worked we had to localize our application. Looked

  • 0

Learning asp.net mvc and whenever I worked we had to localize our application. Looked at few articles eg

  1. http://afana.me/post/aspnet-mvc-internationalization.aspx (Creates a view for each language) No for me
  2. http://www.codeproject.com/KB/aspnet/BilingualMvc3Part1.aspx (uses Broswer default language which will never work for me. Can you imagine I am English speaker on holiday in Spain and need to use the website and i have not got a clue about how to change the settings) NO

  3. http://geekswithblogs.net/shaunxu/archive/2010/05/06/localization-in-asp.net-mvc-ndash-3-days-investigation-1-day.aspx ( this one via URL but looking at his baseController sort of hardcode the application name in the cookie)

I am CONFUSED. Mainly because my knowledge is not great!!
What is the recommended way to do it? Have you done in real world app? Would you share code? A snippet of how you tackled the problem will do?

I am looking for a neat way like you can do in asp.net .I need to give the ability to user to change languages at run time by clicking a flag or something.

Is there a base method to override?
Is there a proper example somewhere? Do you have to write some sort of baseController class?

thanks a lot for your time

  • 1 1 Answer
  • 3 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-05-22T21:44:27+00:00Added an answer on May 22, 2026 at 9:44 pm

    You should use resource files to handle localisation. With that you have the ability to get a language the user has choosen before or he has choosen right now. Here is a good blog how to do that http://adamyan.blogspot.com/2010/02/aspnet-mvc-2-localization-complete.html

    IF the user has no active session, means no cookie that identifies him you should use the browser language or a maybe a geotracking service to determine the sitelanguage. It is up to you to present a easy way to change the current language… And as mentioned above resourcefiles will help you here.

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

Sidebar

Related Questions

I have been learning ASP.NET MVC in the last few months and I think
I have been learning ASP.NET MVC for a few months. I have learned about
I'm learning ASP.NET MVC. I had a small problem when dealing with dropdownlist. This
I'm learning ASP.NET MVC Framework, From some articles like this , it seems that
I'm learning ASP.NET MVC 3 to build a web application. I've followed a couple
As I am learning and working on Asp.Net MVC application, I want to know
I am learning ASP.NET MVC now a days and I have found that most
I am playing with learning ASP.NET MVC as a non-web developer. I am trying
I'm learning asp.net mvc and found something interesting: It seems that I can't explicitly
I really like the MVC way and have actually enjoyed learning ASP.NET MVC (I

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.