Skip to content

Use the interface language for built-in documentation titles. - #1565

Merged
WaylandYang merged 2 commits into
deeplethe:devfrom
virtue039:fix/docs-localize-navigation-titles
Dec 1, 2026
Merged

WaylandYang merged 2 commits into
deeplethe:devfrom
virtue039:fix/docs-localize-navigation-titles

Conversation

@virtue039

Copy link
Copy Markdown
Contributor

Why

The built-in documentation titles were hard-coded in English, so the Chinese interface still showed English labels in document navigation and related surfaces.

What changes

Use the same localized titles for the document list, search results, and browser title, with English and Chinese entries in the existing dictionaries.

How it was checked

The Chinese locale regression verifies both navigation labels and the active browser title. The old implementation showed the English labels.

  • Commit 77a37e9 on macOS arm64, based on dev at 87a83b9.
  • Passed cargo fmt --all --check and cargo clippy --workspace --all-targets -- -D warnings.
  • Cargo workspace tests passed (1870 tests), with a dedicated PostgreSQL 16.15 database, pgvector, and Poppler enabled.
  • pnpm test passed (357 tests). The benchmark helper suite passed (15 tests).
  • pnpm build passed, including type checking.
  • Rechecked the branch as a clean merge into current dev at 2614d99. The combined integration checkout passed Rust formatting, Clippy, the Rust workspace suite (1877 passed, 6 ignored), pnpm test (376 passed), TypeScript, the production build, and benchmark helper tests (15 passed). The first Rust workspace run hit a Tantivy lock in an unchanged search-recovery test. The full retry passed with four test threads.

Before review

  • The commit is signed off under the DCO.
  • UI text is in the English and Chinese dictionaries.

Signed-off-by: Virtue039 <77153652+virtue039@users.noreply.github.com>

@WaylandYang WaylandYang left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Merging. Small nit for later: zh.ts writes "Agent" untranslated elsewhere (e.g. tokensNav: "Agent 与令牌"), so the new title would match better as "通过 MCP 接入 Agent".

@WaylandYang
WaylandYang merged commit 63b3158 into deeplethe:dev Dec 1, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants