Reputation: 10620
In Windows Phone 7 it's possible to easily change the application locale just by setting:
Thread.CurrentThread.CurrentUICulture = new CultureInfo("de-DE");
And then the application loads resources from the file AppResources.de-DE.resx no matter what's the default app culture or current culture on the target phone.
The question is: Is something like this possible in WinRT - Windows 8 apps? And if yes, how? The basic problem here is that there is no Thread object.
Upvotes: 1
Views: 815
Reputation: 16369
Use
Windows.Globalization.ApplicationLanguages.PrimaryLanguageOverride = "de-DE";
Upvotes: 2