I’ve created a WPF app and run locbaml to create satellite assemblies.
This all works fine when I run the app and “hack” the UICulture from App.xaml.cs. However when running normally and changing the culture on my machine I see no differences. A little logging reveals the UICulture is always en-US.
I’m not sure why it isn’t picking up the changes to regional settings I’ve made. I’ve changed every damn setting to Spanish but it’s still not working!
Any ideas would be much appreciated.
Thanks
The culture depends on the Windows version you have installed. If you installed the US version of Windows then your culture will always be en-US unless you physically HACK everything. This means you have to change the cultures on the Threads and possibly UIElements by using xml:lang
Examples:
Set the Threads culture:
Add en-US to supported Culture list in the csproj file (open with Notepad)
Make sure every string (UIElement) has the correct culture