0
I would like to put the translation files organized by folders in this way
Everything in the root of the folder Resources works but moves into that other folder stops working as I can configure so that I can access translations in that folder?
Things I set up: In the Startup.Cs file
public void ConfigureServices(IServiceCollection services)
{
services.AddLocalization(option => option.ResourcesPath = "Resources");
services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_1);
}
At the beginning of each Controller
private readonly IStringLocalizer<ValuesController> _localizer;
public ValuesController(IStringLocalizer<ValuesController> localizer)
{
_localizer = localizer;
}