Localization using single resource file for Views in Asp .Net Core 3.1

南楼画角 提交于 2020-06-09 05:21:31

问题


I am working on localization and I want to create a global resource file for all the strings for all views. I created resource files for model, controller and view but I need a global type of resource file that can store key value pair for Views. I don't don't know how to achieve this and where should I store my global resource file? Should I store it in models or services or in controllers?

来源:https://stackoverflow.com/questions/61752576/localization-using-single-resource-file-for-views-in-asp-net-core-3-1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!