1

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.

4

1 に答える 1

2

使用する

Windows.Globalization.ApplicationLanguages.PrimaryLanguageOverride = "de-DE";
于 2012-10-28T17:27:00.750 に答える