Connecting Tech Pros Worldwide Help | Site Map

C# - WPF localization at runtime

  #1  
Old June 29th, 2009, 08:22 PM
Newbie
 
Join Date: Jun 2009
Posts: 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).
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
Localization and Nested Master Pages shapper answers 0 November 25th, 2006 12:05 AM
Reading and modifying .resx files at runtime Bhavini answers 0 July 13th, 2006 02:35 PM
Localization still a pain? CMM answers 5 April 23rd, 2006 06:44 PM
Dynamic Localization at Runtime mike answers 2 November 16th, 2005 06:45 AM
can i define a new method at runtime? Raoul answers 6 July 18th, 2005 01:01 PM