Loading...
 
Multi-Language Add-In for VB6

Multi-Language Add-In for VB6


Modify a translated string

Hello,
today i began to use the Multi-Language Add-In for VB6, so i let it scan the project then added English as new language, since the original is Italian. I also used the Microsoft Translator utility to automatically translate the strings, and it worked fine!
Then i tried to modify some of the automatically translated string, and even though i can see the new value i set for the string, if i save the project run it and choose "English" from the selection form, the new string is not used, but i always see the old one (the one microsoft translator generated).

Could you please help me?
Thanks

Diego

Germany

Hi Diego,

after modifying any strings, you have to go through the step of adding runtime support. Click on the runtime support symbol Image on the toolbar and select either Runtime Support Wizard or Support using Resources (Old Dialog) from the menu.
Image
Runtime Support Wizard starts a step by step dialog. Support using Resources (Old Dialog) shows all the same options in a single dialog.

The resource strings are never saved automatically, so you have to repeat this step after modifying any strings. (I know this is non intuitive. In the .NET version of the Add-In the resources are now saved automatically, but I will not be changing this in the VB6 version.)

There is a difference between the controls and the source code. By default, properties of controls are selected for translation. Strings in the source code are not selected automatically. You will have to select them by clicking on the check boxes in the grid.

You will probably find, that there are a lot of strings which do not require translation. In some cases, translating a string may cause an error in the program. The Add-In cannot automatically detect which strings should be translated and which should not.

If you have a large project, you might find the feature Filtering texts with regular expressions useful to select (or to hide) strings based on search patterns. There is an introduction to this feature in the Quick Tour.

Once you have selected strings in the source code, you can start the Microsoft Translator via the context menu on the Italian column, or from the drop down tools menu.

Phil