Bundt Scripting Reference · Bundt Scripting Language version 1.0.1.0

Multilingual Dictionary format

Since Bundt supports multilingualism , you often need to express multilingual data in scripting.

Multilingual data is always expressed as a dictionary of Text or identifier data type.

Syntax

[Language: Data, Language: Data, ...]

Element Type Notes
Language Language name Specifies the name of each language. The referred to languages must exist in the model where the multilingual dictionary is being used. In addition, all languages in the model must be represented in the dictionary.
Data Identifier or Text Specifies the data in the associated language.

Examples

Intent Code
Create a class and provide its name in three languages create class [en_GB: Building, es_ES: Edificio, it_IT: Palazzo];
Express the definition of a class in three languages alter class Building as definition
[
    en_GB: "A building is a structure that hosts people.",
    es_ES: "Un edificio es una estructura que alberga personas.",
    it_IT: "Un palazzo รจ una struttura che ospita persone."
]
;

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