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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user