Skip to content

$Culture

Gets the current script culture identifier (for example, en-US or tr-TR).

This global is installed by instance and screen script contexts; a plain domain-level script context does not add it. Use this value when calling culture-sensitive services or when passing an explicit culture to a child workflow. It is a BCP 47 culture name, not a time-zone identifier.

1
const $Culture: string;

Examples

Select a template by language

1
2
3
// 'en-US' -> 'en'
var language = $Culture.split('-')[0];
var templateName = 'Welcome.' + language + '.html';