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

C# - WPF localization at runtime

P: 1
I'm developing an app using WPF, and have just started looking into localization. I have gotten the BAML localization solution working (with LocBaml and CSV files), but I'm a bit perplexed when it comes to translation of strings at runtime. For example, I am building a search window, and when a search is performed, I update a header to tell the user how many results were found. I can understand how the satellite assemblies are used to fill in localized values, but is there a way to define strings outside of the XAML, accessible in code, that will be compiled into the the locale-specific resource DLL? Obviously, I could use a .resx file, but I would prefer not to have to deal with translations in two places (satellite resource DLLs and .resx files).
Jun 29 '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.