Configuration Multilanguage Fields Support

To support multilanguage fields, LN must be installed in Unicode mode. You can choose the Unicode character set in the LN Installation Wizard.

For more information on the prerequisites for a Unicode installation, see the Technical Notes.

Before you start the configuration of Multilanguage Fields Support, it is recommended you create a backup of the application data. For example, you can extract your application data through the Create Sequential Dump of Table (ttaad4226m000) session, or you can create a backup through the backup tools in your RDBMS.

  1. Enable support for Multilanguage Fields.
    1. Start the Parameters Multi Language Support (ttadv4106m000) session.
    2. Configure Multibyte and Unicode, and perform the required steps for this configuration. See the instructions displayed in the session's window.
    3. Select the Multi Language Fields Support check box.
    4. Use the All Data Languages Always Available check box to specify whether all language variants must be read:
      • If this check box is selected, then for multibyte fields that are “Multi Data Language Enabled” all language variants are read.

        This might result in reduced performance in sessions with multilanguage fields.

      • If this check box is cleared, then only the language variants of the user's language are read. When a report is printed, the application can select the language that is read from the database or force to read all languages.
    5. Save the changes and close the session.
  2. Define data languages.
    1. Start the Data Languages (ttaad1111m000) session.
    2. Define the desired data languages. A data language consists of an ISO 639-1 language code and, optionally, an ISO 3166-1 country code. You can zoom to the ISO 639 Languages (ttaad1512m000) session and the ISO 3166-1 Countries (ttaad1513m000) session.
    3. Define the base language: Select a data language and, on the appropriate menu, click Make Base Language .

      The base language is used as a fall back language. Application data is displayed in the base language if both of these scenarios occur:

      • No data language is defined in the user data of an LN user.
      • No data language is linked to the user's software language.
    4. Convert the data languages to the runtime data dictionary. On the appropriate menu, click Convert Data Languages to Runtime . The conversion process generates the $BSE/lib/data_langs file.
      Note: 
      • Only perform this step if you are sure you no longer want to change the base language. See the restrictions listed in the online help of the session.
      • During the conversion to runtime, all users must be logged off.
      • When the conversion to runtime has finished, you must restart the LN environment.
    5. Close the session.

      Data Languages have a status that is used to control their life cycle.

      See "Life cycle of a data language" in the online help of the session.

  3. Link data languages to the corresponding software languages.
    1. Start the Software Languages (ttaad1510m000) session.
    2. Double-click a software language, to start the Software Languages (ttaad1110s000) session. In the Data Language field, specify the desired data language.
      Note: 
      • You can zoom to the Data Languages (ttaad1111m000) session.
      • You can only select data languages with status "Base Language" and "Available".
      • If the Data Language field is blank, the application data is shown in the data language that is defined in the LN user data. Or in the base language.
    3. Save the changes and close the sessions.

      To ensure that application software and application data are displayed in the same language, link the data languages to the software languages.

  4. Register Multilanguage Tables and Table Fields that must be multilanguage enabled.
    1. Start the Registered Tables with Multi Language Fields (ttadv4137m000) session.
    2. Select a package combination.
    3. Add the tables to be Multilanguage Enabled.
    4. Per table, specify whether all languages must be read for records from the table:
      • If all languages must be read, select the All Data Languages Always Available check box.
      • Otherwise, clear this check box.
      Note: 
      • If all data languages are always available, this can result in reduced performance in sessions with multilanguage fields.
      • You can only clear this check box if the application feature pack is high enough.
      • The All Data Languages Always Available setting is saved in the data dictionary of the table. Therefore, after a change in this setting, a conversion to runtime for tables is required.
    5. Double-click a table. The Registered Multi Language Fields (ttadv4138m000) session starts.
    6. For each field to be multilanguage enabled, select the Enabled check box.
    7. Save the changes and close the sessions.
  5. Convert the multilanguage settings to the runtime data dictionary.
    1. Start the Convert to Runtime Data Dictionary (ttadv5215m000) session.
    2. Select the Tables check box and the Reconfigure Tables check box.
    3. For package combinations, packages, and tables, specify the appropriate selection ranges.
    4. Click Convert to Runtime .
    5. Optionally, start the User Data (ttaad2500m000) session and define a data language per user.

      The data language that is specified in the user data takes precedence over the data language that is linked to a software language.

      See "Language types" in Multilanguage application data.

Note: If you use the Enterprise Modeler Content Pack with LN, consider using the MAA0050 (Multi Data Languages for Descriptions) wizard to set up multilanguage support. You can execute this predefined wizard from the Wizards by Project Model (tgwzr4502m000) session after you specified the business function model for your company.