Roee Adler
Roee Adler

Reputation: 33990

Multilingual Application in ASP.NET MVC - Best Practices?

I'm developing a web application using ASP.NET MVC (I'm new to the framework and actually quite new to web development in general). My application must support multiple languages - there's a bunch of countries for which I need the application to "speak" the local language.

The UI concept is common - have flag icons somewhere, usually the top, possibly with an additional drop-down to include less common languages. At this stage I don't want to get into automatically detecting the source country, but rather start with English and allow users to choose otherwise (and I would remember that setting of course).

I would like to know if there's any "framework" for supporting such multilingual views in ASP.NET MVC that will make the job easier.

Any recommendations?

Thanks

Upvotes: 6

Views: 7024

Answers (1)

Arnis Lapsa
Arnis Lapsa

Reputation: 47587

Check out these links: first second third

Worked for me. In view - HtmlHelper.Resource("greeting"); in controller - this.Resource("greeting");
in model i got my own localization implementation.


Make sure You check out this approach when considering localization implementation.

Upvotes: 6

Related Questions