将资源文件夹和文件放在.NET干净的架构中,以进行全球化和本地化?

发布于 2025-02-06 17:50:12 字数 77 浏览 1 评论 0原文

我应该将资源文件夹放在.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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

跨年 2025-02-13 17:50:13

我认为,全球化和本地化应放在视图的层中。通常,它将在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.

倾城月光淡如水﹏ 2025-02-13 17:50:13

我认为最好在第一个选项(域层)中拥有它,并且可以适用于所有项目。我这样做是因为需要在其他层中具有国际化信息,并且它们是解决方案领域的一部分

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文