diff --git a/next-i18next.config.js b/next-i18next.config.js index d5fc827..3735019 100644 --- a/next-i18next.config.js +++ b/next-i18next.config.js @@ -17,6 +17,7 @@ module.exports = { "te", "vi", "zh", + "ar", ], }, localePath: diff --git a/public/locales/ar/chat.json b/public/locales/ar/chat.json new file mode 100644 index 0000000..54e79aa --- /dev/null +++ b/public/locales/ar/chat.json @@ -0,0 +1,35 @@ +{ + "OpenAI API Key Required": " (أوبن أيه أي) OpenAI API Key (مطلوب (مفتاح واجهة برمجة تطبيقات ", + "Please set your OpenAI API key in the bottom left of the sidebar.": "يرجى تعيين مفتاح واجهة برمجة تطبيقات أوبن أيه أي الخاص بك في الجزء السفلي الأيسر من الشريط الجانبي", + "Stop Generating": "إيقاف التوليد", + "Prompt limit is {{maxLength}} characters": "حرفًا {{maxLength}} حد المطالبة هو", + "System Prompt": "مطالبة النظام", + "You are ChatGPT, a large language model trained by OpenAI. Follow the user's instructions carefully. Respond using markdown.": "أنت شات جبت نموذج لغة كبير تم تدريبه بواسطة أوبن أيه أي. اتبع تعليمات المستخدم بعناية. الرد باستخدام الماركداون", + "Enter a prompt": "أدخل المطالبة", + "Regenerate response": "إعادة توليد الرد", + "Sorry, there was an error.": "عذرًا، حدث خطأ", + "Model": "النموذج", + "Conversation": "المحادثة", + "OR": "أو", + "Loading...": "...جاري التحميل", + "Type a message...": "...اكتب رسالة", + "Error fetching models.": "خطأ في جلب النماذج", + "AI": "الذكاء الاصطناعي", + "You": "أنت", + "Make sure your OpenAI API key is set in the bottom left of the sidebar.": "تأكد من تعيين مفتاح واجهة برمجة تطبيقات الخاص بك في الجزء السفلي الأيسر من الشريط", + "If you completed this step, OpenAI may be experiencing issues.": "من مشاكل OpenAI إذا اكتملت هذه الخطوة، فقد يعاني", + + "click if using a .env.local file": ".env.local انقر إذا كنت تستخدم ملف", + + + "Message limit is {{maxLength}} characters. You have entered {{valueLength}} characters.": "حرفًا {{maxLength}} حد الرسالة هو {{valueLength}} لقد أدخلت ", + + + + + + + "Please enter a message": "يرجى إدخال رسالة", + "Chatbot UI is an advanced chatbot kit for OpenAI's chat models aiming to mimic ChatGPT's interface and functionality.": "Chatbot UI هي مجموعة متقدمة للدردشة تستخدم", + "Are you sure you want to clear all messages?": "هل أنت متأكد أنك تريد مسح كافة الرسائل؟" +} diff --git a/public/locales/ar/common.json b/public/locales/ar/common.json new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/public/locales/ar/common.json @@ -0,0 +1 @@ +{} diff --git a/public/locales/ar/markdown.json b/public/locales/ar/markdown.json new file mode 100644 index 0000000..0b5df23 --- /dev/null +++ b/public/locales/ar/markdown.json @@ -0,0 +1,5 @@ +{ +"Copy code": "نسخ الكود", +"Copied!": "تم النسخ!", +"Enter file name": "أدخل اسم الملف" +} \ No newline at end of file diff --git a/public/locales/ar/promptbar.json b/public/locales/ar/promptbar.json new file mode 100644 index 0000000..80ca426 --- /dev/null +++ b/public/locales/ar/promptbar.json @@ -0,0 +1,12 @@ +{ + "New prompt": "مطلب جديد", + "New folder": "مجلد جديد", + "No prompts.": "لا يوجد مطالبات.", + "Search prompts...": "...البحث عن مطالبات", + "Name": "الاسم", + "Description": "الوصف", + "A description for your prompt.": "وصف لمطلبك", + "Prompt": "مطلب", + "Prompt content. Use {{}} to denote a variable. Ex: {{name}} is a {{adjective}} {{noun}}": "محتوى المطلب. استخدم {{}} للإشارة إلى متغير. مثال: {{الاسم}} هي {{صفة}} {{اسم}}", + "Save": "حفظ" + } diff --git a/public/locales/ar/sidebar.json b/public/locales/ar/sidebar.json new file mode 100644 index 0000000..e38f9d0 --- /dev/null +++ b/public/locales/ar/sidebar.json @@ -0,0 +1,13 @@ +{ + "New folder": "مجلد جديد", + "New chat": "محادثة جديدة", + "No conversations.": "لا يوجد محادثات", + "Search conversations...": "...البحث عن المحادثات", + "OpenAI API Key": " (أوبن أيه أي) OpenAI API Key (مفتاح واجهة برمجة تطبيقات)", + "Import conversations": "استيراد المحادثات", + "Are you sure?": "هل أنت متأكد؟", + "Clear conversations": "مسح المحادثات", + "Export conversations": "تصدير المحادثات", + "Dark mode": "الوضع الداكن", + "Light mode": "الوضع الفاتح" + }