feat(i18n): add full Arabic (ar) translation

Adds a complete Arabic locale (2759 keys, full parity with en) and wires
it into routing, RTL direction detection, message loading, the language
switcher, and flag icons alongside the existing he/fa RTL locales.
This commit is contained in:
xhzeem
2026-07-21 23:07:40 +02:00
committed by Linus Rath
parent 3dceecb4c5
commit fda898fc96
6 changed files with 3285 additions and 3 deletions
+3
View File
@@ -33,6 +33,9 @@ export default getRequestConfig(async ({ requestLocale }) => {
// Use static imports for better compatibility
let messages;
switch (locale) {
case 'ar':
messages = (await import('../locales/ar/common.json')).default;
break;
case 'cs':
messages = (await import('../locales/cs/common.json')).default;
break;