18.2.2 Run the Translation Application and Translate Objects

Step

How to do it

1. Launch Translation Application

  • Log on to Visual LANSA.  Ensure you have authority to edit objects to be imported or log in as security officer.
  • Select Translate  from the Tools ribbon.
  • 2. Load the object translation information

    When the interface is launched the Language selection dialog is automatically launched and will attempt to load the translation files from the last location used.  If this utility has not been used before the default location for translation files will be the partition source directory.

    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 18.3 Import & Load Translations for Appropriate Language.