unoplatform / uno

Open-source platform for building cross-platform native Mobile, Web, Desktop and Embedded apps quickly. Create rich, C#/XAML, single-codebase apps from any IDE. Hot Reload included! 90m+ NuGet Downloads!!
https://platform.uno
Apache License 2.0
9.08k stars 736 forks source link

Support for `FrameworkElement.Language` #5568

Open Arlodotexe opened 3 years ago

Arlodotexe commented 3 years ago

What would you like to be added:

Support for the FrameworkElement.Language property on all platforms.

Why is this needed:

Advanced Localization. We display a special loading message on app startup that can depend on a variety of factors: time of day, day of the week, holidays, custom weight values, etc., and these are all localized. The built-in localization system can't handle this, so we use this property to get the current language code for the app.

For which Platform:

Ideally support should come to all platforms, but for our case, we need:

sasakrsmanovic commented 3 years ago

Arlo has a workaround.