Translating Your Application

Previous Next

The most important step in the localization process is the translation of the strings/messages in the Definer and to make UMG and SMG files.

The following example assumes that we are going to translate your application from English into Dutch. The overall procedure of the localization is as follows:

1.Define the languages into which your application will be translated.
2.In the Definer, from the menu bar, choose Tools, Language, System Languages. Define "NL" for Dutch and commit.
3.Load the application strings of your application.
4.From the Definer menu bar, choose Tools, Language, Populate Application Strings, and then click OK.
USoft Developer extracts all the text strings of your application from your application repository, and loads them into T_APP_USED_STR table.
5.Load the system messages of your application. From the Definer menu bar, choose Tools, Language, Load System Messages, and then click OK.
USoft Developer extracts all the system messages from your application flat files (including the system messages borrowed from the USoft Developer and the user-defined system messages for the application), and loads them into the T_SYS_MSG table.
6.Enter translations for the application strings in the T_APP_LNG_STR table (a child table of T_APP_USED_STR table), and the translations for the system messages in the T_SYS_MSG_LNG table (a child table of T_SYS_MSG table). See "How to Translate Application Strings" and "How to Translate System Messages" for more information.
7.Create UMG and SMG files for the application.
8.From the Definer menu bar, choose Tools, Create Flat Files, to generate flat files for your translated application strings, and translated system messages, respectively.
These files must have the name of the application as their file name, with UMG and SMG extensions for the application strings and system messages respectively.
These files must be stored in:
<USoft installation directory>/APP

 

NOTE:All prompts, field labels, page titles (object name plural) etc. can be translated in the Definer. The next time you open the Web Designer, you will see the translated items.
NOTE:Buttons and other controls (for example the Save button) can be translated in the Web Designer, by editing the value of the Label property for the control concerned at the highest level in the Control tab. All other text can be translated in a similar way by hand in the Web Designer.
NOTE:Before you can run your translated Web application once it is published, you must specify the language.

See Also

How to Translate Application Strings

How to Add Translation for the Borrowed Strings

How to Translate System Messages

How to Specify the Language with Which to Run the Application