Repository navigation
Description
Summary
Swiss readers (de-CH) still see ß in German strings that the de-CH overlay never overrides. The overlay is sparse: de-CH → de → en. Its doctrine (.agents/skills/write-translations/locales/de-CH/AGENTS.md, and the de-CH column of CONVENTIONS.md) says Swiss text uses ss instead of ß, and that an override is added "when the text needs to differ for Swiss readers". So every de string containing ß needs an override. Many have none:
| Catalog | de keys holding ß |
with a de-CH override | without |
|---|---|---|---|
services/web/messages |
22 | 7 | 15 |
services/platform/messages |
82 | 40 | 42 |
packages/ui/src/i18n/messages |
9 | 7 | 2 |
services/docs/messages |
1 | 1 | 0 |
There is no runtime ß→ss transform; git grep finds no replacement outside tests. So each missing key renders the base-de ß form. The overlay test that #4148 adds (services/web/lib/i18n/de-ch-overlay.test.ts) checks only the overrides that exist: each must equal de with ß→ss. A missing override is invisible to it, to messages.test.ts (style-ss passes), and to the manual boxes. services/web LOC-F6 and services/docs LOC-F7 only check strings that are present in the overlay.
Source and environment
- Source: the counts are the same at PR fix(web): name the DPA in the pricing table and resync de-CH #4148's head
b923ca3147f4bea17fa341cdb2125247485fce3aand onorigin/mainaa2e73974(after feat(marketing-ui): rework the public website front pages #4139). The rendered check ran at fix(web): name the DPA in the pricing table and resync de-CH #4148's head. - Stack: local only. The
services/webVite dev server ran on127.0.0.1:3711(egress to a dead proxy), with headless Chromium (Playwright 1.58.2). - Owner: TALE-358 local-qa occurrence 2026-10-03 20:15 Zurich, run
b7dfe0b5-52c6-43dc-8d9c-960e41eb0658.
Impact
Swiss German is a declared regional variant: the doctrine, the overlays and the manual boxes all cover it. Yet a Swiss reader gets mixed spelling, ss in some strings and ß in others:
- On the marketing home page, "Standardmäßig selbst gehostet" sits next to overrides that say "grosse".
- In the product, common controls are affected: Schließen (
chat.budgetWarningDismiss,conversations.bulk.close), Vergrößern (notifications.expand,common.flow.zoomIn), "Bild ist zu groß …", "… muss größer als null sein".
Severity is low (spelling, not meaning). It is systematic, though, and nothing would catch new cases.
Deterministic reproduction
-
Run
services/web(bun run --filter @tale/web dev) and open/dewith the browser languagede-CH.navigator.languageisde-CH; the URL stays/deand<html lang>isde. -
Observed: three visible text nodes on
/destill contain ß:- "Standardmäßig selbst gehostet" (
home.tagline.pillars.selfHosted.title); - "Schließe mit dem Link zur Eskalations-Richtlinie, …" (
home.demos.arena.replyA3); - the on-prem FAQ answer, "… nach außen senden …" (
home.faq.onPrem.a).
The resynced overrides on the same page render with ss.
- "Standardmäßig selbst gehostet" (
-
Control: with
de-DE, the same page shows 6 ß strings. That is the 3 above, plus the 3 that de-CH does override (the two FAQ answers and the footer's "Maßnahmen"). -
Catalog scan: for each
de.yml/de-CH.ymlpair, list thedekeys whose value contains ß and thatde-CH.ymldoesn't define. The counts are in the table above. The full list of 59 keys is in the retained evidence.
Expected
Every string a de-CH reader sees writes ss for ß, as the de-CH doctrine says. A guard fails when a de value containing ß has no Swiss form.
Acceptance checks
- Every catalog with a de-CH overlay is covered: for each
dekey inservices/web,services/platform,packages/uiandservices/docswhose value contains ß, the de-CH reader gets the ß→ss text. Either:- add the overrides, each equal to
dewith ß→ss, which fix(web): name the DPA in the pricing table and resync de-CH #4148's overlay rule already requires; or - derive ß→ss for
de-CHat load time and keep overrides for real regional variants only.
- add the overrides, each equal to
- A shared guard fails when a ß-bearing
devalue has no Swiss form. One way is to extend fix(web): name the DPA in the pricing table and resync de-CH #4148's overlay test into a shared one: an override is then required exactly whendehas ß or a listed regional variant. - Rendered:
/deand/de/pricingunderde-CHshow noß. In the platform, the Schließen/Vergrößern controls read Schliessen/Vergrössern.
Evidence and limits
- Evidence kept locally (TALE-358
r20261003T2015):scripts/v1-de-ch-parity.pyandevidence/v1-de-ch-parity-head.json, with the 15 web keys;scripts/r1-pricing-render.ts,evidence/r1-pricing-render-head.B.logand thede-CH/de-DEscreenshots;- the catalog scan at both revisions,
evidence/v3-de-ch-sharp-s-coverage.txt, with all 59 keys.
- Limits:
- Rendered only on the marketing site. The platform and
packages/uinumbers come from the catalog scan. - I didn't check docs Markdown content, only
messages. The docsde-CHtree is retired, perservices/docsNAV-F20. - Whether to override per key or transform at load time is an implementation choice.
- Rendered only on the marketing site. The platform and
Activity
yannickmonney commentedon Oct 6, 2026
Status after the catalog split (TALE-358 Review A, run
844c1971,mainat890de6258).main:services/platform/messages/de/auth.ymlhas 7 values withß.de-CH/auth.ymloverrides 5 of them but not these two:sso.errors.recovery.signInInteractively;sso.actions.completeMfa.twoFactor.yml's oneßvalue is overridden.e126114dd. But it writes them toservices/platform/messages/de-CH.yml, which no longer exists: since68386d304, every locale is a directory of topic files (de-CH/auth.yml, …).yannickmonney commentedon Oct 7, 2026
Status at
main6eaa56999bb6528abe26666aa23bfcad607ef862(TALE-358 Review A, runc5f148b5; static, per-topic catalogs).The platform catalogs are now one file per topic, with de-CH overrides in
services/platform/messages/de-CH/<topic>.yml(16 topic files). Of the 84 German platform strings that contain ß, 38 still have no de-CH override, across 15 topics. On 2026-10-04 it was 42 of 83.record.replace.staleRevision,.staleDialog,.approvedStaleDialog,.stateChanged,.intentExpired)edit.imageTooLarge), tasks, websites (pagesDialog.errorKind.responseTooLarge)The open fix PR #4412 (head
e126114dd, last updated 2026-10-05) still edits the pre-splitservices/platform/messages/de-CH.yml. Its new guards (swiss-coverage.test.ts,swiss-loading.test.ts) would catch these, but its catalog changes need moving to the per-topic files. Method:topic-parity.pyfrom TALE-358's evidence (de-CH coverage of German values with ß).yannickmonney commentedon Oct 10, 2026
Addendum: one more de-CH ß gap, added at
main8f87d90c2(Review A, TALE-358, 2026-10-10 20:15 Zurich occurrence).#4694 (
84081dd668) addedautomations.blank.deployFailedwith German "…aber v1 ließ sich nicht live schalten: {error}. Schalte sie im Editor live."services/platform/messages/de-CH/automations.ymlhas no override, so de-CH users see ß when a newly created automation can't go live.Counts at
8f87d90c2(German values with ß that de-CH lacks):automationsblank.deployFailed(new),blank.triggerFailed,runs.effects.description,runs.effects.none,runs.effects.noneForNode,runs.effects.noneYetForNode,settings.loadFailedsettingsenterpriseSso.metadata.importFailed,enterpriseSso.metadata.errorTooLarge,enterpriseSso.metadata.errorFetchFailed,enterpriseSso.redirectUrlHelpuicommon.aria.resizePanelThe new
automationRunstopic (428 keys) and the 60 addedautomationIssueskeys are fully covered: their de-CH files carry overrides for every ß value.The fix is still the one this issue asks for: add the overrides, and enforce de-CH ß coverage in the i18n check so new keys can't regress.
yannickmonney commentedon Oct 11, 2026
Addendum: one more de-CH ß gap at
main8d09856be(Review A, TALE-358, 2026-10-11 08:15 Zurich occurrence).#4784 (
8d09856be9, the starter gallery) addedautomations.starters.loadFailedwith German "Die Vorlagen ließen sich nicht laden: {error}".de-CH/automations.ymlhas no override, soautomationsnow lacks 8 of its 12 ß values in de-CH. The other new keys from 06:00Z onwards are fine: parity is complete for 47 of 47 topics.The all-topic total of German ß values without a de-CH override is now 44. This issue's fix and an enforced de-CH ß check still cover all of them.
yannickmonney commentedon Oct 12, 2026
Post-merge recheck at
mainaec031867(Review A, TALE-358, 2026-10-12 04:15 Zurich occurrence; static reading plus main's CI logs).#4412 (
6e1d160e8) fixes it, guard included.aec031867: every German leaf containing ß needs a de-CH string without ß, array entries included. Result: 0 uncovered, down from 44 at8d09856be. That holds for all 46 platform topics,packages/ui,services/webandservices/docs. It also covers the two addenda (automations.blank.deployFailed,automations.starters.loadFailed) and the batch's new automation-test strings.packages/ui/src/i18n/tests/swiss-coverage.tsapplies the same rule.defineI18nTestsnow callsdefineSwissCoverageTests(messagesDir)for every workspace, andreadCatalogreads both the single-file and the per-topic layouts. A new German ß string without a Swiss form now fails CI instead of falling back silently.aec031867: main push Checks run 38191169541 ran these suites uncached (turbo MISS), all exit 0:swiss-coverage.test.ts4 tests andsrc/i18n/messages.test.ts(25 tests) inpackages/ui;lib/i18n/messages.test.ts(34 tests) andlib/i18n/swiss-loading.test.tsinservices/platform.Nothing is left from this issue. Review A drops its de-CH LOCALE FAIL entries.