Skip to content

Commit faf2a3a

Browse files
authored
RFC 0024: Localization Runtime and Product Coverage (#42)
Accept the shared localization runtime, ownership, coverage, authoring, and trusted-refresh contracts. Track implementation in openclaw/openclaw#113105.
1 parent 13819ef commit faf2a3a

7 files changed

Lines changed: 3438 additions & 0 deletions

‎rfcs/0024-localization-runtime-and-coverage.md‎

Lines changed: 1034 additions & 0 deletions
Large diffs are not rendered by default.

‎rfcs/0024/implementation-plan.md‎

Lines changed: 516 additions & 0 deletions
Large diffs are not rendered by default.

‎rfcs/0024/issue-catalog.md‎

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
# Localization GitHub Issue Catalog
2+
3+
Live state checked: 2026-07-22.
4+
5+
Projected delivery IDs refer to the
6+
[owner slice registry](projected-owner-slice-registry.md). They identify an
7+
initial planning family, not a promise that one issue maps to one pull request.
8+
9+
This catalog maps user reports to RFC contracts and implementation slices. It
10+
is not a request to reopen every closed issue. Closed threads provide evidence,
11+
precedent, and duplicate history.
12+
13+
## Active Contract Issues
14+
15+
| Issue | Surface | Current gap | RFC owner | Delivery |
16+
| --- | --- | --- | --- | --- |
17+
| [#28303](https://github.com/openclaw/openclaw/issues/28303) | Locale identity | `zh-CN`/`zh-TW` public IDs do not express script semantics; migration is unresolved. | Locale registry | `F01`; any canonical-ID migration remains separate |
18+
| [#90608](https://github.com/openclaw/openclaw/issues/90608) | Locale preference | Browser inference can select an unwanted locale; explicit choice/default needs precedence. | Locale context | `F01`, then owner-local UI preference follow-up if still needed |
19+
| [#81253](https://github.com/openclaw/openclaw/issues/81253) | Exec approvals | Safety prompt labels and guidance are hardcoded English. | Runtime messages | `F05`, `R20`, and adapter-gated `R21` |
20+
| [#79458](https://github.com/openclaw/openclaw/issues/79458) | Command metadata | Slash-command descriptions lack one locale-keyed contract. | Metadata | `M25`-`M28` |
21+
| [#55239](https://github.com/openclaw/openclaw/issues/55239) | Telegram | Native command menu descriptions remain English. | Metadata projection | `M28` |
22+
| [#89971](https://github.com/openclaw/openclaw/issues/89971) | Skills | Skill display names and descriptions are raw English metadata. | Metadata | `M29`-`M30` |
23+
| [#79223](https://github.com/openclaw/openclaw/issues/79223) | Dreaming | Dream Diary generated prose has no explicit language input. | Content language | Post-v1 |
24+
| [#101314](https://github.com/openclaw/openclaw/issues/101314) | Dreaming | Journal headings and status labels are hardcoded English, while generated prose has separate language behavior. | Runtime messages + content language | `R23` for deterministic labels; generated content remains Post-v1 |
25+
| [#53345](https://github.com/openclaw/openclaw/issues/53345) | Agent content | Korean UI is present, but agent response-language consistency is a separate unresolved behavior. | Content language | Post-v1 |
26+
| [#78038](https://github.com/openclaw/openclaw/issues/78038) | Control UI | Specific zh-CN strings are untranslated or inaccurate. | Coverage/quality | `P37` and generated owner waves |
27+
| [#88570](https://github.com/openclaw/openclaw/issues/88570) | Product-wide | CLI, runtime errors, channel notices, UI pages, authoring automation, and coverage reporting remain incomplete. | Umbrella coverage | All projected owner entries, including the `G45` scoped gate, `G46` trusted refresh, and `G47` new-surface disposition gate; completion still uses landed owner evidence, not the count |
28+
| [#107851](https://github.com/openclaw/openclaw/issues/107851) | Control UI | `tabs.chat` is missing in non-English bundles. | Coverage/quality | `P37` and generated owner waves |
29+
| [#105266](https://github.com/openclaw/openclaw/issues/105266) | Test infrastructure | Locale-rendering tests can observe stale/split localization state. | Coverage infrastructure | `F01` plus owner-local convergence proof |
30+
| [#106576](https://github.com/openclaw/openclaw/issues/106576) | Localized hosts | Sandbox behavior matches English `stderr` prose. | Locale robustness | `R24` |
31+
32+
## Historical Runtime And Architecture Evidence
33+
34+
| Issue | State | Relevance |
35+
| --- | --- | --- |
36+
| [#50497](https://github.com/openclaw/openclaw/issues/50497) | Closed | Broad CLI/Gateway localization requests were closed in favor of architecture-led work, supporting this RFC rather than another ad hoc language thread. |
37+
| [#66056](https://github.com/openclaw/openclaw/issues/66056) | Closed, not planned | Source review confirmed locale-aware Gateway/runtime errors were still missing. This RFC adopts the unresolved contract. |
38+
| [#70590](https://github.com/openclaw/openclaw/issues/70590) | Closed as duplicate/superseded | Hardcoded Control UI strings were being addressed by focused UI work; product-wide runtime scope remained. |
39+
| [#88171](https://github.com/openclaw/openclaw/issues/88171) | Closed, not planned | A single hosted translation platform was not accepted as the architecture. RFC 0024 keeps in-repo surface ownership and shared semantics. |
40+
41+
## Landed Foundations And Precedents
42+
43+
| Issue | Landed behavior | RFC reuse |
44+
| --- | --- | --- |
45+
| [#79936](https://github.com/openclaw/openclaw/issues/79936) | CLI setup wizard catalog and locale selection. | Reuse locale normalization, dotted keys, and English fallback. |
46+
| [#79937](https://github.com/openclaw/openclaw/issues/79937) | Control UI chat-panel strings moved to i18n. | Reuse UI catalog and rerender behavior. |
47+
| [#79034](https://github.com/openclaw/openclaw/issues/79034) | Finite chat/tool metadata localized across shipped UI locales. | Reuse generated parity validation. |
48+
| [#56580](https://github.com/openclaw/openclaw/issues/56580) | Discord command specs gained `descriptionLocalizations`. | Generalize into the command metadata contract. |
49+
| [#98970](https://github.com/openclaw/openclaw/issues/98970) | Explicit non-English STT hints no longer receive an English-biased default prompt. | Keep product locale and content-language inputs explicit. |
50+
| [#100247](https://github.com/openclaw/openclaw/issues/100247) | Simplified Chinese reached Control UI and core Apple surfaces. | Preserve existing pipelines and manifests. |
51+
| [#103270](https://github.com/openclaw/openclaw/issues/103270) | Profile and agent selectors update with locale changes. | Locale changes must notify active renderers. |
52+
| [#103320](https://github.com/openclaw/openclaw/issues/103320) and [#103333](https://github.com/openclaw/openclaw/issues/103333) | UI locale test/module isolation was hardened. | Treat singleton and test isolation as localization infrastructure. |
53+
| [#103570](https://github.com/openclaw/openclaw/issues/103570) | Locale refresh workflows publish generated PRs through protected-branch-safe identities. | Reuse generated catalog workflow. |
54+
| [#103691](https://github.com/openclaw/openclaw/issues/103691) | Native extraction and locale validation hardened. | Reuse deterministic inventory and validation rules. |
55+
| [#104014](https://github.com/openclaw/openclaw/issues/104014) | Packaged Zod validation restored explicit English locale registration. | Dependencies need deterministic fallback installation. |
56+
| [#104979](https://github.com/openclaw/openclaw/issues/104979) | Android and Apple runtime surfaces were wired into generated localization. | Keep platform-native catalogs and shared inventory. |
57+
| [#105130](https://github.com/openclaw/openclaw/issues/105130) | Control UI locale parity became advisory before release. | RFC 0024 defines when advisory gaps graduate to blocking completeness gates. |
58+
| [#107857](https://github.com/openclaw/openclaw/issues/107857) | Quick Settings labels were moved through the UI `t()` path. | Continue focused surface migration backed by coverage. |
59+
60+
## Duplicate And Alignment Rules
61+
62+
- Do not file a new umbrella OpenClaw localization issue until RFC 0024 is
63+
accepted; the accepted RFC lifecycle creates the implementation issue.
64+
- Keep focused current issues open and link them from the future implementation
65+
issue.
66+
- Close focused issues only when their exact surface lands or is explicitly
67+
superseded by an accepted slice.
68+
- Do not merge generated-content language requests into UI locale behavior.
69+
- Do not treat translation-quality issues as proof that the underlying runtime
70+
contract is absent.
71+
- Do not treat a locale file as proof of complete product localization.

0 commit comments

Comments
 (0)