Official locale packs
Exact imports are available for English, French, German, Spanish, Arabic, Hindi, Japanese, Simplified Chinese, and Brazilian Portuguese.
Negotiation and fallback
Choose a locale from user preferences, declare a fallback, and lazy-load only the selected pack. Arabic includes RTL metadata and direction.
Application terminology
Extend a locale pack with product-specific labels while retaining built-in plurals, dates, numbers, lists, and relative-time formatters.
import { dataTableLocaleOptions } from 'wts-data-table/i18n';
import { arLocale } from 'wts-data-table/locales/ar';
new DataTable({
...options,
...dataTableLocaleOptions(arLocale)
});