Documentation Center

PslTransBundle.SetRefLanguage

Adds an additional column to the string lists in the translation bundle, that contains the text of another translation list.

Syntax

Expression.SetRefLanguage(Language as Variant, Type as Integer)

Expression Object of type PslTransBundle

Language Language ID or a PslLanguage object that defines the language to add.

Type One of these values

reflangReference (value = 1): The language is added as additional column.

reflangAlternative (value = 2): The language replaces the source language. Make sure, that the translation lists for that language are completely translated.

Example

...
 bundle.SetRefLanguage(pslLangGerman, reflangReference)