Asp.Net Core Localization Resource File Naming Scheme
Hi! Im following this tutorial (https://www.codemag.com/Article/2009081/A-Deep-Dive-into-ASP.NET-Core-Localization) about localization in asp.net core, however the naming scheme of resources is a bit overwhelming as I don't know a new file for each controller only to have few key-value pairs especially when I could reuse strings. However I cannot find how I can change it in the options.
similarly i am separating the language resources into a shared project and the path in the options when adding localization is a local string, how should i modify it to be able to use resources from my shared project?
services.AddLocalization(opt => { opt.ResourcesPath = "Resources";});
A Deep Dive into ASP.NET Core Localization
Joydip shows you how to build multilingual applications in ASP.NET Core using Visual Studio 2019 to enable a broader reach for your applications.
0 Replies