如何本地化新的“帖子”使用 ASP.net MVC
我今天刚刚开始本地化,需要一些信息。
我有一个在 ASP.net MVC 中运行的项目,使用 .resx(全局/本地)文件根据页面上所选的语言放置文本。但这是预制/静态内容。例如,如果您有博客,如何对新帖子执行此操作?您是否必须通过加载不同的部分页面来完成此操作,例如[本地化 asp.net 视图和母版页][1] 中的内容?什么是常见的?想不出一个合适的谷歌术语来查找这方面的信息。
我不知道正常的程序是什么,所以关于这个主题的任何信息都会很有趣。
[1]:http://www.ondotnet。 com/pub/a/dotnet/2002/09/30/manager.html 本地化 asp.net 视图和母版页
Im just starting with localization today and need some information.
I have a project running in ASP.net MVC using .resx (global / local) files to place text based on the chosen language on the page. But this is premade/static content. How to do this for, for instance, new posts if you have a blog? Do you have to do it by loading different partial pages like in [localizing asp.net views and master pages][1] ? What is common? Can not think of a decent google-term to find information on this.
I have no idea what the normal procedure would be, so any information on this topic would be lovely.
[1]: http://www.ondotnet.com/pub/a/dotnet/2002/09/30/manager.html localizing for asp.net views and master pages
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
对于要本地化的实际内容,您可以使用 3 种方法:
For the actual content to be localized you can use 3 approaches: