• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Question Translating/Localizing Class based code

Hi Everyone,

I am looking for help/advice/tips regarding localizing class based code.

Currently our application is GUI but we have started to create new class based forms/user controls etc as we intend to move our application into a more feature rich .NET look/feel but have a problem relating to translating the strings into different languages.

The GUI application uses the standard :Tn etc attributes which are used by translation manager when compiling the code for each language specified but this does not appear to work for class based code.

We have looked into creating .resx files for each language we support which works well but only for the UI side. For any strings which are within the code or in a class which is not a form/user control we cannot work out how to get these translated into various languages.

Can anyone give any help with this?