Localization dll

Apr 18, 2007 3 Replies

Hi, I am developing a hook under VS2005 and need to localize it for different countries. I added the app.resource.dll to the global assembly, but SO ignores the localized version. It uses the standard language.



Does anybody has a sloution?



Thanks, Martin


Load your assembly dynamically from your hook.. You can use HKLM\SOFTWARE\Microsoft\Retail Management System\Store Operations\POSUsers\LanguageID key to get current language .. but only the ID in QSAdministrator file..

cod

Hi cod,

how do you add the sattelite.dll dynamiclly?? Do you have a line of code for me? Or do you mean the whole Hook in a different dll. That would mean to load a dll from a dll right?

Thanks,

Mart> >

Now I have no example for you..

You can use System.AppDomain.LoadAssembly to load the assembly with resource translated .. or use the System.ComponentModel.ComponentResourceManager.ApplyResource using overload with CultureInfo for localized version of RMS.

cod

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required