ASP.NET MVC multilingual application - best practices?

I am developing a web application using ASP.NET MVC (I am new to the structure and actually completely new to web development in general). My application must support several languages ​​- there are many countries for which I need the application to "speak" the local language.

The concept of the user interface is common - there are flag icons somewhere, usually the top one, possibly with an additional drop-down list to include less common languages. At this stage, I do not want to automatically determine the source country, but start with English and allow users to choose another (and I would remember this setting, of course).

I would like to know if there is any "infrastructure" to support such multilingual views in ASP.NET MVC, which will facilitate the work.

Any recommendations?

thanks

+6
asp.net-mvc localization multilingual
source share
1 answer

Check out these links: first second third

Worked for me. In sight - HtmlHelper.Resource ("greeting"); in the controller - this.Resource ("greeting");
in the model, I got my own localization implementation.


Make sure you consider this approach when considering a localization implementation.

+6
source share

All Articles