Hi,
I am trying to implement a multi language GUI. I went on several websites and found documentation on resx files. I found it interesting but i must forgot one step.
I declared a resx file by default "Resources.resx " (english) and another for the french language "Resources. fr-CA.resx".
On my application i have a menu that allows the user to choose the language English or French. I am using WPF, and I tried some data binding like that :
with ApplicationMain WindowTitle is in the resx file. I also want to do it for buttons, label and others... and at runTime.
How do I implement my click event for language selection to change the language during runtime?
Thanks.
If it's not clear enough, i'll try to explain better.
I am trying to implement a multi language GUI. I went on several websites and found documentation on resx files. I found it interesting but i must forgot one step.
I declared a resx file by default "Resources.resx " (english) and another for the french language "Resources. fr-CA.resx".
On my application i have a menu that allows the user to choose the language English or French. I am using WPF, and I tried some data binding like that :
- Title="{x:Stati c res:Resources.A pplicationMainW indowTitle}"
with ApplicationMain WindowTitle is in the resx file. I also want to do it for buttons, label and others... and at runTime.
How do I implement my click event for language selection to change the language during runtime?
Thanks.
If it's not clear enough, i'll try to explain better.