Documentation

@kanunilabs/pivotgrid-react


@kanunilabs/pivotgrid-react / PivotLocale

Type Alias: PivotLocale

PivotLocale = "tr" | "en" | "ar" | "de" | "fr" | "es" | "it" | "pt" | "ru" | "zh-CN" | "ja" | "ko" | `${"tr" | "en" | "ar" | "de" | "fr" | "es" | "it" | "pt" | "ru" | "zh" | "ja" | "ko"}-${string}`

The grid's language: one of the twelve built-in codes, or a regional tag of one of their languages ('tr-TR', 'pt-BR', 'ar-SA', 'zh-TW'). A regional tag gets its language's words and direction (every Arabic tag is right to left) and keeps its own region for dates and numbers. Exact codes first ('zh-CN' is one), then the language.