17.1.2 Install Translation Application and Translate Objects

Step

How to do it

1. Install the translation application

Run the provided MSI (or MSP) file to install the translation application on the translator's system.

  • The install will automatically launch the application on completion.
  • The application can be launched from the desktop.
  • 2. Load the object translation information

    When the application is executed the Language selection dialog is automatically launched.  Select to load translation from, by default,

    C:\ Program Files \<Company>\<Application Description>\X_Win95\X_Lansa\X_Apps\<Application>\<Application>\Source\Tlfiles

    or nominate a location where the translation files are available.

    If this utility has not been used before the default location for translation files will be the partition source directory associated with the installed Package.

    The translation languages available for selection is based on the languages selected when the package was created.

    Note - If the tl*.txt translation files are not located at the nominated location an error is issued and no languages are available for selection.  Change the Load from path to the location of the translation files or move the translation files to the specified location and attempt to open files again.  The translation files must include the file TLLANGS.txt.

    Press OK to proceed with the translation process.

    Base language

    The Base language is normally the language used when developing the application. The language entered is used to locate the file on which you will base your translations. The values from this file are displayed in the upper half of the Translate Object Details dialog.

    Translation Language

    Select the language for the new translations. The languages available for translation are based on the source LANSA system and are provided in translation file TLLANGS.txt.

    3. Translate Repository Object details

    If you have included LANSA objects for translation, simply work through the list of Objects in the left of the window.

    For each selected Object, the text in the base language will be shown in the top section of the window and the entries requiring translation are shown in the bottom section.

    If the translated description is longer than the base language description the translation will be highlighted in red.

    Save your translations periodically as a safeguard.

    4. Save your translations

    After you have translated all the objects Save the translations and Close the files.

    If you attempt to Close the file without Saving first your translations will be lost. You will be warned if there are any unsaved changes and given the option to save them.

    5. Zip the translations

    Optionally zip the tl*.txt translation files.

    6. Return translation files

    The generated zip file TLFILES.zip or unzipped tl*.txt translation files should be returned for incorporation into the development environment.

     

    Integration of the files back into the development environment is described in 17.3 Import & Load Translations for Appropriate Language.