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 Forms and Tasks

Adding Multilingual Support for Forms and Tasks

You can create request forms as well as task forms (for a People activity) that support different languages. To do so, you create a new form, plus a default properties file and additional properties files for each language supported. The properties file contains externalized strings for schema-based keyIdentifiers. The steps to accomplish this support for requests are described below.
For details on task forms, see Providing Multilingual Support for Task Forms in the
Human Tasks
topics elsewhere in this help.
Create a new request form and a default properties file:
  1. Create a new request form, described in Creating an Process Central Process Form.
  2. In the Create Form dialog, select the
    Advanced
    button.
  3. Select the Externalize String
    s
    check box.
  4. Accept the default name and location for the properties file, or select the dialog button next to Property File to name and store your file. Do not use an underscore in the name.
When you externalize strings, the following events occur:
  • Schema elements in the form are generated by identifier rather than by name to allow for runtime replacement of strings found in a properties file.
  • A new link is added within the form to indicate multilingual support:
    <link rel="i18n" charset="UTF-8" type="text/plain" href="myForm.properties" />
  • The list of schema elements is added to the properties file as a key-value pair.
  • The properties file that you create is the default externalized strings file.
For each additional language you want to support, do the following:
  1. Make a copy of the default properties file and paste it into the forms folder.
  2. Name the copied file with the syntax described in Naming Convention for a .properties File. Basically, you must use the exact same name for each file, followed by an underscore, followed by an ISO 639 Code for the Representation of Names of Languages.
  3. Open the file in a text editor and replace the existing values with another language.
To test your properties, specify a language when you login to Process Central. For example:
http://localhost:8080/activevos-central/login.jsp?lang=fr
See also I18N Functions.

0 COMMENTS

We’d like to hear from you!