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
localeattribute is required, while the others are optional - The
rtlattribute should only be set totrueif the writing direction for the locale is right-to-left - The
decimalSeparatorattribute 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.
