You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
refactor: Standardize localization config to simplify adding new languages #133
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
Define a centralized LOCALES array (e.g., in lib/i18n.ts or a separate config file).
Ensure each locale object includes a dir property ('ltr' or 'rtl').
Update LanguageProvider and LanguageSwitcher to use this new configuration.
Replace any hardcoded RTL logic (e.g., locale === 'ar') with the new dir property.
Update CONTRIBUTING.md with a guide on how to add new languages and contribute to localization.> [!NOTE]
🚀 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! ✨
Activity
ThaiTrevor commentedon May 23, 2026
/attempt #133