zh-TW Config Schema Form Labels Not Translated in Settings Page
JSON Schema title/description fields in the Settings page are not being picked up by the i18n translation system, resulting in English labels persisting despite complete zh-TW translation files.
๐ Symptoms
Visual Manifestation
Settings page under zh-TW locale displays English-only labels for all Config Schema-driven form fields:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ AI ่ไปฃ็่จญๅฎ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Primary Model [________________________] โ
โ Fallback Models [________________________] โ
โ Max Tokens [____] โ
โ Context Window [____] โ
โ Compaction Mode [โผ Select ] โ
โ Image Model [________________________] โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Expected: ไธป่ฆๆจกๅ, ๅ็จๆจกๅ, ๆๅคง Token, ไธไธๆ็ชๅฃ, ๅฃ็ธฎๆจกๅผ, ๅๅๆจกๅ
Actual: English labels persist despite zh-TW.js having 100+ translation entriesAffected Configuration Blocks
The following Settings sections exhibit untranslated labels:
- AI ่ไปฃ็ (AI & Agents): Primary Model, Fallback Models, Max Tokens, Context Window
- ้่จ (Communications): Connection Timeout, Retry Attempts, Protocol Version
- ๅบ็ค่จญๆฝ (Infrastructure): Instance Type, Region, Scaling Policy
- ๅฃ็ธฎ่จญๅฎ (Compression): Compaction Mode, Threshold Percentage, Algorithm
- ๅๅ็ๆ (Image Generation): Image Model, Resolution, Quality Preset
Diagnostic CLI Output
$ openclaw locale --list
Installed locales: en-US, zh-TW, zh-CN, ja-JP
Active locale: zh-TW
$ openclaw debug --i18n 2>&1 | head -50
[DEBUG] i18n: Loading zh-TW.json... OK (847 keys)
[DEBUG] i18n: Translation coverage: 847/847 (100%)
[DEBUG] schema: ConfigSchema.fields = 127 entries
[DEBUG] schema: Fields with i18n keys = 0
[DEBUG] schema: Fields using raw title/description = 127
[WARNING] schema: 127 Config Schema titles NOT integrated with i18n systemBrowser Console Evidence
$F12 Console in browser:
[openclaw:i18n] Missing key: "config.schema.primaryModel.title"
[openclaw:i18n] Missing key: "config.schema.fallbackModels.title"
[openclaw:i18n] Missing key: "config.schema.maxTokens.title"
... (repeated for all Config Schema fields)๐ง Root Cause
Architectural Analysis
The issue stems from a two-tier translation architecture disconnect: