By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,594 Members | 3,215 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,594 IT Pros & Developers. It's quick & easy.

How do you implement a multi language GUI using resx files?

P: 1
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 :
  • Title="{x:Static res:Resources.ApplicationMainWindowTitle}"
with ApplicationMainWindowTitle 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.
Nov 4 '09 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.