Bundt Scripting Reference · Bundt Scripting Language version 1.0.1.0

alter language statement

Alters an existing language in the context model. If no model is in context, an error occurs.

The altered language is put in context.

Syntax

alter language [LanguageName] as [description Description] [default]

Element Type Optionality Notes
LanguageName Language name Optional. If no language name is specified, the language in context is used. If no language is in context, an error occurs. Specifies the existing language to be altered.
Description Expression<Text> or Expression<Dictionary<Text>> Optional. If no description is specified, the current one is maintained. Specifies the new description of the language, either as a text or in multilingual dictionary format.
default Optional. If omitted, the language is not made the default one. Specifies whether the language is to be made the default one in the model.

Returns

The language just altered.

Examples

Intent Code
Alter a language to change its description alter language it_IT as description [en_GB: "Italian", es_ES: "Italiano"];
Alter a language to make it the default alter language it_IT as default;
Alter the context language to make it the default alter language as default;

See Also


Contents distributed under a Creative Commons Attribution 4.0 International License · About · Terms of Use · Contact Us · last updated on 08 October 2020