将资源文件夹和文件放在.NET干净的架构中,以进行全球化和本地化?
我应该将资源文件夹放在.NET清洁架构中,以进行全球化和本地化?我有以下层
1-域 2-申请 3-基础架构 4- WebApp
Where should I put my Resource folder in .NET Clean Architecture for Globalization and Localization? I have the following layers
1 - Domain
2 - Application
3 - Infrastructure
4 - WebApp
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我认为,全球化和本地化应放在视图的层中。通常,它将在WebApp内部。由于全球化和本地化,这与显示不同语言的页面有关。
In my opinion, the Globalization and Localization should put inside the view's layer. Normally, it will be inside the WebApp. Since the Globalization and Localization this is related with showing the page with different language.
我认为最好在第一个选项(域层)中拥有它,并且可以适用于所有项目。我这样做是因为需要在其他层中具有国际化信息,并且它们是解决方案领域的一部分
I think its better have it in the first option (Domain Layers) and have it available for all the project. I do this because of the need of have internationalize message in the other layers and they are part of the domain of the solution