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).