You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First I want to say thanks for you amazing work, you really did great job, especially supporting .net core.
I have small project targeting .Net 5, where I took advantage of Microsoft.Extensions.Localization to implement localization.
On the one hand, in some places I use IStringLocalizer directly from the code. On the other hand, I have implemented markup extension, that also relies on IStringLocalizer, and I am using that markup extension in XAML, also for WPF Notify Icon.
The problem is that, when I change the language in the app, WPF Notify Icon stays on the previous language configuration.
Is there some method that will be called before context many of WPF Notify Icon appears, that I can override where I can set the CurrentUICulture on that thread according to configuration, so that the context menu (through above mentioned markup extension) can be localized without restarting the whole app?
Thank you and best regards,
Nole
The text was updated successfully, but these errors were encountered:
Is it possible that you supply a small example project? I'm actually not acquainted to Microsoft.Extensions.Localization, so I do not really understand the issue. This seems to be related to #63
Dear Hardcodet Team,
First I want to say thanks for you amazing work, you really did great job, especially supporting .net core.
I have small project targeting .Net 5, where I took advantage of Microsoft.Extensions.Localization to implement localization.
On the one hand, in some places I use IStringLocalizer directly from the code. On the other hand, I have implemented markup extension, that also relies on IStringLocalizer, and I am using that markup extension in XAML, also for WPF Notify Icon.
The problem is that, when I change the language in the app, WPF Notify Icon stays on the previous language configuration.
Is there some method that will be called before context many of WPF Notify Icon appears, that I can override where I can set the CurrentUICulture on that thread according to configuration, so that the context menu (through above mentioned markup extension) can be localized without restarting the whole app?
Thank you and best regards,
Nole
The text was updated successfully, but these errors were encountered: