Skip to content

registerLocale(locale, locales) ​

registerLocale used to custom locale.

Reference ​

typescript
(
  locale: string,
  locales: {
    time: string
    open: string
    high: string
    low: string
    close: string
    volume: string
    change: string
    turnover: string
  }
) => void

Parameters ​

  • locale Locale name.
  • locales Locale configuration.

Returns ​

registerLocale returns undefined .

Usage ​

Using initialization ​

Dynamic settings ​