Sure! Below are the updated en.json and ar.json files based on the data you provided. The en.json contains English translations, and the ar.json contains the corresponding Arabic translations. Both JSON files have been structured to ensure that all keys are present in each, facilitating seamless localization for your application.
en.json
{
"Sas Radius Pro Dashboard": "Sas Radius Pro Dashboard",
"logo": "Logo",
"user_profile": "User Profile",
"Search...": "Search...",
"الايام المتبقية": "Remaining Days",
"نسبة ما تبقى من ايام": "Percentage of Remaining Days",
"اكثر افضل": "The More, The Better",
"استهلاك النقاط اليومى": "Daily Points Consumption",
"نسبة ما تم استهلاكه من نقاط اليوم": "Percentage of Points Consumed Today",
"اقل افضل": "Less is Better",
"العملاء": "Clients",
"المجموعات": "Groups",
"الرسائل": "Messages",
"رسائل اليوم": "Today's Messages",
"حالة الجلسة": "Session Status",
"غير متصله": "Disconnected",
"رسائل الشهر الحالى": "Current Month's Messages",
"الهواتف": "Phones",
"الرصيد": "Balance",
"شهري": "Monthly",
"يومي": "Daily",
"يناير": "January",
"فبراير": "February",
"مارس": "March",
"أبريل": "April",
"مايو": "May",
"يونيو": "June",
"يوليو": "July",
"أغسطس": "August",
"سبتمبر": "September",
"أكتوبر": "October",
"نوفمبر": "November",
"ديسمبر": "December",
"Traffic Report": "Traffic Report",
"Source:": "Source:",
"Wikipedia.com": "Wikipedia.com",
"Jan": "Jan",
"Feb": "Feb",
"Mar": "Mar",
"Apr": "Apr",
"May": "May",
"Jun": "Jun",
"Jul": "Jul",
"Aug": "Aug",
"Sep": "Sep",
"Oct": "Oct",
"Nov": "Nov",
"Dec": "Dec",
"Temperature (°C)": "Temperature (°C)",
"Reggane": "Reggane",
"Search": "Search",
"Home": "Home",
"Messages": "Messages",
"Client List | Found :count entries": "Client List | Found :count entries",
"Template List | Found :count entries": "Template List | Found :count entries",
"Message Settings": "Message Settings",
"Country Code": "Country Code",
"Egypt": "Egypt",
"Libya": "Libya",
"Iraq": "Iraq",
"UAE": "UAE",
"Saudi Arabia": "Saudi Arabia",
"Messaging Service": "Messaging Service",
"Additional keys you can use": "Additional Keys You Can Use",
"Profile": "Profile",
"Expiration Date": "Expiration Date",
"Username": "Username",
"First Name": "First Name",
"Usage Example": "Usage Example",
"Hello": "Hello",
"the": "the",
"monthly package has been activated and will expire on": "the monthly package has been activated and will expire on",
"The client will receive it like this": "The client will receive it like this",
"Hello Yasser, the 50GB monthly package has been activated and will expire on": "Hello Yasser, the 50GB monthly package has been activated and will expire on",
"Activation Message": "Activation Message",
"Expiry Message": "Expiry Message",
"About to Expire Subscription": "About to Expire Subscription",
"Upon Subscription Activation": "Upon Subscription Activation",
"Upon Package Renewal": "Upon Package Renewal",
"Upon Package Change": "Upon Package Change",
"Upon Client Deposit": "Upon Client Deposit",
"Upon Withdrawal from Client Balance": "Upon Withdrawal from Client Balance",
"Upon Editing Client Data": "Upon Editing Client Data",
"Upon Adding or Removing Consumption Capacities (GB) for Client": "Upon Adding or Removing Consumption Capacities (GB) for Client",
"Upon Client Deletion": "Upon Client Deletion",
"Upon Manager Login": "Upon Manager Login",
"Upon Manager Deposit": "Upon Manager Deposit",
"Upon Withdrawal from Manager Balance": "Upon Withdrawal from Manager Balance",
"Aggressive Messaging": "Aggressive Messaging",
"Operation Number": "Operation Number",
"Account Symbol": "Account Symbol",
"Last Name": "Last Name",
"Package": "Package",
"Balance": "Balance",
"Return to Menu": "Return to Menu",
"Card Activation Confirmation Message": "Card Activation Confirmation Message",
"Insufficient Balance for Package Activation Message": "Insufficient Balance for Package Activation Message",
"Package Activation Data Message": "Package Activation Data Message",
"Package Activation Confirmation Message": "Package Activation Confirmation Message",
"Enable Card Charging": "Enable Card Charging",
"Menu Message": "Menu Message",
"Successful Card Activation Message": "Successful Card Activation Message",
"Card Entry Request Message": "Card Entry Request Message",
"Bot Preferences": "Bot Preferences",
"Message Sent Successfully!": "Message Sent Successfully!",
"Operations": "Operations",
"Add": "Add",
"View": "View",
"Send Message": "Send Message",
"Change Group": "Change Group",
"Reload": "Reload",
"Filter": "Filter",
"Template": "Template",
"Message": "Message",
"Creation Date": "Creation Date",
"Name": "Name",
"Group": "Group",
"Phone": "Phone",
"Phones": "Phones",
"Notes": "Notes",
"Delete": "Delete",
"Delete Confirmation": "Delete Confirmation",
"Are you sure you want to delete the selected groups?": "Are you sure you want to delete the selected groups?",
"Confirm": "Confirm",
"Cancel": "Cancel",
"Profile data sent successfully:": "Profile data sent successfully:",
"Error sending profile data:": "Error sending profile data:",
"Button with id \"aview\" not found.": "Button with id \"aview\" not found.",
"Modal element not provided.": "Modal element not provided.",
"Element with ID \"deleteConfirmationModal\" not found.": "Element with ID \"deleteConfirmationModal\" not found.",
"Element with ID \"confirmDelete\" not found.": "Element with ID \"confirmDelete\" not found.",
"Element with ID \"deletebtn\" not found.": "Element with ID \"deletebtn\" not found.",
"Element with ID \"selectAllcheckbox\" not found.": "Element with ID \"selectAllcheckbox\" not found.",
"No checkboxes found.": "No checkboxes found.",
"Please select at least one client to delete.": "Please select at least one client to delete.",
"Selected clients have been successfully deleted.": "Selected clients have been successfully deleted.",
"Error deleting clients: ": "Error deleting clients: ",
"An error occurred while deleting clients.": "An error occurred while deleting clients.",
"No Group": "No Group",
"Default selected": "Default Selected",
"Unexpected value, setting to default": "Unexpected value, setting to default",
"Enable Account Balance Display": "Enable Account Balance Display",
"Card Charging": "Card Charging",
"Operation Confirmation": "Operation Confirmation",
"Settings have been saved successfully!": "Settings have been saved successfully!",
"An error occurred:": "An error occurred:",
"An unexpected error occurred.": "An unexpected error occurred.",
"Operation data sent successfully:": "Operation data sent successfully:",
"Error in sending operation data:": "Error in sending operation data:"
}
ar.json
{
"Sas Radius Pro Dashboard": "لوحة مراقبة Sash Radius Pro",
"logo": "شعار",
"user_profile": "ملف المستخدم",
"Search...": "بحث...",
"الايام المتبقية": "الأيام المتبقية",
"نسبة ما تبقى من ايام": "نسبة الأيام المتبقية",
"اكثر افضل": "كلما زاد كان أفضل",
"استهلاك النقاط اليومى": "استهلاك النقاط اليومي",
"نسبة ما تم استهلاكه من نقاط اليوم": "نسبة النقاط المستهلكة اليوم",
"اقل افضل": "كلما قل أفضل",
"العملاء": "العملاء",
"المجموعات": "المجموعات",
"الرسائل": "الرسائل",
"رسائل اليوم": "رسائل اليوم",
"حالة الجلسة": "حالة الجلسة",
"غير متصله": "غير متصلة",
"رسائل الشهر الحالى": "رسائل الشهر الحالي",
"الهواتف": "الهواتف",
"الرصيد": "الرصيد",
"شهري": "شهري",
"يومي": "يومي",
"يناير": "يناير",
"فبراير": "فبراير",
"مارس": "مارس",
"أبريل": "أبريل",
"مايو": "مايو",
"يونيو": "يونيو",
"يوليو": "يوليو",
"أغسطس": "أغسطس",
"سبتمبر": "سبتمبر",
"أكتوبر": "أكتوبر",
"نوفمبر": "نوفمبر",
"ديسمبر": "ديسمبر",
"Traffic Report": "تقرير المرور",
"Source:": "المصدر:",
"Wikipedia.com": "ويكيبيديا.كوم",
"Jan": "يناير",
"Feb": "فبراير",
"Mar": "مارس",
"Apr": "أبريل",
"May": "مايو",
"Jun": "يونيو",
"Jul": "يوليو",
"Aug": "أغسطس",
"Sep": "سبتمبر",
"Oct": "أكتوبر",
"Nov": "نوفمبر",
"Dec": "ديسمبر",
"Temperature (°C)": "درجة الحرارة (°م)",
"Reggane": "رجانة",
"Search": "بحث",
"Home": "الرئيسية",
"Messages": "الرسائل",
"Client List | Found :count entries": "قائمة العملاء | تم العثور على :count مدخلات",
"Template List | Found :count entries": "قائمة القوالب | تم العثور على :count مدخلات",
"Message Settings": "إعدادات الرسائل",
"Country Code": "كود الدولة",
"Egypt": "مصر",
"Libya": "ليبيا",
"Iraq": "العراق",
"UAE": "الإمارات",
"Saudi Arabia": "السعودية",
"Messaging Service": "خدمة الرسائل",
"Additional keys you can use": "مفاتيح إضافية يمكنك استخدامها",
"Profile": "البروفايل",
"Expiration Date": "تاريخ الانتهاء",
"Username": "اسم المستخدم",
"First Name": "الاسم الأول",
"Usage Example": "مثال للاستخدام",
"Hello": "مرحبا",
"the": "ال",
"monthly package has been activated and will expire on": "باقة شهرية تم تفعيلها وسوف تنتهي في",
"The client will receive it like this": "سوف يتلقى العميل ذلك بهذا الشكل",
"Hello Yasser, the 50GB monthly package has been activated and will expire on": "مرحبا ياسر، تم تفعيل باقة 50 جيجابايت الشهرية وسوف تنتهي في",
"Activation Message": "رسالة التفعيل",
"Expiry Message": "رسالة انتهاء الصلاحية",
"About to Expire Subscription": "اشتراك على وشك الانتهاء",
"Upon Subscription Activation": "عند تفعيل الاشتراك",
"Upon Package Renewal": "عند تجديد الباقة",
"Upon Package Change": "عند تغيير الباقة",
"Upon Client Deposit": "عند إيداع العميل",
"Upon Withdrawal from Client Balance": "عند السحب من رصيد العميل",
"Upon Editing Client Data": "عند تعديل بيانات العميل",
"Upon Adding or Removing Consumption Capacities (GB) for Client": "عند إضافة أو إزالة سعات استهلاك (جيجابايت) للعميل",
"Upon Client Deletion": "عند حذف العميل",
"Upon Manager Login": "عند تسجيل دخول المدير",
"Upon Manager Deposit": "عند إيداع المدير",
"Upon Withdrawal from Manager Balance": "عند السحب من رصيد المدير",
"Aggressive Messaging": "الرسائل العنيفة",
"Operation Number": "رقم العملية",
"Account Symbol": "رمز الحساب",
"Last Name": "الاسم الأخير",
"Package": "باقة",
"Balance": "الرصيد",
"Return to Menu": "العودة إلى القائمة",
"Card Activation Confirmation Message": "رسالة تأكيد تفعيل البطاقة",
"Insufficient Balance for Package Activation Message": "رصيد غير كافٍ لتفعيل الباقة",
"Package Activation Data Message": "رسالة بيانات تفعيل الباقة",
"Package Activation Confirmation Message": "رسالة تأكيد تفعيل الباقة",
"Enable Card Charging": "تمكين شحن البطاقة",
"Menu Message": "رسالة القائمة",
"Successful Card Activation Message": "رسالة تفعيل البطاقة الناجحة",
"Card Entry Request Message": "رسالة طلب إدخال البطاقة",
"Bot Preferences": "تفضيلات الروبوت",
"Message Sent Successfully!": "تم إرسال الرسالة بنجاح!",
"Operations": "العمليات",
"Add": "إضافة",
"View": "عرض",
"Send Message": "إرسال رسالة",
"Change Group": "تغيير المجموعة",
"Reload": "إعادة تحميل",
"Filter": "تصفية",
"Template": "القالب",
"Message": "الرسالة",
"Creation Date": "تاريخ الإنشاء",
"Name": "الاسم",
"Group": "المجموعة",
"Phone": "الهاتف",
"Phones": "الهواتف",
"Notes": "ملاحظات",
"Delete": "حذف",
"Delete Confirmation": "تأكيد الحذف",
"Are you sure you want to delete the selected groups?": "هل أنت متأكد من حذف المجموعات المحددة؟",
"Confirm": "موافق",
"Cancel": "إلغاء",
"Profile data sent successfully:": "تم إرسال بيانات الملف الشخصي بنجاح:",
"Error sending profile data:": "خطأ في إرسال بيانات الملف الشخصي:",
"Button with id \"aview\" not found.": "لم يتم العثور على الزر بمعرف \"aview\".",
"Modal element not provided.": "لم يتم توفير عنصر المودال.",
"Element with ID \"deleteConfirmationModal\" not found.": "لم يتم العثور على العنصر بمعرف \"deleteConfirmationModal\".",
"Element with ID \"confirmDelete\" not found.": "لم يتم العثور على العنصر بمعرف \"confirmDelete\".",
"Element with ID \"deletebtn\" not found.": "لم يتم العثور على العنصر بمعرف \"deletebtn\".",
"Element with ID \"selectAllcheckbox\" not found.": "لم يتم العثور على العنصر بمعرف \"selectAllcheckbox\".",
"No checkboxes found.": "لم يتم العثور على مربعات اختيار.",
"Please select at least one client to delete.": "الرجاء تحديد عميل واحد على الأقل للحذف.",
"Selected clients have been successfully deleted.": "تم حذف العملاء المحددين بنجاح.",
"Error deleting clients: ": "خطأ في حذف العملاء: ",
"An error occurred while deleting clients.": "حدث خطأ أثناء حذف العملاء.",
"No Group": "لا توجد مجموعة",
"Default selected": "تم تحديد الافتراضي",
"Unexpected value, setting to default": "قيمة غير متوقعة، سيتم التعيين على الافتراضي",
"Enable Account Balance Display": "تمكين عرض رصيد الحساب",
"Card Charging": "شحن البطاقة",
"Operation Confirmation": "تأكيد العملية",
"Settings have been saved successfully!": "تم حفظ الإعدادات بنجاح!",
"An error occurred:": "حدث خطأ:",
"An unexpected error occurred.": "حدث خطأ غير متوقع.",
"Operation data sent successfully:": "تم إرسال بيانات العملية بنجاح:",
"Error in sending operation data:": "خطأ في إرسال بيانات العملية:"
}
Notes:
-
Consistency of Keys: Both en.json and ar.json share the same keys to ensure that your application can switch between English and Arabic seamlessly without any missing translations.
-
Translations: All values in the ar.json have been translated to Arabic to match their corresponding English phrases in en.json. If any specific terms (like "Sas Radius Pro Dashboard") are proper nouns or brand names that shouldn't be translated, you can keep them as they are in both JSON files.
-
Placeholders: Ensure that placeholders like :count, :srv, and :exp are maintained in both JSON files. These placeholders are essential for dynamic content insertion in your application.
-
Special Characters: Arabic text reads from right to left. Depending on your application's frontend framework, ensure that it correctly supports RTL (Right-to-Left) languages to display the Arabic text properly.
-
Validation: After updating the JSON files, it's a good practice to validate them using a JSON validator to ensure there are no syntax errors.
-
Backup: Before making any changes, always backup your existing JSON files to prevent data loss.
If you have any more texts to add or need further assistance with translations, feel free to ask!