Multi Language Software
Softwarebuero Jollans
This is Tikiwiki v2.2 -Arcturus- © 2002–2008 by the Tiki community
Wed 08 of Sept., 2010 19:59 CEST
Multi-Language Add-In for Visual Basic 6See also General DescriptionThe Multi-Language Add-In for Visual Basic 6 provides a general solution for creating and maintaining Visual-Basic projects with support for multiple languages.The product is an Add-In for Visual Basic 6, which means that it is tightly integrated into development environment. The basic steps involved in localizing an application are: Identifying the strings to be translatedThe Add-In scans your project, looking for strings defined in
In both cases, you can
Note Most programs contain a lot of text strings which do not require translation. In many cases, translation a string will actually cause a program error. Selecting the texts which require translation is a job which can only be performed by the programmer. The Multi-Language Add-In makes it easy to start this job late in project development. Specifying the languages to be supportedThe Add-In shows you a list of all languages supported by Windows. Simply select a language from the list to add it to the project.For each language, an additional column is added to the grids, showing the strings for this language. Entering translationsThere are two basic ways to enter translations. The one you choose probably depends on who is going to do the translation work.
Using the translationsThere are two fundamental ways to use the translations. You can either:
Single language versionsUsing the Multi-Language Add-In, it is simple to generate a single language version of your project. You select the language and the Add-In will:
Creating a multi-language versionThere are two aspects to creating a multi-language version of your project:
To switch the language, the Add-In generates a new function in each Form, UserControl or UserDocument to load the localized texts into the properties of controls in the user interface. A call to this function is added to the Form_Load, UserControl_Initialize or UserDocument_Initialize function. Language selection and language switchingThe Add-In can add a form to your project, which can be used to select the language. This form can be shown:
The Add-In can add code to your project, to show this form before any other forms are loaded. In this case, the language is selected before any other initialisation code runs. If you want to change the language at a later stage, then an event mechanism can be used to generate events in all active components, indicating that the language has been changed. The events are generated via a singleton object in the module MLRuntime.dll, which has the great advantage that events can be generated across multiple, separately compiled modules. The Add-In can automatically add the necessary event handlers to support this mechanism. The module MLRuntime.dll can be freely distributed with your application. See alsoMajor FeaturesQuick Tour What's New Download ![]()
|
