Replies: 1 comment 3 replies
-
|
Hi @onerkaya, After having a quick look, I think you may need to include this in your program.cs. See example here: https://github.com/elsa-workflows/elsa-studio/blob/main/src/hosts/Elsa.Studio.Host.Server/Program.cs It was an enhancement made to resolve the an error, of which I can’t remember exactly. I’ll try dig out the PR. Let me know if this fixes your issue and if so I’ll update the README you mentioned. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
After upgrading to Elsa 3.4.0, the localization selection in Elsa Studio is not functioning correctly.
We have configured the localization as follows:
"Localization": {
"DefaultCulture": "en-US",
"SupportedCultures": [ "tr-TR", "fr-FR" ]
}
In our service configuration, we are following the instructions provided in the README.md under Elsa.Studio.Localization:
services.AddCore()
.Replace(new ServiceDescriptor(typeof(IBrandingProvider), typeof(StudioLogoBrandingProvider), ServiceLifetime.Scoped));
services.AddTranslations();
services.AddLocalizationModule(localizationConfig);
services.AddSingleton<ILocalizationProvider, LepLocalizationProvider>();
services.AddSingleton<ILocalizer, LepDefaultLocalizer>();
Although the system navigates correctly to the relevant views, changing the language from the UI does not reflect the selected language in the interface. The UI continues to display the default language instead.
Beta Was this translation helpful? Give feedback.
All reactions