如何使用 resx 文件通过 ASP.NET vNext(云优化模式)进行本地化,如何为当前线程设置区域性?
System.Threading.Thread.CurrentThread.CurrentCulture
System.Threading.Thread.CurrentThread.CurrentUICulture
CurrentCulture
和 CurrentUICulture
属性缺失。我有 VS 2015 CTP3。帕维尔
最佳答案
vNext 的本地化故事还没有准备好。我们仍在努力。
编辑(2015 年 2 月 28 日):
本地化将在 RC/Beta4 版本中提供。这是一个原型(prototype)https://github.com/DamianEdwards/i18nStarterWeb .我预计在接下来的几周内,开发分支会开始出现一些事情。
关于asp.net-core - ASP.NET vNext - 本地化 (.resx),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25725388/