peter
Joined: 16 Apr 2015 Posts: 1
|
Posted: Thu Apr 16, 2015 6:22 pm Post subject: Only change UICulture, do not change Culture |
|
|
We would like to only switch the UICulture, so that number formatting (Culture) stays at "en-US", which is set at the startup.
So, in other words, when a user starts our app from a german windows, numbers should be in "en-US" (that's working), and then when a user switches to french language, the texts should change to french (that's working) and the numbers should stay in "en-US" (not working).
Is that possible? This is our changeLanguageCommand:
private void ChangeLanguage(object language)
{
var lang = language as string;
if (lang == null) return;
CultureManager.UICulture = new CultureInfo(lang);
CultureManager.SynchronizeThreadCulture = true;
}
Best regards from Paris, Peter |
|