feat(i18n): Hebrew locale + full RTL support
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
// RTL locales: Hebrew (he) and Persian/Farsi (fa). Everything else is LTR.
|
||||
const rtlLocales = new Set(['he', 'fa']);
|
||||
|
||||
export function getLocaleDirection(locale: string): 'ltr' | 'rtl' {
|
||||
return rtlLocales.has(locale) ? 'rtl' : 'ltr';
|
||||
}
|
||||
Reference in New Issue
Block a user