Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windows 8 Metro app (XAML) - How to set a default startup language?

I try to set a default startup language in my Windows Metro app in App.xaml.cs, but I cannot find the place to do it. Usually I set this up using Thread.CurrentCulture in C#, but I cannot locate the Thread namespace. Anything I am missing here?

like image 983
chrisva Avatar asked Dec 06 '25 09:12

chrisva


1 Answers

This works great in Windows8 CP:

Windows.Globalization.ApplicationLanguages.PrimaryLanguageOverride = "de";
var resourceLoader = new ResourceLoader();
like image 110
Krzysztof Kaczor Avatar answered Dec 07 '25 23:12

Krzysztof Kaczor



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!