RemoveOtherLanguageTranslations

You can use this function for Optiva workflows to remove other language translations.

Purpose

The function RemoveOtherLanguageTranslations is used to remove all language translations from multi-language-enabled header fields and description except the current browser language.

Syntax

RemoveOtherLanguageTranslations(string objectSymbol, string objectKey)

Arguments

Part Description
objectSymbol The object type or current object type of the data.
Note: Use empty quotation marks to indicate the current symbol of the workflow.
objectKey The object key or the current object key of the data.
Note: Use empty quotation marks to indicate the current object of the workflow.

Description

The current browser language for multilingual header fields is retained, and all other translations are removed.

Note: This function applies only to header fields and does not affect label data or instruction data.

Example

MessageList("Clearing translations");
RemoveOtherLanguageTranslations("", tempcode);