Localization in external class libraries in ASP.NET Core
问题 I have two projects: MyWebApp - ASP.NET Core Web API MyServices - .NET Core class library, which contains helpful services for project above How can I add localization with IStringLocalizer to MyServices ? Where must be .resx files located? 回答1: This is how I solved it. Thanks to Popa Andrei answer for directing me to the right place. Class Library Solution -> right click -> Add -> New Project ... -> .Net standard -> Class Library -> I used the name ResourceLibrary ResourceLibrary |-