diff --git a/core/type/src/i18n.ts b/core/type/src/i18n.ts index 05507cc158..fc28fee3e2 100644 --- a/core/type/src/i18n.ts +++ b/core/type/src/i18n.ts @@ -20,3 +20,10 @@ export type Locale = { */ direction: 'rtl' | 'ltr'; }; + +/** + * Multi language string + * + * {fa: 'سلام', en: 'hello'} + */ +export type i18nString = Record<Lowercase<string>, string>;