i18n: change the community's primary language after founding — a control-plane setting + a Language control on panel Settings #2123

Closed
opened 2026-11-03 18:40:22 +00:00 by ben · 6 comments
Owner

What

A community's primary language can only be set during founding (ADR 0232 decision 7). DDR 0300 decision 6 recorded the gap: changing it afterwards needs a control-plane setting that doesn't exist yet. The header language picker only changes a person's display language, never the community's (DDR 0300 decision 5).

Scope

  • A control-plane setting for the community primary language (read + write over the control API, Administrator-only, audited like other settings).
  • A Language control on the control panel's Settings tab showing the current community language and letting an Administrator change it, from the five supported languages, each in its own name.
  • Changing it re-applies the services' default language (the services ticket) and does not change any person's own display choice (idss.locale).
  • Copy explains the difference in one line: this sets the community's language for new members and services; your own language is the button in the header.

Design (done — #2146, on main at 6d9df353)

Build against these. They are the contract:

  • DDR 0301 docs/adr/0301-design-settings-changes-the-communitys-language-and-re-applies-the-services.md: placement, ask-first, record + re-apply in one act, failure puts the fact back, en removes the doc, the wire, who can change it, the element contract.
  • Row: docs/ux/wireframes/shell/shell-ds-settings.html (COMMUNITY LANGUAGE under the size band).
  • States: docs/ux/wireframes/shell/shell-ds-language-change.html (DSL1 confirm, DSL2 switching, DSL3 done, DSL4 nothing changed).
  • Flow: docs/ux/flows/shell.mermaid (DS → DSL1…DSL4).

Builds on #2122's keystone (clan.WriteCommunityLanguage / ReadCommunityLanguage, provision.WithCommunityLanguage, already on main). The DDR replaces this body's "Administrator-only" with whoever the panel's door admits, the same rule as every other Settings write (DDR 0301 d.9).

Acceptance

  • An operator changes the language from en to pt: DSL1 asks, DSL2 runs, and DSL3 shows. The control API reports pt, Nextcloud's default follows after the re-apply, and the operator's own header language (idss.locale) is untouched.
  • Changing pt back to en removes idss/community-language, and the services render as an English community did before.
  • A failed re-apply leaves the language unchanged (the fact is put back) and DSL4 shows the deploy's reason, Try again and the operation log link.
  • An unsupported code is a 400 with nothing written; a second change while one runs is a 409.
  • All new copy goes in panel.shell.settings.language.* in all five locales (parity guard green); option names are in their own language with lang set.
## What A community's primary language can only be set **during founding** (ADR 0232 decision 7). DDR 0300 decision 6 recorded the gap: changing it afterwards needs a control-plane setting that doesn't exist yet. The header language picker only changes a *person's* display language, never the community's (DDR 0300 decision 5). ## Scope - [ ] A control-plane setting for the community primary language (read + write over the control API, Administrator-only, audited like other settings). - [ ] A **Language** control on the control panel's Settings tab showing the current community language and letting an Administrator change it, from the five supported languages, each in its own name. - [ ] Changing it re-applies the services' default language (the services ticket) and does **not** change any person's own display choice (`idss.locale`). - [ ] Copy explains the difference in one line: this sets the community's language for new members and services; your own language is the button in the header. ## Design (done — #2146, on main at 6d9df353) Build against these. They are the contract: - **DDR 0301** `docs/adr/0301-design-settings-changes-the-communitys-language-and-re-applies-the-services.md`: placement, ask-first, record + re-apply in one act, failure puts the fact back, `en` removes the doc, the wire, who can change it, the element contract. - **Row:** `docs/ux/wireframes/shell/shell-ds-settings.html` (COMMUNITY LANGUAGE under the size band). - **States:** `docs/ux/wireframes/shell/shell-ds-language-change.html` (DSL1 confirm, DSL2 switching, DSL3 done, DSL4 nothing changed). - **Flow:** `docs/ux/flows/shell.mermaid` (DS → DSL1…DSL4). Builds on #2122's keystone (`clan.WriteCommunityLanguage` / `ReadCommunityLanguage`, `provision.WithCommunityLanguage`, already on main). The DDR replaces this body's "Administrator-only" with **whoever the panel's door admits**, the same rule as every other Settings write (DDR 0301 d.9). ## Acceptance - [ ] An operator changes the language from `en` to `pt`: DSL1 asks, DSL2 runs, and DSL3 shows. The control API reports `pt`, Nextcloud's default follows after the re-apply, and the operator's own header language (`idss.locale`) is untouched. - [ ] Changing `pt` back to `en` removes `idss/community-language`, and the services render as an English community did before. - [ ] A failed re-apply leaves the language unchanged (the fact is put back) and DSL4 shows the deploy's reason, Try again and the operation log link. - [ ] An unsupported code is a 400 with nothing written; a second change while one runs is a 409. - [ ] All new copy goes in `panel.shell.settings.language.*` in all five locales (parity guard green); option names are in their own language with `lang` set.

This was generated by AI during triage.

Category: enhancement. State: needs-design.

Why needs-design (missing-design gate). The body asks for a Language control on the control panel's Settings tab, and notes a wireframe doesn't exist yet. Confirmed: docs/ux/wireframes/ has a shell (operator-app) settings frame and a language-picker (shell/shell-ds-settings.html, shell/shell-lp-language-picker.html) — but those are the operator app and the person's display language (DDR 0300 d.5). There is no control-panel Settings-tab wireframe at all, and none for changing the community's primary language. The design contract an agent would build against is not ready, so this routes back to /wireframe plus a DDR amending DDR 0300 decision 6 before build — exactly as the body's Design section says.

Dependency. This re-applies the services' default language, so it is blocked by #2122 (the services ticket); wiring that as a native dependency.

Not an ADR 0174 judgment call — the gate is mechanical: a referenced wireframe file does not exist.

> *This was generated by AI during triage.* **Category:** enhancement. **State:** `needs-design`. **Why `needs-design` (missing-design gate).** The body asks for a **Language control on the control panel's Settings tab**, and notes a wireframe doesn't exist yet. Confirmed: `docs/ux/wireframes/` has a *shell* (operator-app) settings frame and a language-picker (`shell/shell-ds-settings.html`, `shell/shell-lp-language-picker.html`) — but those are the operator app and the *person's* display language (DDR 0300 d.5). There is **no control-panel Settings-tab wireframe at all**, and none for changing the *community's* primary language. The design contract an agent would build against is not ready, so this routes back to `/wireframe` plus a DDR amending DDR 0300 decision 6 before build — exactly as the body's **Design** section says. **Dependency.** This re-applies the services' default language, so it is blocked by #2122 (the services ticket); wiring that as a native dependency. Not an ADR 0174 judgment call — the gate is mechanical: a referenced wireframe file does not exist.
Author
Owner

Design landed in 6d9df353 (#2146, DDR 0301). Relabelled needs-design → ready-for-agent.

Dropped the #2122 dependency. The keystone this build needs landed on main in a8987221:

  • clan.WriteCommunityLanguage / ReadCommunityLanguage
  • provision.WithCommunityLanguage

#2122 only stays open for its per-service follow-ups.

Two calls in DDR 0301 to veto if wrong:

  • d.9: whoever the panel door admits can change it, not only Administrators.
  • d.5: the change re-applies the gateway immediately rather than waiting for the next update.
Design landed in 6d9df353 (#2146, DDR 0301). Relabelled `needs-design` → `ready-for-agent`. Dropped the #2122 dependency. The keystone this build needs landed on main in a8987221: - `clan.WriteCommunityLanguage` / `ReadCommunityLanguage` - `provision.WithCommunityLanguage` #2122 only stays open for its per-service follow-ups. Two calls in DDR 0301 to veto if wrong: - **d.9:** whoever the panel door admits can change it, not only Administrators. - **d.5:** the change re-applies the gateway immediately rather than waiting for the next update.

⏩ independent reviewer for #2123 — verdict unauthenticated

review JSON
{
  "verdict": "unauthenticated",
  "findings": []
}
:fast_forward: **independent reviewer** for #2123 — verdict `unauthenticated` <details><summary>review JSON</summary> ```json { "verdict": "unauthenticated", "findings": [] } ``` </details>

close-report for #2123 — status success

✅ close-report gates passed — every claim verified against the pushed worker branch sandcastle/worker/20261104-000140-a072c5 (pre-land — the host promotes it to main only after its post-run verify, #193/#283); issue closed.

envelope
{
  "issue": 2123,
  "status": "success",
  "commits": [
    "03ba7fc3df955a84cfb30b5f9fa252996aaa9615"
  ],
  "changed_files": [
    "STATUS.md",
    "control-plane/cmd/control-plane/compose.go",
    "control-plane/cmd/control-plane/resting_composition.go",
    "control-plane/cmd/control-plane/settings_community_details_test.go",
    "control-plane/cmd/control-plane/settings_community_language_test.go",
    "control-plane/cmd/control-plane/shell_surfaces.go",
    "control-plane/cmd/control-plane/whole_composition.go",
    "dashboard/src/components/shell/SettingsScreen.vue",
    "dashboard/src/components/shell/SettingsSurface.vue",
    "dashboard/src/i18n/shell/en.ts",
    "dashboard/src/i18n/shell/es.ts",
    "dashboard/src/i18n/shell/fr.ts",
    "dashboard/src/i18n/shell/nl.ts",
    "dashboard/src/i18n/shell/pt.ts",
    "dashboard/src/lib/api/generated.ts",
    "dashboard/src/lib/api/settingsClient.ts",
    "dashboard/src/lib/settings.ts",
    "dashboard/tests/fakes/settings.ts",
    "dashboard/tests/unit/settings.test.ts",
    "dashboard/tests/unit/settingsLive.test.ts",
    "internal/clan/community.go",
    "internal/clan/community_test.go",
    "internal/clan/testing/fake.go",
    "internal/controlapi/settings.go",
    "internal/controlapi/settings_integration_test.go",
    "packages/openapi-spec/openapi.yaml"
  ],
  "tests": [
    {
      "command": "go test ./internal/clan/ ./internal/controlapi/ ./internal/founding/",
      "exit_code": 0
    },
    {
      "command": "go test ./control-plane/cmd/control-plane/",
      "exit_code": 0
    },
    {
      "command": "bash /tmp/go-gate.sh (gofmt + go build/vet/test ./... + golangci-lint ./... + -tags dev + broker — the go-ci gate)",
      "exit_code": 0
    },
    {
      "command": "npx vitest run (dashboard — 175 files, incl settings/settingsLive/i18n)",
      "exit_code": 0
    },
    {
      "command": "npx vue-tsc -p tsconfig.json --noEmit (dashboard)",
      "exit_code": 0
    },
    {
      "command": "npx eslint (changed dashboard files)",
      "exit_code": 0
    },
    {
      "command": "node packages/openapi-spec/scripts/generate-client.mjs --check",
      "exit_code": 0
    }
  ],
  "criteria": {
    "en→pt: DSL1 asks, DSL2 runs, DSL3 shows; control API reports pt; operator idss.locale untouched": "Backend: control-plane/.../settings_community_language_test.go TestConfigRepoSettings_LanguageChangeRecordsAndReApplies (records pt, re-applies the gateway, Community() reports pt with no languageChange). Panel: dashboard/tests/unit/settings.test.ts 'DSL1 → DSL3' + 'DSL2 … poll settles to DSL3' (SettingsScreen.vue DSL1 confirm → DSL2 progress → DSL3 done). The panel only calls community.setLanguage and never writes idss.locale (SettingsSurface.vue onSetLanguage), so the operator's own display language is untouched (DDR 0300 d.5).",
    "pt→en removes idss/community-language, services render as an English community did before": "clan.WriteCommunityLanguage en-removal (internal/clan/community.go) proven by internal/clan/community_test.go (es doc removed on en, reads as the default) and control-plane TestConfigRepoSettings_LanguageBackToEnglishRemovesTheDoc (ReadCommunityLanguage absent after en); panel 'changing back to English is a first-class option' test.",
    "failed re-apply leaves language unchanged (fact put back); DSL4 shows reason, Try again, operation log link": "control-plane TestConfigRepoSettings_FailedReApplyPutsTheFactBack (ReconcileFails → language put back to en, languageChange state=failed with reason + a retained oplog logRef). Panel DSL4 test asserts data-status=failed, the reason, retry re-emits set-language, and the open-community-language-log action (SettingsScreen.vue).",
    "unsupported code → 400 nothing written; a second change while one runs → 409": "controlapi handler mapping proven by internal/controlapi settings_integration_test.go TestSettingsHandler_CommunityLanguageStatusContract (202/204/400/409) and control-plane TestConfigRepoSettings_LanguageChangeStatusRulings (ErrBadSettingsInput, ErrLanguageUnchanged, ErrLanguageChangeInFlight).",
    "all copy in panel.shell.settings.language.* in all five locales (parity green); option names in own language with lang set": "panel.shell.settings.language.* added to dashboard/src/i18n/shell/{en,es,nl,fr,pt}.ts; dashboard/tests/unit/i18n.test.ts parity guard green; option names (English/Español/Nederlands/Français/Português) are the un-translated COMMUNITY_LANGUAGES list in settings.ts, each rendered with its own lang= attribute (SettingsScreen.vue), asserted by the 'five options each in its own name' test."
  },
  "summary": "Community primary language is changeable after founding from control-panel Settings — DSL1–DSL4 UI, control API, and the record-and-re-apply state machine (DDR 0301).",
  "blockers": [],
  "unproven_by_seam": "The live leg — that Nextcloud (and the other services #2122 tracks) actually SERVE the new default language after the gateway re-apply — is unproven by the seam: the Go tests drive a fake clan whose Deploy does not re-render services, so they prove the deploy is driven for the gateway at the committed revision and that provision reads the community language live (#2122), not the rendered output. A clan-lab drive (the #2122 debt) is still owed to prove a community changed to pt serves Español/Português end to end."
}
**close-report** for #2123 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against the pushed worker branch `sandcastle/worker/20261104-000140-a072c5` (pre-land — the host promotes it to `main` only after its post-run verify, #193/#283); issue closed. <details><summary>envelope</summary> ```json { "issue": 2123, "status": "success", "commits": [ "03ba7fc3df955a84cfb30b5f9fa252996aaa9615" ], "changed_files": [ "STATUS.md", "control-plane/cmd/control-plane/compose.go", "control-plane/cmd/control-plane/resting_composition.go", "control-plane/cmd/control-plane/settings_community_details_test.go", "control-plane/cmd/control-plane/settings_community_language_test.go", "control-plane/cmd/control-plane/shell_surfaces.go", "control-plane/cmd/control-plane/whole_composition.go", "dashboard/src/components/shell/SettingsScreen.vue", "dashboard/src/components/shell/SettingsSurface.vue", "dashboard/src/i18n/shell/en.ts", "dashboard/src/i18n/shell/es.ts", "dashboard/src/i18n/shell/fr.ts", "dashboard/src/i18n/shell/nl.ts", "dashboard/src/i18n/shell/pt.ts", "dashboard/src/lib/api/generated.ts", "dashboard/src/lib/api/settingsClient.ts", "dashboard/src/lib/settings.ts", "dashboard/tests/fakes/settings.ts", "dashboard/tests/unit/settings.test.ts", "dashboard/tests/unit/settingsLive.test.ts", "internal/clan/community.go", "internal/clan/community_test.go", "internal/clan/testing/fake.go", "internal/controlapi/settings.go", "internal/controlapi/settings_integration_test.go", "packages/openapi-spec/openapi.yaml" ], "tests": [ { "command": "go test ./internal/clan/ ./internal/controlapi/ ./internal/founding/", "exit_code": 0 }, { "command": "go test ./control-plane/cmd/control-plane/", "exit_code": 0 }, { "command": "bash /tmp/go-gate.sh (gofmt + go build/vet/test ./... + golangci-lint ./... + -tags dev + broker — the go-ci gate)", "exit_code": 0 }, { "command": "npx vitest run (dashboard — 175 files, incl settings/settingsLive/i18n)", "exit_code": 0 }, { "command": "npx vue-tsc -p tsconfig.json --noEmit (dashboard)", "exit_code": 0 }, { "command": "npx eslint (changed dashboard files)", "exit_code": 0 }, { "command": "node packages/openapi-spec/scripts/generate-client.mjs --check", "exit_code": 0 } ], "criteria": { "en→pt: DSL1 asks, DSL2 runs, DSL3 shows; control API reports pt; operator idss.locale untouched": "Backend: control-plane/.../settings_community_language_test.go TestConfigRepoSettings_LanguageChangeRecordsAndReApplies (records pt, re-applies the gateway, Community() reports pt with no languageChange). Panel: dashboard/tests/unit/settings.test.ts 'DSL1 → DSL3' + 'DSL2 … poll settles to DSL3' (SettingsScreen.vue DSL1 confirm → DSL2 progress → DSL3 done). The panel only calls community.setLanguage and never writes idss.locale (SettingsSurface.vue onSetLanguage), so the operator's own display language is untouched (DDR 0300 d.5).", "pt→en removes idss/community-language, services render as an English community did before": "clan.WriteCommunityLanguage en-removal (internal/clan/community.go) proven by internal/clan/community_test.go (es doc removed on en, reads as the default) and control-plane TestConfigRepoSettings_LanguageBackToEnglishRemovesTheDoc (ReadCommunityLanguage absent after en); panel 'changing back to English is a first-class option' test.", "failed re-apply leaves language unchanged (fact put back); DSL4 shows reason, Try again, operation log link": "control-plane TestConfigRepoSettings_FailedReApplyPutsTheFactBack (ReconcileFails → language put back to en, languageChange state=failed with reason + a retained oplog logRef). Panel DSL4 test asserts data-status=failed, the reason, retry re-emits set-language, and the open-community-language-log action (SettingsScreen.vue).", "unsupported code → 400 nothing written; a second change while one runs → 409": "controlapi handler mapping proven by internal/controlapi settings_integration_test.go TestSettingsHandler_CommunityLanguageStatusContract (202/204/400/409) and control-plane TestConfigRepoSettings_LanguageChangeStatusRulings (ErrBadSettingsInput, ErrLanguageUnchanged, ErrLanguageChangeInFlight).", "all copy in panel.shell.settings.language.* in all five locales (parity green); option names in own language with lang set": "panel.shell.settings.language.* added to dashboard/src/i18n/shell/{en,es,nl,fr,pt}.ts; dashboard/tests/unit/i18n.test.ts parity guard green; option names (English/Español/Nederlands/Français/Português) are the un-translated COMMUNITY_LANGUAGES list in settings.ts, each rendered with its own lang= attribute (SettingsScreen.vue), asserted by the 'five options each in its own name' test." }, "summary": "Community primary language is changeable after founding from control-panel Settings — DSL1–DSL4 UI, control API, and the record-and-re-apply state machine (DDR 0301).", "blockers": [], "unproven_by_seam": "The live leg — that Nextcloud (and the other services #2122 tracks) actually SERVE the new default language after the gateway re-apply — is unproven by the seam: the Go tests drive a fake clan whose Deploy does not re-render services, so they prove the deploy is driven for the gateway at the committed revision and that provision reads the community language live (#2122), not the rendered output. A clan-lab drive (the #2122 debt) is still owed to prove a community changed to pt serves Español/Português end to end." } ``` </details>

🚨 Reopened — a push-mode close did NOT land on main (#283). close-report closed this issue against the pushed worker branch, but the host's post-run verify rolled the land back (the promote did not advance main (a no-op push to main)), so origin/main never carried the commits (03ba7fc3df955a84cfb30b5f9fa252996aaa9615). The gates-passed comment above is therefore NOT true of main. Reopening and relabelling ready-for-session so the work is redone where it can land; the commits are parked on a rescue branch for triage (see this run's alarm).

:rotating_light: **Reopened — a push-mode close did NOT land on `main` (#283).** close-report closed this issue against the pushed worker branch, but the host's post-run verify rolled the land back (`the promote did not advance main (a no-op push to main)`), so `origin/main` never carried the commits (`03ba7fc3df955a84cfb30b5f9fa252996aaa9615`). The gates-passed comment above is therefore NOT true of `main`. Reopening and relabelling `ready-for-session` so the work is redone where it can land; the commits are parked on a rescue branch for triage (see this run's alarm).

close-report for #2123 — status success · landed on main at 67741016

Changing the community's primary language after founding is live, from control-panel Settings (DDR 0301). This re-lands the swarm worker's complete, test-passing implementation (03ba7fc3) that the earlier run left off main when its post-run promote was a no-op (#283). I cherry-picked that commit onto current main, re-verified the whole thing here, fixed a STATUS.md merge artifact, and pushed — this time the push advanced main (e9dbf702..67741016, confirmed against origin/main).

What landed

  • clan.WriteCommunityLanguage gains the en-removal path (DDR 0301 d.7): landing back on English removes idss/community-language through the one writer; a pure no-op on an en founding, so founding callers are unchanged.
  • controlapi: CommunityDetails gains language (always present, en by absence) and language_change (switching/failed + reason + log_ref); new POST /api/v1/settings/community/language → 202 accepted · 204 no-op · 400 unsupported · 409 in-flight (d.8).
  • configRepoSettings runs the record-and-re-apply off the request path through a shared communityLanguageController; a failed re-apply puts the fact back (d.6) and tees the gateway deploy into the oplog store so DSL4's "See what happened" replays the run (P10 viewer).
  • Panel: SettingsScreen.vue renders the COMMUNITY LANGUAGE row + DSL1–DSL4 to the DDR 0301 d.10 element contract; SettingsSurface polls switching→done. Copy under panel.shell.settings.language.* in all five locales (parity guard green; option names un-translated, each with lang set). OpenAPI spec + generated client regenerated.

Acceptance (all met, re-proven on this checkout)

  • en→pt: DSL1 asks, DSL2 runs, DSL3 shows; control API reports pt; operator's idss.locale untouched — settings_community_language_test.go + dashboard settings.test.ts.
  • pt→en removes the doc; English renders as before — community_test.go en-removal + TestConfigRepoSettings_LanguageBackToEnglishRemovesTheDoc.
  • Failed re-apply leaves the language unchanged, DSL4 shows reason + Try again + log link — TestConfigRepoSettings_FailedReApplyPutsTheFactBack + the DSL4 panel test.
  • Unsupported → 400 nothing written; second change while one runs → 409 — controlapi status contract + control-plane rulings test.
  • All copy in panel.shell.settings.language.* across five locales, parity green — i18n.test.ts.

Proof run here (not just the sandbox's)

  • go build ./... · go vet ./... · gofmt -l (clean) — green.
  • go test ./internal/clan/ ./internal/controlapi/ ./internal/founding/ ./control-plane/cmd/control-plane/ — green.
  • Dashboard: full vitest suite 175 files / 2266 tests green; vue-tsc --noEmit clean; eslint on changed files clean; generate-client.mjs --check → in sync.
  • Pre-push host gate (gofmt + pinned eslint) passed on the push that advanced main.

Ruled by agent under ADR 0174 — veto anytime. Two-way door: a change is undone by changing it back, and the failure path puts the fact back on its own; not on the one-way list (no credentials, member trust, data destruction or spend). The two calls Ben flagged (d.9 door-admits-not-admin-only, d.5 re-apply-immediately) are built as the DDR records them.

OWED (unchanged from the design): the per-service live follow-ups #2122 still tracks — the seam proves the gateway is driven at the committed revision and that provision reads the community language live, not the rendered output; a clan-lab drive proving a pt community serves Português/Español end to end is the #2122 debt, not this ticket's.

Commit: 67741016 (re-lands 03ba7fc3).

**close-report** for #2123 — status `success` · landed on `main` at `67741016` Changing the community's primary language after founding is live, from control-panel Settings (DDR 0301). This re-lands the swarm worker's complete, test-passing implementation (`03ba7fc3`) that the earlier run left off `main` when its post-run promote was a no-op (#283). I cherry-picked that commit onto current `main`, re-verified the whole thing here, fixed a STATUS.md merge artifact, and pushed — this time the push advanced `main` (`e9dbf702..67741016`, confirmed against `origin/main`). **What landed** - `clan.WriteCommunityLanguage` gains the `en`-removal path (DDR 0301 d.7): landing back on English removes `idss/community-language` through the one writer; a pure no-op on an `en` founding, so founding callers are unchanged. - `controlapi`: `CommunityDetails` gains `language` (always present, `en` by absence) and `language_change` (`switching`/`failed` + `reason` + `log_ref`); new `POST /api/v1/settings/community/language` → **202** accepted · **204** no-op · **400** unsupported · **409** in-flight (d.8). - `configRepoSettings` runs the record-and-re-apply off the request path through a shared `communityLanguageController`; a failed re-apply puts the fact back (d.6) and tees the gateway deploy into the `oplog` store so DSL4's "See what happened" replays the run (P10 viewer). - Panel: `SettingsScreen.vue` renders the COMMUNITY LANGUAGE row + DSL1–DSL4 to the DDR 0301 d.10 element contract; `SettingsSurface` polls switching→done. Copy under `panel.shell.settings.language.*` in all five locales (parity guard green; option names un-translated, each with `lang` set). OpenAPI spec + generated client regenerated. **Acceptance (all met, re-proven on this checkout)** - en→pt: DSL1 asks, DSL2 runs, DSL3 shows; control API reports `pt`; operator's `idss.locale` untouched — `settings_community_language_test.go` + dashboard `settings.test.ts`. - pt→en removes the doc; English renders as before — `community_test.go` en-removal + `TestConfigRepoSettings_LanguageBackToEnglishRemovesTheDoc`. - Failed re-apply leaves the language unchanged, DSL4 shows reason + Try again + log link — `TestConfigRepoSettings_FailedReApplyPutsTheFactBack` + the DSL4 panel test. - Unsupported → 400 nothing written; second change while one runs → 409 — `controlapi` status contract + control-plane rulings test. - All copy in `panel.shell.settings.language.*` across five locales, parity green — `i18n.test.ts`. **Proof run here (not just the sandbox's)** - `go build ./...` · `go vet ./...` · `gofmt -l` (clean) — green. - `go test ./internal/clan/ ./internal/controlapi/ ./internal/founding/ ./control-plane/cmd/control-plane/` — green. - Dashboard: full `vitest` suite **175 files / 2266 tests** green; `vue-tsc --noEmit` clean; `eslint` on changed files clean; `generate-client.mjs --check` → in sync. - Pre-push host gate (gofmt + pinned eslint) passed on the push that advanced `main`. Ruled by agent under ADR 0174 — veto anytime. Two-way door: a change is undone by changing it back, and the failure path puts the fact back on its own; not on the one-way list (no credentials, member trust, data destruction or spend). The two calls Ben flagged (d.9 door-admits-not-admin-only, d.5 re-apply-immediately) are built as the DDR records them. **OWED (unchanged from the design):** the per-service live follow-ups #2122 still tracks — the seam proves the gateway is driven at the committed revision and that provision reads the community language live, not the rendered output; a clan-lab drive proving a `pt` community serves Português/Español end to end is the #2122 debt, not this ticket's. Commit: `67741016` (re-lands `03ba7fc3`).
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Matou/idss#2123
No description provided.