3 1 Defining Multilingual Variables

LANSA Multilingual Application

3.1 Defining Multilingual Variables

When you create a Multilingual Variable the default prefix of *MTXT is provided but you need to supply a suffix which complies with your site naming standards.

Multilingual Variables are defined with a maximum length of 78 characters. Ensure the length specified is as long as the longest translation for the multilingual variable in any language defined for the partition.

The description entered when creating a multilingual variable is used as the current language description for the variable.

To provide a description for the other partition languages, you need to open the multilingual variable in the LANSA Editor and modify the definition as required.

If a description is not provided for any of the partition languages, the value supplied for the default language will be used when the multilingual variable is referred to in an application.

Note: In the example above, the maximum length is longer than either of the translations for English or French.