Multiple languages in an ASP.NET MVC application?

前端 未结 6 2190
臣服心动
臣服心动 2020-12-04 12:47

What is the best way to support multiple languages for the interface in an ASP.NET MVC application? I\'ve seen people use resource files for other applications. Is this stil

6条回答
  •  难免孤独
    2020-12-04 13:33

    Some of the other solutions mentioned as answer do not work for the released version of MVC (they worked with previous versions of alpha/beta).

    Here is a good article describing a way to implement localization that will be strongly-typed and will not break the unit testing of controllers and views: localization guide for MVC v1

提交回复
热议问题