| Field | Value |
|---|---|
| Document status | Accepted (D-16 implementation document) |
| Version | 1.0 |
| Date | 2026-11-26 |
| Audience | Documentation, localization, engineering, community |
| Related documents | 04-ux-and-visual-design.md, 14-hidden-requirements.md, 15-decision-log.md, 17-docs-and-community.md |
Current status (2026-11-26): English is complete for all design documents. A Chinese legacy full translation is kept in
docs/zh-Hans/. German core summaries and all UI translations are pending.
1. Principles
- English is the only source of truth: English documents must be complete and cover every detail, boundary, and example.
- Chinese/German cover the core: only the "essential core" is translated; unnecessary details may be trimmed; word-for-word correspondence is not promised.
- UI is complete in three languages: the volume of interface strings is small, so they must be fully translated; no half-Chinese/half-English or half-German/half-English text is allowed.
- Critical content must not be trimmed: security, privacy, licensing, breaking changes, AOT limitations, and cost disclaimers must be fully synchronized across the three languages.
- Translation does not change semantics: commands, default values, numbers, field names, and error codes must match English.
- Human review: machine translation may only be used as a first draft; German must be reviewed by a native speaker, and Chinese requires technical review.
2. Language Codes
| Language | Code | Default | Notes |
|---|---|---|---|
| English | en-US |
Yes | Complete documentation and UI |
| Simplified Chinese | zh-Hans |
No | Condensed core documentation + complete UI |
| Standard German | de-DE |
No | Condensed core documentation + complete UI |
No other languages are provided; if the community needs them, they may be added via RFC, but maintenance must be committed.
3. Documentation Tiers
3.1 L1: Full translation (core required reading)
These pages must provide complete Chinese/German versions (style adjustments are allowed; removing steps is not):
| Category | Page |
|---|---|
| Entry | README.md |
| Getting Started | Install, 5-minute quickstart, First diagnosis |
| Concepts | Diagnostic session, Request & segments, Cost ledger, Sampling, Privacy model |
| Guides | Microsoft.Extensions.AI integration, Cost configuration, Native AOT, Troubleshooting |
| Operations | Storage & retention, Security essentials |
| Contributing | Build & test, CLA |
| Reference | Configuration (top-level options), CLI (common commands) |
Standards for L1:
- Every command can be copied and executed.
- All default values, field names, and error codes match English.
- There is a "what you should see" verification step.
- There is a link to the original English text for cross-reference.
3.2 L2: Condensed core (keep conclusions and operations, trim explanations)
These pages provide condensed versions in Chinese/German, retaining:
- Conclusions and recommendations.
- Operation steps and commands.
- Key default values and limitations.
- Common errors and next steps.
- Link to the full English text.
Allowed to trim:
- Rationale derivation and design trade-offs.
- Long explanations of boundary conditions.
- Historical background and competitor comparisons.
- Multiple example variants (keep one minimal example).
- Complete property/metric tables (keep the most commonly used items).
Applicable pages:
| Category | Page |
|---|---|
| Reference | Public API summary, Event schema summary, Metrics summary |
| Project | Roadmap summary, Governance summary |
| Guides | Advanced sampling/budget configuration, VectorData/SK integration details |
| Operations | Long-tail troubleshooting cases |
3.3 L3: English only (provide a redirect)
These pages are not translated; the Chinese/German pages display:
- A one-line note: "This page is only available in the full English version because it contains a large amount of API/architecture detail."
- A link to the original English text.
- If security/breaking changes are involved, a summary and warning must exist in L1/L2.
Applicable pages:
| Category | Page |
|---|---|
| Reference | Complete API reference (generated by DocFX), complete metrics/properties tables, complete event schema |
| Architecture | Internal architecture, thread model, overhead budget, AOT matrix details |
| Process | All ADRs/RFCs, complete changelog, release checklist |
| Performance | Complete benchmark methodology, datasets, raw results |
| Examples | All example variants, edge scenarios |
4. Non-Trimmable Content
The following content must have a complete summary or the full text in Chinese/German, even if it belongs to L2/L3:
| Content | Requirement |
|---|---|
| Security warnings | Full translation; conditions and consequences must not be omitted |
| Privacy defaults | Explicitly state None, hashing, and export redaction |
| Key/Header handling | Explicitly state the fields that are never collected |
| License and CLA | Translate the key points; the official text is governed by the English/legal text |
| Breaking changes | Migration steps, impact scope, and rollback method |
| AOT/Trim limitations | Explicitly state the AOT status and fallback for SQLite/OTel |
| Cost disclaimer | Explicitly state estimation, unknown models, and price table version |
| Data retention/deletion | Explicitly state the default retention period and deletion method |
5. Page-Level Scope (initial)
| Page | English | Chinese | German | Tier |
|---|---|---|---|---|
| README | Complete | Full | Full | L1 |
| Install | Complete | Full | Full | L1 |
| 5-minute quickstart | Complete | Full | Full | L1 |
| First diagnosis | Complete | Full | Full | L1 |
| Diagnostic session | Complete | Full | Full | L1 |
| Request & segments | Complete | Full | Full | L1 |
| Cost ledger | Complete | Full | Full | L1 |
| Sampling | Complete | Full | Full | L1 |
| Privacy model | Complete | Full | Full | L1 |
| MEAI integration | Complete | Full | Full | L1 |
| Cost configuration | Complete | Full | Full | L1 |
| Native AOT | Complete | Full | Full | L1 |
| Troubleshooting | Complete | Full | Full | L1 |
| Storage & retention | Complete | Full | Full | L1 |
| Security essentials | Complete | Full | Full | L1 |
| Build & test | Complete | Full | Full | L1 |
| CLA | Complete | Full | Full | L1 |
| Configuration (top-level) | Complete | Full | Full | L1 |
| CLI (common commands) | Complete | Full | Full | L1 |
| Public API summary | Complete | Condensed | Condensed | L2 |
| Event schema summary | Complete | Condensed | Condensed | L2 |
| Metrics summary | Complete | Condensed | Condensed | L2 |
| Roadmap summary | Complete | Condensed | Condensed | L2 |
| Governance summary | Complete | Condensed | Condensed | L2 |
| Advanced sampling/budget | Complete | Condensed | Condensed | L2 |
| SK / VectorData details | Complete | Condensed | Condensed | L2 |
| Complete API reference | Complete | Redirect | Redirect | L3 |
| Internal architecture/thread model | Complete | Redirect | Redirect | L3 |
| ADR / RFC | Complete | Redirect | Redirect | L3 |
| Changelog | Complete | Redirect | Redirect | L3 |
| Complete benchmarks | Complete | Redirect | Redirect | L3 |
| Example variants | Complete | Redirect | Redirect | L3 |
Page names may be adjusted slightly after the M1 documentation site is established; tiers do not change.
6. Translation Maintenance
| Rule | Notes |
|---|---|
| English first | Translate only after the English PR is merged; do not translate unmerged content |
| L1 synchronization | Update Chinese/German within 7 days of an English change |
| L2 synchronization | Update with the next minor version |
| L3 | Not translated; retain the redirect and security summary |
| Version labeling | Label each page top with Based on English vX.Y |
| Outdated notice | When the English version is updated but the translation is not, display "the translation may be outdated" |
| Terminology consistency | Use the glossary in Section 7; new terms must be added to the glossary first |
| Machine translation | First draft only; human review is mandatory |
| Legal text | License/CLA are governed by the English legal text; translations are for reference only |
7. Glossary
| English | Simplified Chinese | Standard German | Notes |
|---|---|---|---|
| Diagnostic Session | 诊断会话 | Diagnosesitzung | Do not translate as "session file" |
| Request | 请求 | Anfrage | One logical AI operation |
| Segment | 分段 | Segment | Do not translate as "phase" |
| Latency waterfall | 延迟瀑布 | Latenz-Wasserfall | UI term |
| Cost ledger | 成本账本 | Kostenbuch | Do not translate as "bill" |
| Price table | 价格表 | Preistabelle | Versioned |
| Estimated | 估算 | geschätzt | Distinguished from unknown |
| Unaccounted | 未解释 | nicht zugeordnet | Residual time |
| Sampling | 采样 | Stichproben | Head/tail sampling |
| Trace | 追踪 | Trace | Keep English to avoid ambiguity |
| Token | Token | Token | Not translated |
| Provider | 提供商 | Anbieter | Keep Provider when the context is clear |
| Tenant | 租户 | Mandant | Stored hashed |
| Feature | 功能 | Funktion | Attribution dimension |
The German glossary requires native speaker review; the Chinese terminology requires technical review. The "final translation" must not be claimed before review.
8. Acceptance Criteria
- AC-L1: L1 pages are navigable in all three languages, commands can be copied and executed, and default values match English.
- AC-L2: L2 pages have a "full English text" link at the top and contain key default values/limitations/common errors.
- AC-L3: L3 pages have a language note and an English redirect; when security/breaking changes are involved, L1/L2 contain a summary.
- AC-L4: Security, privacy, licensing, AOT limitations, and cost disclaimers are 100% synchronized across the three languages.
- AC-L5: The glossary covers all high-frequency terms in the UI and documentation; new terms are added to the glossary before translation.
- AC-L6: Outdated translations display a notice; there must be no case where "the text looks Chinese but the commands/default values are from an old version."
9. Non-Goals
- Do not promise word-for-word translation or page-by-page correspondence.
- Do not provide full machine-translated text for L3.
- Do not translate before the English is finalized.
- Do not let translations become a legal/security basis (the English original and lawyer-reviewed text govern).
- Do not delay the English release because of translation.
10. To Be Confirmed
| Item | Owner | Timing |
|---|---|---|
| German native reviewer | Sponsor/community | Before M1 |
| Chinese technical reviewer | Sponsor/community | Before M1 |
| Final L2 page list | Documentation maintainer | Before M2 |
| Documentation site i18n routing approach | Engineering | M1 |
11. Related Decisions
- D-16: UI defaults to English, switchable to Simplified Chinese and Standard German; documentation is English-first, with condensed Chinese/German versions.
- D-21: Astro Starlight; i18n routing lands in M1.
- D-10: No commercialization for now; translation is maintained jointly by the community and the sponsor.