asp.net MVC 3 1 两种语言的网站
可能的重复:
如何本地化 ASP .Net MVC 应用程序?
您好, ich 有一个小型的 mvc 3 项目,其中用户应该能够在两种语言(德语和法语)之间切换,但我完全不知道如何让它工作。 任何人都可以非常简单地解释一下它,并且对于那些只有很少或 0 ASP MVC 经验的人来说 谢谢
Possible Duplicate:
How to localize ASP .Net MVC application?
Hello,
ich have a small mvc 3 project in which the user should be able to switch between two language (german and french) and i have absolutly no idea how to get it working.
can anyone explain it very simple and for someone who has only litty or 0 experience with asp mvc
thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我可能建议您从完整指南 一旦您遇到一些具体问题,请毫不犹豫地在 StackOverflow 上展示您的进度(当然是在源代码方面)以及您可能遇到的任何具体问题。我相信您会得到很好的答案。
I may suggest you starting with the complete guide and once you encounter some specific problems don't hesitate to show your progress (in terms of source code of course) and any specific problems you might have encountered on StackOverflow. I am sure you will get good answers.
我的博客上有一篇关于构建多语言网站的完整博客文章,它可能会帮助您 https ://dominicstpierre.com/aspnet-mvc-multilingual-websites.html。
只需在路由/网址中添加语言即可更改语言的概念并不难。正如@Darin Dimitrov 所说,检查一下并返回更具体的问题/源代码。
I've a complete blog post on my blog on building multilingual website, it might help you https://dominicstpierre.com/aspnet-mvc-multilingual-websites.html.
The concept of changing language is not very hard by just adding the language in the route / url. As @Darin Dimitrov said, check it out and come back with more specific questions / source code.