I got english windows version and currently can’t debug this but I am localizing application for two languages russsian and english.
From what I understand following code should be enough in App constructor:
if (Language == Language.Russian) {
Thread.CurrentThread.CurrentCulture = RUSSIAN_CULTURE;
Thread.CurrentThread.CurrentUICulture = RUSSIAN_CULTURE;
}
else {
Thread.CurrentThread.CurrentCulture = ENGLISH_CULTURE;
Thread.CurrentThread.CurrentUICulture = ENGLISH_CULTURE;
}
Cultures objects are correct cultures (ru-RU , en-US).
However when application is ran on Russian windows that if is ignored, and only russian strings are used.
Notice that language change works perfectly correct on my machine (en windows)
I have added new en specific culture resource and it has solved the problem.
However now I got english resources duplicated – they are default & same go into en-US specific resource. I believe there must be a way to remove such duplication.