Localization of data annotations in separate class library
问题 We are trying to implement localization for our domain models which are existing in a separate class library project within our solution. However, we are not able to get it working as our models data annotation attributes doesn't get translated at all. Project structure Solution Web project Resource folder (Contains .resx files. Ex. App.en.resx ) Works fine Class library Domain models Resource folder (Contains .resx files. Ex. App.en.resx ) Doesn't work Startup.cs services.AddMvc()