docs: enhance language support documentation and remove auto-detection claims
- Expand README language section with complete list of 19 supported languages - Add native language names and language codes for each supported language - Detail language features: manual selection, complete coverage, AI responses - List comprehensive translation coverage areas (modals, buttons, messages, etc.) - Update project structure to show language files with descriptions - Remove auto-detection claims since feature is not working properly - Change to accurate "manual selection" and "AI-powered translation" - Fix demo.html to remove false auto-detection advertising 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
8c99a0316e
commit
38fdedb6a6
2 changed files with 48 additions and 11 deletions
57
README.rst
57
README.rst
|
|
@ -68,10 +68,13 @@ Project Structure
|
|||
│ ├── ui-themes.js # Theme management
|
||||
│ ├── ui-translations.js # UI translation system
|
||||
│ ├── uncloseai-embed-modal.js # Main modal UI
|
||||
│ └── languages/ # Translation files
|
||||
│ ├── en.js, es.js, zh.js, hi.js, fr.js, ar.js, bn.js,
|
||||
│ ├── ru.js, pt.js, ur.js, id.js, de.js, ja.js, sw.js,
|
||||
│ ├── mr.js, te.js, tr.js, zh-tw.js, ko.js
|
||||
│ └── languages/ # 19 language translation files
|
||||
│ ├── en.js (English), es.js (Spanish), zh.js (Chinese Simplified)
|
||||
│ ├── zh-tw.js (Chinese Traditional), hi.js (Hindi), fr.js (French)
|
||||
│ ├── ar.js (Arabic), bn.js (Bengali), ru.js (Russian)
|
||||
│ ├── pt.js (Portuguese), ur.js (Urdu), id.js (Indonesian)
|
||||
│ ├── de.js (German), ja.js (Japanese), sw.js (Swahili)
|
||||
│ └── mr.js (Marathi), te.js (Telugu), tr.js (Turkish), ko.js (Korean)
|
||||
└── tests/ # Jest test suite
|
||||
|
||||
Core Technologies
|
||||
|
|
@ -97,13 +100,47 @@ The AI assistant automatically extracts and understands the content of the curre
|
|||
Multi-Language Interface
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
The entire UI is available in 19 languages:
|
||||
The entire UI is available in **19 languages** with complete translation coverage:
|
||||
|
||||
* English, Spanish, Chinese (Simplified & Traditional), Hindi, French
|
||||
* Arabic, Bengali, Russian, Portuguese, Urdu, Indonesian
|
||||
* German, Japanese, Swahili, Marathi, Telugu, Turkish, Korean
|
||||
**Supported Languages:**
|
||||
|
||||
Language is auto-detected from the page content and can be manually changed.
|
||||
* **English** (en) - Default language
|
||||
* **Spanish** (es) - Español
|
||||
* **Chinese Simplified** (zh) - 中文(简体)
|
||||
* **Chinese Traditional** (zh-tw) - 中文(繁體)
|
||||
* **Hindi** (hi) - हिन्दी
|
||||
* **French** (fr) - Français
|
||||
* **Arabic** (ar) - العربية
|
||||
* **Bengali** (bn) - বাংলা
|
||||
* **Russian** (ru) - Русский
|
||||
* **Portuguese** (pt) - Português
|
||||
* **Urdu** (ur) - اردو
|
||||
* **Indonesian** (id) - Bahasa Indonesia
|
||||
* **German** (de) - Deutsch
|
||||
* **Japanese** (ja) - 日本語
|
||||
* **Swahili** (sw) - Kiswahili
|
||||
* **Marathi** (mr) - मराठी
|
||||
* **Telugu** (te) - తెలుగు
|
||||
* **Turkish** (tr) - Türkçe
|
||||
* **Korean** (ko) - 한국어
|
||||
|
||||
**Language Features:**
|
||||
|
||||
* **Manual Selection**: Users can manually select their preferred language from 19 options
|
||||
* **Complete Coverage**: All UI elements, buttons, modals, and messages are translated
|
||||
* **AI Response Language**: The AI responds in the user's selected language
|
||||
* **Persistent Settings**: Language preference is saved in browser localStorage
|
||||
* **No Page Refresh**: Language switching works instantly without reloading
|
||||
|
||||
**Translation Coverage Includes:**
|
||||
|
||||
* Modal titles and headers
|
||||
* Button labels and tooltips
|
||||
* Input placeholders and form labels
|
||||
* System messages and notifications
|
||||
* Error messages and alerts
|
||||
* Settings and configuration options
|
||||
* Help text and descriptions
|
||||
|
||||
Text-to-Speech Capabilities
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
|
@ -245,7 +282,7 @@ The test suite covers:
|
|||
* TTS processing
|
||||
* Storage operations
|
||||
* UI theme detection
|
||||
* Language detection
|
||||
* Language system functionality
|
||||
|
||||
Production Deployment
|
||||
---------------------
|
||||
|
|
|
|||
|
|
@ -304,7 +304,7 @@
|
|||
<div class="uncloseai" data-features="smart-translate" id="demo-translate-smart"></div>
|
||||
<p><strong>✨ Smart Features:</strong></p>
|
||||
<ul>
|
||||
<li>🤖 AI detects page language automatically</li>
|
||||
<li>🤖 AI-powered translation with language selection</li>
|
||||
<li>🌐 Triple format: code • English • Native (es • Spanish • Español)</li>
|
||||
<li>📋 Quick dropdown selection</li>
|
||||
<li>🚀 Opens in new tab instantly</li>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue