Adding new languages currently requires updating multiple places. We should standardize the localization configuration into a single source of truth where each supported language defines its value, label, and layout direction (RTL/LTR).
Tasks
🚀 CONTRIBUTIONS ARE WELCOME!
If you want to get this issue assigned to you, just comment 'assign me'.
You will be assigned to the issue instantly via our GitHub Actions bot. Happy coding! ✨
Adding new languages currently requires updating multiple places. We should standardize the localization configuration into a single source of truth where each supported language defines its value, label, and layout direction (RTL/LTR).
Tasks
LOCALESarray (e.g., inlib/i18n.tsor a separate config file).dirproperty ('ltr'or'rtl').LanguageProviderandLanguageSwitcherto use this new configuration.locale === 'ar') with the newdirproperty.CONTRIBUTING.mdwith a guide on how to add new languages and contribute to localization.> [!NOTE]