Action check_language
System ID:
action_check_language
Description
Checks whether a language code (selected_lang_code) is set in the user state. Use for branching: show language selection or continue the scenario in the user’s language.
Events (scenario branches)
| Event | When it occurs |
|---|---|
| defined | Language code is set in the state |
| not_defined | Language code is missing or empty |
Parameters
No parameters ({}).
Configuration example
{}