Skip to content

v0.5.0 · 界面双语 / Bilingual UI

Latest

Choose a tag to compare

@lamost423 lamost423 released this 20 Aug 11:07
· 1 commit to main since this release

中文

整页 UI 中英双语:嵌入宿主时经 postMessage 实时跟随 dsh 的语言设置(同主题跟随的通道模式),独立打开按浏览器语言兜底。判定依据从成品文案改为语言无关的结构化键值 {k, p},展示端按当前语言集中渲染——切语言即时生效,已加载的会话数据无需重新解析。仓库 README 调换为中文默认(英文在 README.en.md)。

English

The whole UI now ships bilingual (zh/en): embedded, it live-follows the dsh host's language setting via postMessage (same channel pattern as theme following); standalone, it falls back to the browser language. Verdict rationales changed from baked strings to language-neutral structured keys {k, p} rendered centrally at display time — switching languages takes effect instantly without re-parsing loaded sessions.

Install: dsh plugin --profile web add dsh-trace-compare (or this release tgz).