Multiple languages in an ASP.NET MVC application?

前端 未结 6 2181
臣服心动
臣服心动 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:42

    Yes resources are still the best way to support multiple languages in the .NET environment. Because they are easy to reference and even easier to add new languages.

    Site.resx
    Site.en.resx
    Site.en-US.resx
    Site.fr.resx
    etc...
    

    So you are right still use the resource files.

提交回复
热议问题