Table of Contents

Search

  1. Preface
  2. Part 1: Using Process Developer
  3. Part 2: Creating and Modifying Processes
  4. Part 3: Functions, Events, Errors, and Correlation
  5. Part 4: Testing and Deployment
  6. Part 5: Process Central and Process Server (On-Premises)

Process Developer

Process Developer

Adding Multilingual Support for an .avcconfig File

Adding Multilingual Support for an .avcconfig File

For an overview of this topic, see Adding Multilingual Support to Process Central.
You can provide externalized strings for the following attributes in an Process Central configuration file:
  • Category names for the folders you add to Tasks, Forms, and Reports. For example, a Forms category named
    Tutorial and Samples
    contains the Process Developer tutorial request and the samples request forms.
  • Descriptions for reports and forms. For example, the tutorial form contains a description that says, "Submit loan approval request (basic tutorial)."
  • Names for the Task
    Role
    and
    Show
    picklists
To provide multilingual support:
  1. Create a new
    avcconfig
    file, as described in Creating a Process Central Configuration File. Store it in your
    deploy
    folder. For example,
    tutorial.avcconfig
    .
  2. For each name and description attribute in the file that you want to externalize, you must modify the place holder text to refer to a
    ${keyIdentifier}
    . For example:
    <tns:requestCategoryDef id="education" name="
    ${tutorial.and.samples}
    ">
  3. In a text editor, create a new
    .properties
    file that is the default externalized strings properties file for the
    .avcconfig
    file. For example,
    tutorialConfig.properties
    .
  4. The
    avcconfig
    file must refer to this file, so you must add the following line, indicating multilingual support, in your
    avcconfig
    file:
    <tns:i18n location="/path/to/tutorialConfig.properties" />
  5. In the default properties file, add each
    ${keyIdentifier}
    and its English value. For example:
    tutorial.and.samples=Tutorial and Samples
  6. As you add other externalized strings, add additional lines to the properties file, such as:
    tutorialRequest.description=Submit loan approval request (basic tutorial)
  7. For each additional language, make a copy of the default properties file, and change the value of the keyIdentifier for that language.
    tutorial.and.samples=Tutoriel et échantillons
  8. Name each file with an underscore and language name. For example:
    For example,
    tutorialConfig_fr.properties
  9. Ensure the copy is UTF-8 encoded. By default Process Developer sets the encoding to ISO-8859-1.
After deployment, test your properties by specifying a language when you login to Process Central. For example:
http://localhost:8080/activevos-central/login.jsp?lang=fr
Example Configuration File Snippet:
<tns:requestCategoryDef id="education" name="${tutorial.and.samples}"> <avccom:description> ${tutorialRequest.description} </avccom:description> <tns:i18n location="/path/to/tutorialConfig.properties" />
Example default properties file;
tutorial.and.samples=Tutorial and Samples tutorialRequest.description=Submit loan approval request (basic tutorial).

0 COMMENTS

We’d like to hear from you!