get

[ Function ]

public static get(): string | undefined;

Returns the current localization.

get 1:

This is independent of the Time Format Locale. See Project properties

Parameter

Name

Type

Description

-

-

-

Return value

Type

Description

string | undefined

Name of the current localization, or undefined if no localization is defined.

Example: 'de-DE', 'en-US

get 2:

Available from 1.8

Sample - JavaScript

var currentLocale = TcHmi.Locale.get();