getLocaleId

The locale id for the chosen locale (e.g en-GB).

getLocaleId(locale: string): string

参数

locale

Type: string.

返回值

string