type Attributes
Attributes that describe the locale and its formatting rules.
static
type Attributes = { locale: string; rtl?: boolean; decimalSeparator?: string; }
Notes
- These attributes can be used by the application to adjust its behavior based on the current locale
- The
locale
attribute is required, while the others are optional - The
rtl
attribute should only be set totrue
if the writing direction for the locale is right-to-left - The
decimalSeparator
attribute is used to determine the decimal separator for numeric values,.
or,
; this attribute defaults to.
if not provided
Related
- interface I18nProviderAn interface that can be implemented to support a specific locale.