Add translations to the landing page to support multiple languages

Adds i18n support to LandingPage.tsx and introduces new keys in en.json and ar.json for translating landing page content.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 5a4f78b4-6a2e-4391-b005-5544e086dac8
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/9777c70b-fc38-4831-8d6b-78dfffe041b0/b281d9b5-65f2-4854-b74e-21841ec0541a.jpg
This commit is contained in:
ghaddaditw
2025-06-08 08:52:32 +00:00
parent e80e08fdb5
commit 3ab8f3f325
3 changed files with 24 additions and 7 deletions
+8
View File
@@ -276,6 +276,14 @@
"invalidCredentials": "بيانات اعتماد غير صحيحة",
"passwordMismatch": "كلمات المرور غير متطابقة"
},
"landing": {
"heroTitle": "مدعوم بالصوت",
"heroSubtitle": "إدارة شاملة للمهام والشؤون المالية بدون إنترنت مع معالجة ذكية محلية للصوت. لا يتطلب إنترنت، خصوصية مضمونة بالكامل.",
"taskManagement": "إدارة المهام",
"taskManagementDesc": "إنشاء المهام بالأوامر الصوتية",
"financialTracking": "تتبع الشؤون المالية",
"financialTrackingDesc": "تسجيل تلقائي للنفقات"
},
"dashboard": {
"title": "لوحة التحكم",
"welcome": "مرحباً",
+8
View File
@@ -315,6 +315,14 @@
"invalidCredentials": "Invalid credentials",
"passwordMismatch": "Passwords do not match"
},
"landing": {
"heroTitle": "Voice-Powered",
"heroSubtitle": "Complete offline task and financial management with local AI voice processing. No internet required, complete privacy guaranteed.",
"taskManagement": "Task Management",
"taskManagementDesc": "Voice-powered task creation",
"financialTracking": "Financial Tracking",
"financialTrackingDesc": "Automated expense logging"
},
"dashboard": {
"title": "Dashboard",
"welcome": "Welcome",