Sunday, 25 August 2013

Multilanguage MVC 4 application

Multilanguage MVC 4 application

i am creating a new application right now and i want to make all right at
the start so i can grow with it in the future.
I have looked on several guides descibing how to make a multilanguage
supported application, but i cant figure out witch one to use.
Some tutorials are old and i don't know if they are out of date.
http://www.codeproject.com/Articles/352583/Localization-in-ASP-NET-MVC-with-Griffin-MvcContri
http://geekswithblogs.net/shaunxu/archive/2012/09/04/localization-in-asp.net-mvc-ndash-upgraded.aspx
http://www.hanselman.com/blog/GlobalizationInternationalizationAndLocalizationInASPNETMVC3JavaScriptAndJQueryPart1.aspx
http://www.chambaud.com/2013/02/27/localization-in-asp-net-mvc-4/
I found that they are 2 ways of storing the language data, either in db or
in resource files. What are the pro/cons? Is there another way that is
prefered?
This is what i want:
Easy to maintain (Add/Change/Remove)
Full language support. (views, currency, time/date, jquery, annotations
and so on..)
Enable to change language.
Auto detect language.
Future safe.
What is the prefered way of doing this? got any good tutorial that is best
practice for 2013?

No comments:

Post a Comment