Release 1.23.2 - 31.10.24
Current release information
Added following commands to the Custom Script Element:
-
switch language: switchLanguage("en") -> switch to another valid language (existing in project)
-
deactivate language:activateLanguage("de", false) -> language is not visible in the language selection screen anymore
-
activate language:activateLanguage("sp", true) -> language is visible in the language selction screen again
-
show language switch: showLanguageSwitch("true")-> shows the language switch button in the top left corner of the Avatar
-
hide language switch: showLanguageSwitch("false") -> hides the language switch button in the top left corner of the Avatar

Added a new system variables:
AvailableLanguages
-> It contains all languages that are active in the current project, condition: "contain"/ "not contain", values: languages

Conditions: "is" / "is not" , possible states (values):
-
user-home-button -> when user clicks on the home button in the top left corner of the avatar
-
user-language-switch -> when user switches the language through the language button in the top left corner of the Avatar
-
system-language-switch -> when language switch element or script changes the current language
-
system-back-to-start -> when "Back-to-flow-start"-Element or -Output is triggered
-
system-start -> when flow starts, everytime Avatar detects someone and starts the flow

Utility improvements:
URL check for API call elements has been removed
-> Any kind of URL is possible to enter now. The accuracy of the URL must be checked by the user themselves.

The body of API calls can now be individually changed for each language
Or if prefered, the body can be autotranslated from the primary language. Then it can not be edited.

Variables/Attributes will be ordered by name from now on

Help button in the top right corner leads you to the Gitbook documentation website

Cosmetics:
Added flags to the new languages available
