diff --git a/README.md b/README.md index 5a64916..cc35cdd 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ As a voice interaction entry, the XiaoZhi AI chatbot leverages the AI capabiliti - Speaker recognition, identifies the current speaker [3D Speaker](https://github.com/modelscope/3D-Speaker) - OLED / LCD displays with emoji and rich expression support, plus camera vision input on supported boards - Battery display and power management -- 38 interface languages, with localized voice prompts where available and English fallback +- 39 interface languages, with localized voice prompts where available and English fallback - ESP32, ESP32-C3, ESP32-C5, ESP32-C6, ESP32-S3, and ESP32-P4 chip platforms - Wi-Fi provisioning through hotspot or BluFi - Device-side MCP for device control (Speaker, LED, Servo, GPIO, etc.) diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt index 0af71cd..ffb8d0a 100644 --- a/main/CMakeLists.txt +++ b/main/CMakeLists.txt @@ -923,6 +923,8 @@ elseif(CONFIG_LANGUAGE_AR_SA) set(LANG_DIR "ar-SA") elseif(CONFIG_LANGUAGE_HI_IN) set(LANG_DIR "hi-IN") +elseif(CONFIG_LANGUAGE_MR_IN) + set(LANG_DIR "mr-IN") elseif(CONFIG_LANGUAGE_PT_PT) set(LANG_DIR "pt-PT") elseif(CONFIG_LANGUAGE_PL_PL) diff --git a/main/Kconfig.projbuild b/main/Kconfig.projbuild index dad6f00..c0de794 100644 --- a/main/Kconfig.projbuild +++ b/main/Kconfig.projbuild @@ -67,6 +67,8 @@ choice bool "Arabic" config LANGUAGE_HI_IN bool "Hindi" + config LANGUAGE_MR_IN + bool "Marathi" config LANGUAGE_PT_PT bool "Portuguese" config LANGUAGE_PL_PL diff --git a/main/assets/locales/mr-IN/0.ogg b/main/assets/locales/mr-IN/0.ogg new file mode 100644 index 0000000..73ba704 Binary files /dev/null and b/main/assets/locales/mr-IN/0.ogg differ diff --git a/main/assets/locales/mr-IN/1.ogg b/main/assets/locales/mr-IN/1.ogg new file mode 100644 index 0000000..9891cb3 Binary files /dev/null and b/main/assets/locales/mr-IN/1.ogg differ diff --git a/main/assets/locales/mr-IN/2.ogg b/main/assets/locales/mr-IN/2.ogg new file mode 100644 index 0000000..977707a Binary files /dev/null and b/main/assets/locales/mr-IN/2.ogg differ diff --git a/main/assets/locales/mr-IN/3.ogg b/main/assets/locales/mr-IN/3.ogg new file mode 100644 index 0000000..3c9d3db Binary files /dev/null and b/main/assets/locales/mr-IN/3.ogg differ diff --git a/main/assets/locales/mr-IN/4.ogg b/main/assets/locales/mr-IN/4.ogg new file mode 100644 index 0000000..1685d91 Binary files /dev/null and b/main/assets/locales/mr-IN/4.ogg differ diff --git a/main/assets/locales/mr-IN/5.ogg b/main/assets/locales/mr-IN/5.ogg new file mode 100644 index 0000000..a79f58d Binary files /dev/null and b/main/assets/locales/mr-IN/5.ogg differ diff --git a/main/assets/locales/mr-IN/6.ogg b/main/assets/locales/mr-IN/6.ogg new file mode 100644 index 0000000..184b5c6 Binary files /dev/null and b/main/assets/locales/mr-IN/6.ogg differ diff --git a/main/assets/locales/mr-IN/7.ogg b/main/assets/locales/mr-IN/7.ogg new file mode 100644 index 0000000..edb15c7 Binary files /dev/null and b/main/assets/locales/mr-IN/7.ogg differ diff --git a/main/assets/locales/mr-IN/8.ogg b/main/assets/locales/mr-IN/8.ogg new file mode 100644 index 0000000..18b9a78 Binary files /dev/null and b/main/assets/locales/mr-IN/8.ogg differ diff --git a/main/assets/locales/mr-IN/9.ogg b/main/assets/locales/mr-IN/9.ogg new file mode 100644 index 0000000..0183e82 Binary files /dev/null and b/main/assets/locales/mr-IN/9.ogg differ diff --git a/main/assets/locales/mr-IN/activation.ogg b/main/assets/locales/mr-IN/activation.ogg new file mode 100644 index 0000000..88c2bfe Binary files /dev/null and b/main/assets/locales/mr-IN/activation.ogg differ diff --git a/main/assets/locales/mr-IN/err_pin.ogg b/main/assets/locales/mr-IN/err_pin.ogg new file mode 100644 index 0000000..bda1b36 Binary files /dev/null and b/main/assets/locales/mr-IN/err_pin.ogg differ diff --git a/main/assets/locales/mr-IN/err_reg.ogg b/main/assets/locales/mr-IN/err_reg.ogg new file mode 100644 index 0000000..bc77546 Binary files /dev/null and b/main/assets/locales/mr-IN/err_reg.ogg differ diff --git a/main/assets/locales/mr-IN/language.json b/main/assets/locales/mr-IN/language.json new file mode 100644 index 0000000..2790bd8 --- /dev/null +++ b/main/assets/locales/mr-IN/language.json @@ -0,0 +1,59 @@ +{ + "language": { + "type": "mr-IN" + }, + "strings": { + "WARNING": "चेतावणी", + "INFO": "माहिती", + "ERROR": "त्रुटी", + "VERSION": "आवृत्ती ", + "LOADING_PROTOCOL": "लॉगिन होत आहे...", + "INITIALIZING": "सुरू होत आहे...", + "PIN_ERROR": "कृपया सिम कार्ड घाला", + "REG_ERROR": "नेटवर्कशी कनेक्ट होऊ शकत नाही, कृपया सिम कार्डची स्थिती तपासा", + "MODEM_INIT_ERROR": "मोडेम सुरू करण्यात अयशस्वी", + "DETECTING_MODULE": "मॉड्यूल शोधत आहे...", + "FLIGHT_MODE_ON": "फ्लाइट मोड सुरू आहे", + "FLIGHT_MODE_OFF": "फ्लाइट मोड बंद आहे", + "REGISTERING_NETWORK": "नेटवर्कची प्रतीक्षा करत आहे...", + "CHECKING_NEW_VERSION": "नवीन आवृत्ती तपासत आहे...", + "CHECK_NEW_VERSION_FAILED": "नवीन आवृत्ती तपासण्यात अयशस्वी, %d सेकंदात पुन्हा प्रयत्न करेल: %s", + "SWITCH_TO_WIFI_NETWORK": "Wi-Fi वर स्विच करत आहे...", + "SWITCH_TO_4G_NETWORK": "4G वर स्विच करत आहे...", + "STANDBY": "स्टँडबाय", + "CONNECT_TO": "कनेक्ट करा ", + "CONNECTING": "कनेक्ट होत आहे...", + "CONNECTION_SUCCESSFUL": "कनेक्शन यशस्वी", + "CONNECTED_TO": "याच्याशी कनेक्ट झाले ", + "LISTENING": "ऐकत आहे...", + "SPEAKING": "बोलत आहे...", + "SERVER_NOT_FOUND": "उपलब्ध सेवा शोधत आहे", + "SERVER_NOT_CONNECTED": "सेवेशी कनेक्ट होऊ शकत नाही, कृपया नंतर पुन्हा प्रयत्न करा", + "SERVER_TIMEOUT": "प्रतिसादाची प्रतीक्षा वेळ संपली", + "SERVER_ERROR": "पाठवण्यात अयशस्वी, कृपया नेटवर्क तपासा", + "CONNECT_TO_HOTSPOT": "हॉटस्पॉट: ", + "ACCESS_VIA_BROWSER": " कॉन्फिग URL: ", + "WIFI_CONFIG_MODE": "Wi-Fi कॉन्फिगरेशन मोड", + "ENTERING_WIFI_CONFIG_MODE": "Wi-Fi कॉन्फिगरेशन मोडमध्ये प्रवेश करत आहे...", + "SCANNING_WIFI": "Wi-Fi स्कॅन करत आहे...", + "NEW_VERSION": "नवीन आवृत्ती ", + "OTA_UPGRADE": "OTA अपग्रेड", + "UPGRADING": "सिस्टम अपग्रेड होत आहे...", + "UPGRADE_FAILED": "अपग्रेड अयशस्वी", + "ACTIVATION": "सक्रियकरण", + "BATTERY_LOW": "बॅटरी कमी आहे", + "BATTERY_CHARGING": "चार्ज होत आहे", + "BATTERY_FULL": "बॅटरी पूर्ण चार्ज", + "BATTERY_NEED_CHARGE": "बॅटरी कमी आहे, कृपया चार्ज करा", + "VOLUME": "आवाज ", + "MUTED": "म्यूट", + "MAX_VOLUME": "कमाल आवाज", + "RTC_MODE_OFF": "AEC बंद", + "RTC_MODE_ON": "AEC सुरू", + "PLEASE_WAIT": "कृपया प्रतीक्षा करा...", + "FOUND_NEW_ASSETS": "नवीन संसाधने सापडली: %s", + "DOWNLOAD_ASSETS_FAILED": "संसाधने डाउनलोड करण्यात अयशस्वी", + "LOADING_ASSETS": "संसाधने लोड होत आहेत...", + "HELLO_MY_FRIEND": "नमस्कार, माझ्या मित्रा!" + } +} diff --git a/main/assets/locales/mr-IN/upgrade.ogg b/main/assets/locales/mr-IN/upgrade.ogg new file mode 100644 index 0000000..d2be7e7 Binary files /dev/null and b/main/assets/locales/mr-IN/upgrade.ogg differ diff --git a/main/assets/locales/mr-IN/welcome.ogg b/main/assets/locales/mr-IN/welcome.ogg new file mode 100644 index 0000000..b571d96 Binary files /dev/null and b/main/assets/locales/mr-IN/welcome.ogg differ diff --git a/main/assets/locales/mr-IN/wificonfig.ogg b/main/assets/locales/mr-IN/wificonfig.ogg new file mode 100644 index 0000000..c52d60e Binary files /dev/null and b/main/assets/locales/mr-IN/wificonfig.ogg differ