Bundt Scripting Reference · Bundt Scripting Language version 1.0.1.0

create language statement

Creates a new language in the context model. If no model is in context, an error occurs.

The created language is put in context.

Syntax

create language Name Description [default]

Element Type Optionality Notes
Name Expression<Identifier> Mandatory. Specifies the name of the new language, in language name format.
Description Expression<Text> or Expression<Dictionary<Text>> Mandatory. Specifies the description of the new language, either as a text or in multilingual dictionary format.
default Optional. If omitted, the new language is not made the default one. Specifies whether the new language is to be made the default one in the model.

Returns

The language just created.

Examples

Intent Code
Create a new language for standard Italian create language it_IT "Italiano";
Create a new language for standard Italian and make it the default create language it_IT "Italiano" default;
Create a new language for standard Italian with a multilingual description create language it_IT [en_GB: "Italian", es_ES: "Italiano"];

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