Add a Language to EnterWorks - Precisely_EnterWorks - EnterWorks_Process_Exchange_(EPX) - EnterWorks - 11.0

EnterWorks Guide

Product type
Software
Portfolio
Verify
Product family
EnterWorks
Product
Precisely EnterWorks
Precisely EnterWorks > EnterWorks
Version
11.0
Language
English
Product name
Precisely EnterWorks
Title
EnterWorks Guide
Copyright
2024
First publish date
2007
Last updated
2025-01-07
Published on
2025-01-07T07:44:20.997000
Warning: If you add a language, enable a language, or change a language's padding factor, after you save the language, you must rebuild the snapshot tables for any repositories that have multi-language snapshot table support. To reduce the impact of adding a language or editing a language, you may want to wait until after typical work hours.
To add a language to EnterWorks:
  1. Create the eMessage files for Tomcat and Wildfly. Each language supported by EnterWorks has two language files titled:
    • eMessages_<language-extension>.properties
    • eMessages_<language-extension>_utf8.properties

    where <language-extension> is the language extension code. For example, the eMessages files for Italian are named:

    • eMessages_it.properties
    • eMessages_it_utf8.properties

    Copies of these two files are located in every folder where there is a sharedConfig.properties file.

    Create new eMessage files for the new language:

    1. Follow the instructions in Export Data Model Objects or Messages for Translation to export a language that EnterWorks already supports. In the field Selecting Other Sub-Systems, select Messages.

      Exporting the .csv message files will create a file with a name in the format:

      Messages_<language-extension>_utf8.csv
    2. Rename the exported Messages.csv file by replacing <language-extension> with the language extension code for the new language. The extension code you use must be the same as the extension code the language will use when you add the language to the Language List.
    3. Translate the renamed Message .csv file.
    4. Import the translated Messages .csv file. The instructions for importing the translated Messages .csv file include instructions to copy the two new eMessage files to every folder that contains a sharedConfig.properties file.
  2. Create a language .json file for the microservices. Messages used by the microservices are contained in a .json file named:
    
                <language-extension>.json

    where <language-extension> is the language extension code. The <language-extension>.json files are located in the folder:

    Enterworks\enable2020\enable2020\assets\i18n

    To create a new <language-extension>.json file:

    1. Copy an existing <language-extension>.json and rename the new file by replacing <language-extension> with the same language extension code you used for the Messages.csv file.
    2. Edit the new <language-extension>.json file and translate the message strings into the new language.
    3. Save the new <language-extension>.json file.
  3. Add the language to the Language List and enable it.
  4. If you want to translate the names of data model objects:
    1. Export the data model objects for translation.
    2. Translate the data model objects.
    3. Import the data model objects.
  5. Restart EnterWorks services.
  6. Clear the cache.
  7. Rebuild the snapshot tables for all repositories that have multi-language snapshot table support.