locale property

String get locale

Sets the default locale when executing Arcade expressions.

Uses CLDR/BCP-47 language tag format. If no locale is provided, the system locale is used by default. If an Arcade function accepts a locale override as a parameter, that value takes precedence over this property.

Note that invalid locale values will be ignored and the system locale will be used instead.

set locale (String value)