Skip to content

Commit fa231a3

Browse files
committed
feat(i18n): Add complete Arabic language support with RTL
Add comprehensive Arabic (العربية) language support to OmniTools with full RTL (Right-to-Left) functionality: - Add Arabic to supported languages list and language selector - Translate all 12 namespace files to Arabic (audio, csv, image, json, list, number, pdf, string, time, translation, video, xml) - Implement RTL support with stylis-plugin-rtl for proper Arabic text rendering - Create RTL-aware theme variants (lightThemeRTL, darkThemeRTL) - Add automatic document direction switching based on selected language This enables full Arabic language support for all tools and UI elements in the application, providing a native experience for Arabic-speaking users.
1 parent d22b7e5 commit fa231a3

File tree

18 files changed

+1956
-49
lines changed

18 files changed

+1956
-49
lines changed

package-lock.json

Lines changed: 26 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
"react-konva": "^18.2.10",
8484
"react-router-dom": "^6.23.1",
8585
"styled-components": "^6.1.19",
86+
"stylis-plugin-rtl": "^2.1.1",
8687
"tesseract.js": "^6.0.0",
8788
"type-fest": "^4.35.0",
8889
"use-deep-compare-effect": "^1.8.1",

public/locales/ar/audio.json

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
{
2+
"changeSpeed": {
3+
"description": "تغيير سرعة تشغيل ملفات الصوت. تسريع أو إبطاء الصوت مع الحفاظ على طبقة الصوت.",
4+
"inputTitle": "إدخال الصوت",
5+
"newAudioSpeed": "سرعة الصوت الجديدة",
6+
"outputFormat": "تنسيق الإخراج",
7+
"resultTitle": "الصوت المعدل",
8+
"settingSpeed": "ضبط السرعة",
9+
"shortDescription": "تغيير سرعة ملفات الصوت",
10+
"speedDescription": "المضاعف الافتراضي: 2 يعني أسرع مرتين",
11+
"title": "تغيير سرعة الصوت",
12+
"toolInfo": {
13+
"title": "ما هو {{title}}؟"
14+
}
15+
},
16+
"extractAudio": {
17+
"description": "استخراج المسار الصوتي من ملفات الفيديو.",
18+
"extractingAudio": "استخراج الصوت",
19+
"inputTitle": "إدخال الفيديو",
20+
"outputFormat": "تنسيق الإخراج",
21+
"outputFormatDescription": "حدد تنسيق الصوت المراد استخراجه.",
22+
"resultTitle": "الصوت المستخرج",
23+
"shortDescription": "استخراج الصوت من ملفات الفيديو (MP4، MOV، إلخ) إلى AAC، MP3، أو WAV.",
24+
"title": "استخراج الصوت من الفيديو",
25+
"toolInfo": {
26+
"description": "تتيح لك هذه الأداة استخراج المسار الصوتي من ملفات الفيديو. يمكنك الاختيار من بين تنسيقات صوتية مختلفة بما في ذلك AAC و MP3 و WAV.",
27+
"title": "ما هو {{title}}؟"
28+
}
29+
},
30+
"mergeAudio": {
31+
"description": "دمج ملفات صوتية متعددة في ملف صوتي واحد عن طريق ربطها بالتسلسل.",
32+
"inputTitle": "إدخال ملفات الصوت",
33+
"longDescription": "تتيح لك هذه الأداة دمج ملفات صوتية متعددة في ملف واحد عن طريق ربطها بالترتيب الذي تقوم بتحميلها به. مثالية لدمج مقاطع البودكاست أو المقطوعات الموسيقية أو أي ملفات صوتية تحتاج إلى دمجها معًا. تدعم تنسيقات صوتية متنوعة بما في ذلك MP3 و AAC و WAV.",
34+
"mergingAudio": "دمج الصوت",
35+
"outputFormat": "تنسيق الإخراج",
36+
"resultTitle": "الصوت المدمج",
37+
"shortDescription": "دمج ملفات صوتية متعددة في ملف واحد (MP3، AAC، WAV).",
38+
"title": "دمج الصوت",
39+
"toolInfo": {
40+
"title": "ما هو {{title}}؟"
41+
}
42+
},
43+
"trim": {
44+
"description": "قص وتقليم ملفات الصوت لاستخراج مقاطع محددة عن طريق تحديد أوقات البداية والنهاية.",
45+
"endTime": "وقت النهاية",
46+
"endTimeDescription": "وقت النهاية بتنسيق HH:MM:SS (مثال: 00:01:30)",
47+
"inputTitle": "إدخال الصوت",
48+
"longDescription": "تتيح لك هذه الأداة تقليم ملفات الصوت عن طريق تحديد أوقات البداية والنهاية. يمكنك استخراج مقاطع محددة من ملفات صوتية أطول، أو إزالة أجزاء غير مرغوب فيها، أو إنشاء مقاطع أقصر. تدعم تنسيقات صوتية متنوعة بما في ذلك MP3 و AAC و WAV. مثالية لتحرير البودكاست أو إنتاج الموسيقى أو أي احتياجات تحرير صوتية.",
49+
"outputFormat": "تنسيق الإخراج",
50+
"resultTitle": "الصوت المقلم",
51+
"shortDescription": "تقليم ملفات الصوت لاستخراج مقاطع زمنية محددة (MP3، AAC، WAV).",
52+
"startTime": "وقت البداية",
53+
"startTimeDescription": "وقت البداية بتنسيق HH:MM:SS (مثال: 00:00:30)",
54+
"timeSettings": "إعدادات الوقت",
55+
"title": "تقليم الصوت",
56+
"toolInfo": {
57+
"title": "ما هو {{title}}؟"
58+
},
59+
"trimmingAudio": "تقليم الصوت"
60+
}
61+
}

0 commit comments

Comments
 (0)