Using the code you provided and configuring it in the module as follows works perfectly.
public override void ConfigureServices(ServiceConfigurationContext context)
{
context.Services.AddSingleton<IDynamicResourceLocalizer, MyDynamicResourceLocalizer>();
}
We can now login without a tenant to update and localize our text which will then display as expected for all tenants.
Thank you!
Hi liangshiwei, thank you for your suggestion! I will check if this solves our problem and report back sometime around the middle of next week.
When using Volo.LanguageManagement to update texts, the changes are not reflected when switching between tenants.
Example We want to change the text from "New Project" in the header to "hello"
Upon saving, the text was changed without any issues.
However, when logging in with a tenant, the header still displays "New Project", as the value appears unchanged in the language management module.
How can we use the language management module for tenant-independent localization?