Skip to content

examples/app-starter: ship all 11 platform locales, one bundle file per locale, and migrate zh-CN to zh-Hans #39322

Description

@objectstack-fleet

repo:objectstack@os-bill · os-bill · session_01Utp6CaQsbKBMQtm6Tpsamd

Blocked-by: #38374

What

  1. One bundle file per locale, laid out like packages/services/service-messaging/src/translations/. supportedLocales lists all 11 tags written out literally. Migrate zh-CN to zh-Hans.
  2. AI-written translations go in the same PR (the [Decision] Repeater row-property localisation: 604 catalog leaves across four locales — who authors the translated copy? #17508 rule, with i18n phase 3 (platform metadata and built-in emails): extraction and bundle checks read PLATFORM_LOCALES; backfill the seven missing locales #30512 as precedent). zh-Hant may derive from zh-Hans. About 1,000 lines.
  3. Blocked by examples/app-starter and the blank template: a knowledge source over the help articles, served only where knowledge retrieval is enabled #38374, which touches the same config and README. Its labels need the 11 locales too.

Done when

  • os i18n check --strict reads 100% on the Starter.
  • The publish-starter-marketplace dry-run passes.

Size: M.

Ruling

Maintainer Bill (os-bill), 2026-12-03 12:13Z: the blank template and the Starter ship all 11 platform locales (PLATFORM_LOCALE_TAGS); generators (os g) write the source language only; translation completeness is checked by the dedicated os i18n check, not as warnings in default os lint. The #21325 zero-findings pin stays as written. This supersedes ruling 7251614638 on #38456 (template single-language). Ruling record: on #38456.
Governing text: the ruling above; packages/spec/src/system/platform-locales.ts (canonical tags, zh-Hans; zh-CN is a read alias, ruling F 6580034558 on #29349).

Facts read on main, 2026-12-03

Analysis: three rounds at CONTRACT_REVIEW_TIER in the maintainer's template-i18n thread; drafts in /mnt/project-files/card-template-i18n-1203/cards.md.

Activity

  1. added
    priority:p2
    pm:blocked
    area:i18n
    domain:server
    on Dec 3, 2026
  2. objectstack-fleet commented on Dec 3, 2026

    @objectstack-fleet
    ContributorAuthor

    triage@hotlong · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:ux · domain:server · Task · p2 · pm:blocked · size M, touched 2026-12-03T13:13Z. Rationale: i18n belongs in area:ux even when the thing cannot be done (NORTH-STAR area boundaries), and area:i18n is not one of the 8 areas. The p2 grade is the ruling os-bill recorded and stays. It stays blocked on Blocked-by: #38374.
    Grade: area:ux · Task · p2 · starter-app builders in non-source locales · read.

  3. added and removed
    area:i18n
    on Dec 3, 2026
  4. objectstack-fleet commented on Dec 4, 2026

    @objectstack-fleet
    ContributorAuthor

    triage@hotlong · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Unlock 2026-12-04T12:20Z: pm:blocked → pm:queue. Blocked-by: #38374 closed at 2026-12-04T11:58Z. Area, type and grade stand.

  5. added
    pm:queue
    and removed
    pm:blocked
    on Dec 4, 2026
  6. objectstack-fleet commented on Dec 4, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-tesla · os-tesla · session_01L9qibzVCaQPuEu6rGmqH8J

    Claim: PM loop · seat exception slot · 2026-12-04T14:13Z
    Dispatched-by: the maintainer, verbatim, 2026-12-04T14:10Z: 「39322 现在就派」
    Session: session_01L9qibzVCaQPuEu6rGmqH8J
    Account: os-tesla
    Branch: pending — mode:thread. The card thread pushes only the branch the platform assigns it; the zone posts a Branch: amendment here when the thread opens.
    Worktree: the card thread's own checkout
    Domain: domain:server
    Seat: repo:objectstack@os-tesla
    Area: ot-ux
    File surface: examples/app-starter/objectstack.config.ts, examples/app-starter/README.md, examples/app-starter/src/translations/ (one bundle file per locale + index), examples/app-starter/test/translations-locales-39322.test.ts
    Container & model: M, mode:thread, model: default (dispatch-gates --tier: no path-derived mandate), effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: example app in objectstack (examples/app-starter) ships en + zh-CN only | none — the Starter is the platform's own template | builders who start from the Starter in a non-source locale, used today
    Thread-read: 7411325912
    Premise: holds (origin/main 8e4dda4: supportedLocales: ['en', 'zh-CN'] at objectstack.config.ts:63; one 227-line src/translations/starter.translation.ts)
    Serial constraints cleared: Blocked-by #38374 closed 2026-12-04T11:58Z, triage unlock 7411325912. check-handover --inflight at 8e4dda4 reads no overlap; exit 5 only for #38415 and #35238, whose claims name no path. #39569 (ot-ux2, 11-locale ui packs) and #39681 (this zone) touch no file here.
    Pre-claim lane: domain:server — examples/** sits outside ui/**.
    Pre-claim deps: none open.
    Prior rulings read: ruling os-bill 2026-12-03T12:13Z (on #38456): ship all 11 PLATFORM_LOCALE_TAGS, os i18n check is the completeness gate, the #21325 zero-findings pin stays. Ruling F 6580034558 (#29349): zh-CN is a read alias, zh-Hans the write tag. #17508 rule / #30512 precedent: AI-written translations ship in the same PR.
    Order: /mnt/project-files/objectstack-seat-os-tesla/ot-ux/order-39322.md
    Fold-or-serial: not folded with #39681 (disjoint files).

  7. added
    pm:dispatched
    and removed
    pm:queue
    on Dec 4, 2026
  8. objectstack-fleet commented on Dec 4, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-tesla · os-tesla · session_01L9qibzVCaQPuEu6rGmqH8J

    Claim: PM loop · seat exception slot · 2026-12-04T14:16Z · re-stated with the thread's branch (supersedes 7414020972; surface unchanged)
    Dispatched-by: the maintainer, verbatim, 2026-12-04T14:10Z: 「39322 现在就派」
    Session: session_01L9qibzVCaQPuEu6rGmqH8J
    Account: os-tesla
    Branch: claude/project-thread-ef0d06
    Worktree: the card thread's own checkout
    Domain: domain:server
    Seat: repo:objectstack@os-tesla
    Area: ot-ux
    File surface: examples/app-starter/objectstack.config.ts, examples/app-starter/README.md, examples/app-starter/src/translations/ (one bundle file per locale + index), examples/app-starter/test/translations-locales-39322.test.ts
    Container & model: M, mode:thread, model: default (dispatch-gates --tier: no path-derived mandate), effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: example app in objectstack (examples/app-starter) ships en + zh-CN only | none — the Starter is the platform's own template | builders who start from the Starter in a non-source locale, used today
    Thread-read: 7411325912
    Premise: holds (origin/main 8e4dda4: supportedLocales: ['en', 'zh-CN'] at objectstack.config.ts:63; one 227-line src/translations/starter.translation.ts)
    Serial constraints cleared: Blocked-by #38374 closed 2026-12-04T11:58Z, triage unlock 7411325912. check-handover --inflight at 8e4dda4 reads no overlap; exit 5 only for #38415 and #35238, whose claims name no path. #39569 (ot-ux2, 11-locale ui packs) and #39681 (this zone) touch no file here.
    Pre-claim lane: domain:server — examples/** sits outside ui/**.
    Pre-claim deps: none open.
    Prior rulings read: ruling os-bill 2026-12-03T12:13Z (on #38456): ship all 11 PLATFORM_LOCALE_TAGS, os i18n check is the completeness gate, the #21325 zero-findings pin stays. Ruling F 6580034558 (#29349): zh-CN is a read alias, zh-Hans the write tag. #17508 rule / #30512 precedent: AI-written translations ship in the same PR.
    Order: /mnt/project-files/objectstack-seat-os-tesla/ot-ux/order-39322.md
    Fold-or-serial: not folded with #39681 (disjoint files).

  9. objectstack-fleet commented on Dec 4, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-tesla · os-tesla · session_01L9qibvqSPRf68vj73hQF3s
    os-dev-report

    {
     "issue": 39322,
     "status": "done",
     "branch": "claude/project-thread-ef0d06",
     "pr": "https://github.com/objectstack-ai/objectstack/pull/39726",
     "session": "session_01L9qibvqSPRf68vj73hQF3s",
     "premise_still_valid": true,
     "summary": "examples/app-starter supportedLocales lists all 11 PLATFORM_LOCALE_TAGS; zh-CN migrated to zh-Hans (data deep-equal to the old zh-CN export); src/translations is one file per locale plus index.ts; nine AI-written bundles (zh-Hant derived from zh-Hans), each with the same 99 leaves as zh-Hans; README line + patch changeset; new pin test/translations-locales-39322.test.ts. Implemented by the card thread itself per dispatch-runbook card-thread section (no os-dev sub-agent); served model opus, effort high.",
     "tests": "examples/app-starter at 51db5fa0: vitest run 4 files 25 passed; tsc --noEmit exit 0; objectstack validate exit 0; os i18n check --strict exit 0, 11 locales 100% (95/95 each); publish-starter-marketplace --dry-run exit 0 after turbo build of the starter, built dist/objectstack.json carries 11 locales. Ablation: zh-CN back in supportedLocales -> pin red (2 failed), restored.",
     "gates": "dispatch-gates --commands at 44cf0fcd base: 55 families; 53 exit 0 first pass; check:i18n-coverage exit 3 (app-showcase deps unbuilt), after building showcase closure exit 0 'OK (15 config(s), 577 baselined, none new)'; check:dual-build-cjs-loads exit 3 'Run pnpm build first' = NOT MEASURED, CI; --ran 55/55 run. Changed lines 2092 (+1862/-230, 17 files), under 3000.",
     "mcp_calls": "0",
     "api_writes": "2 — fleet-write relay pr_create (POST pulls + assignees) #39726; this os-dev-report comment",
     "classifier_refusals": [],
     "open_questions": [],
     "security_findings": "none",
     "out_of_scope_findings": []
    }
  10. objectstack-fleet commented on Dec 4, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-tesla · os-tesla · session_01L9qibzVCaQPuEu6rGmqH8J

    2026-12-04T15:48Z · Delivered: PR #39726 merged (3191f8f); Fixes #39322 closed this card. The Starter ships all 11 platform locales, one bundle per locale, with zh-CN migrated to zh-Hans. os i18n check --strict reads 11/11 at 100%. pm:dispatched removed. Nothing remains on this card.

  11. removed
    pm:dispatched
    on Dec 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:uxdomain:serverpriority:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions