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

  • Home
  • SEARCH
  • 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
  • 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-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 am learning asp.net MVC, as I have been using the sqlconnection, sqlcommands etc
I am still struggling with learning ASP.NET MVC. All my form entries are required
I'm just starting out learning ASP.NET MVC. I'm working on a project created with
I'm just starting out learning ASP.NET MVC 3. I've been going through the Music
I am just learning ASP.Net's MVC framework and so my question is likely basic.
I am learning the ASP.NET MVC 3 Framework. In my layout page ( _Layout.cshtml
I'm somehow familiar with the ASP.NET MVC and the .NET framework in general (I
I've recently found an interesting alternative to the ASP.NET MVC that I currently do:
i have learned MVC Architecture from Zend Framework, and i just started learning in
I recently just started learning .NET, and more specifically I've been playing around with

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.