Change language at runtime in WPF
Hi! I have a set of *.resx files with translations and they work fine when I start the app. If I start on computer with english system, it chooses english translation, if I choose spanish system, it loads spanish translation, etc. But how can I change it at runtime?
Currently, I'm doing it in this way:
And I guess, I will need to change every x:Static, but I'm ready for this sacrifice.
I'm trying to change language in this manner:
But it doesn't do anything
Currently, I'm doing it in this way:
And I guess, I will need to change every x:Static, but I'm ready for this sacrifice.
I'm trying to change language in this manner:
But it doesn't do anything