Current behavior
I created a new App with the UnoApp Template and Localization and Configuration enabled.
I added the ToggleLocalizationAsync() of this page.
The Current Culture gets updated in the (Packaged) but not in the (Unpackaged) Windows Head.
I also had to add .Section<LocalizationConfiguration>() under configBuilder in my App.cs else the SupportedCultures would be empty.
I guess the problem could be fixed if i was able to also add .Section<LocalizationSettings>(). But i can not because it is internal.
Expected behavior
The Current Culture should be updated in the (Unpackaged) Windows Head like in the (Packaged) Head.
How to reproduce it (as minimally and precisely as possible)
- Create a new Uno App with the UnoApp Template and Localization and Configuration enabled.
- Add the
ToggleLocalizationAsync() of this page.
- Run the Windows (Unpackaged) Head
Workaround
No response
Works on UWP/WinUI
None
Environment
No response
NuGet package version(s)
No response
Affected platforms
Windows
IDE
Visual Studio 2022
IDE version
No response
Relevant plugins
No response
Anything else we need to know?
No response
Current behavior
I created a new App with the UnoApp Template and Localization and Configuration enabled.
I added the
ToggleLocalizationAsync()of this page.The Current Culture gets updated in the (Packaged) but not in the (Unpackaged) Windows Head.
I also had to add
.Section<LocalizationConfiguration>()underconfigBuilderin myApp.cselse theSupportedCultureswould be empty.I guess the problem could be fixed if i was able to also add
.Section<LocalizationSettings>(). But i can not because it is internal.Expected behavior
The Current Culture should be updated in the (Unpackaged) Windows Head like in the (Packaged) Head.
How to reproduce it (as minimally and precisely as possible)
ToggleLocalizationAsync()of this page.Workaround
No response
Works on UWP/WinUI
None
Environment
No response
NuGet package version(s)
No response
Affected platforms
Windows
IDE
Visual Studio 2022
IDE version
No response
Relevant plugins
No response
Anything else we need to know?
No response