我已经将Resource.fr-FR.resx添加到我的项目中,并已完成 web.config中的全球化设置,如下所示。如何在MVC中使用web.config强制使用特定的uiculture
<system.web>
<globalization culture="fr-FR" uiCulture="fr"/>
</system.web>
这是所有你根据http://msdn.microsoft.com/en-us/library/bz9tc508%28v=vs.80%29.aspx
但是当我运行我的应用程序仍然是英文
我在的Application_Start检查“Thread.CurrentThread.CurrentUICulture”(),它需要FR说。
我错过了什么? 同样的东西已发布在 MVC 3 Setting uiCulture does not work
但没有答案。
非常感谢您的回复。我知道我需要资源文件。我必须改变的是uiculture =“fr”uiculture =“fr-fr” – user664889 2013-02-19 10:49:04