diff --git a/next-i18next.config.js b/next-i18next.config.js index b3e2d78..2ffa9d4 100644 --- a/next-i18next.config.js +++ b/next-i18next.config.js @@ -1,7 +1,20 @@ module.exports = { i18n: { defaultLocale: "en", - locales: ["de", "en", "es", "fr", "ja", "ko", "pt", "ru", "sv", "te", "zh"], + locales: [ + "de", + "en", + "es", + "fr", + "ja", + "ko", + "pt", + "ru", + "sv", + "te", + "vi", + "zh", + ], }, localePath: typeof window === "undefined" diff --git a/public/locales/vi/chat.json b/public/locales/vi/chat.json new file mode 100644 index 0000000..5d5090d --- /dev/null +++ b/public/locales/vi/chat.json @@ -0,0 +1,24 @@ +{ + "OpenAI API Key Required": "Yêu cầu nhập API Key từ tài khoản OpenAI", + "Please set your OpenAI API key in the bottom left of the sidebar.": "Vui lòng nhập API Key từ tài khoản OpenAI của bạn vào ô dưới cùng của thanh bên trái.", + "Stop Generating": "Dừng tạo", + "Prompt limit is {{maxLength}} characters": "Giới hạn yêu cầu là {{maxLength}} ký tự", + "System Prompt": "Yêu cầu hệ thống", + "You are ChatGPT, a large language model trained by OpenAI. Follow the user's instructions carefully. Respond using markdown.": "Bạn là ChatGPT, một mô hình ngôn ngữ lớn được đào tạo bởi OpenAI. Hãy tuân theo hướng dẫn của người dùng một cách cẩn thận. Phản hồi bằng cách sử dụng định dạng markdown.", + "Enter a prompt": "Nhập một lời yêu cầu", + "Regenerate response": "Tạo lại phản hồi", + "Sorry, there was an error.": "Xin lỗi, đã xảy ra lỗi.", + "Model": "Mô hình", + "Conversation": "Cuộc trò chuyện", + "OR": "HOẶC", + "Loading...": "Đang tải...", + "Type a message...": "Nhập một tin nhắn...", + "Error fetching models.": "Lỗi khi truy xuất mô hình.", + "AI": "AI", + "You": "Bạn", + "Make sure your OpenAI API key is set in the bottom left of the sidebar.": "Hãy đảm bảo rằng khóa API từ tài khoản OpenAI của bạn đã được nhập vào ô dưới cùng của thanh bên trái.", + "If you completed this step, OpenAI may be experiencing issues.": "Nếu bạn đã hoàn thành bước này, OpenAI có thể đang gặp sự cố.", + "Message limit is {{maxLength}} characters. You have entered {{valueLength}} characters.": "Giới hạn tin nhắn là {{maxLength}} ký tự. Bạn đã nhập {{valueLength}} ký tự.", + "Please enter a message": "Vui lòng nhập một tin nhắn", + "Chatbot UI is an advanced chatbot kit for OpenAI's chat models aiming to mimic ChatGPT's interface and functionality.": "Chatbot UI là một bộ công cụ chatbot tiên tiến cho các mô hình chat của OpenAI nhằm mô phỏng giao diện và chức năng của ChatGPT." +} diff --git a/public/locales/vi/common.json b/public/locales/vi/common.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/public/locales/vi/common.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/public/locales/vi/markdown.json b/public/locales/vi/markdown.json new file mode 100644 index 0000000..f5c0c92 --- /dev/null +++ b/public/locales/vi/markdown.json @@ -0,0 +1,5 @@ +{ + "Copy code": "Sao chép mã", + "Copied!": "Đã sao chép!", + "Enter file name": "Nhập tên file" +} diff --git a/public/locales/vi/sidebar.json b/public/locales/vi/sidebar.json new file mode 100644 index 0000000..404f83c --- /dev/null +++ b/public/locales/vi/sidebar.json @@ -0,0 +1,13 @@ +{ + "New folder": "Thư mục mới", + "New chat": "Tạo hội thoại mới", + "No conversations.": "Không có hội thoại nào.", + "Search conversations...": "Tìm kiếm các cuộc hội thoại...", + "OpenAI API Key": "OpenAI API Key", + "Import conversations": "Nhập dữ liệu hội thoại", + "Are you sure?": "Bạn chắc chắn chứ?", + "Clear conversations": "Xoá các đoạn hội thoại", + "Export conversations": "Xuất dữ liệu hội thoại", + "Dark mode": "Chế độ tối", + "Light mode": "Chế độ sáng" +}