Skip to content

fix(web): align localized product names and enforce terminology - #4472

Merged
yannickmonney merged 1 commit into
mainfrom
fix/web-localized-product-terminology
Oct 7, 2026
Merged

yannickmonney merged 1 commit into
mainfrom
fix/web-localized-product-terminology

Conversation

@yannickmonney

Copy link
Copy Markdown
Contributor

The German and French website labels for Knowledge and Automations differed from the app sidebar. Use Wissen/Connaissances and Automatisierungen/Automatisations across navigation, demos and platform pages; correct German Automation, Vendor and Product terms, including FAQ arrays and compounds. French knowledge headings now use plural grammar. English and the sparse de-CH overlay remain unchanged; the overlay inherits the corrected German labels.

Ratchet terminology-ui-label to enforce in the existing web-only test configuration. Reintroducing a glossary mismatch now fails the suite.

Validation: one-worker web i18n test with existing dependencies and /opt/node/bin/node; the enforced baseline failed with all 34 terminology findings, and the corrected suite passed all 24 tests with zero terminology findings. Both runs passed the two-reading resource guard. git diff --check passed, and the commit ran normal formatting, conflict-marker, SAST and commitlint hooks. Existing advisory i18n findings remain outside this scope. Browser layout checks, builds and stacks were not run under the task restrictions.

Closes #4443

@yannickmonney

Copy link
Copy Markdown
Contributor Author

ACCEPT — independent review of f2e51a6521148595c595abd6240db19d512d0b36 (head re-read before publication). No blocking findings.

Topic Disposition and evidence
LOCALE PASS. Read all changed DE/FR strings, including FAQ arrays, prose, compounds and demo names. Wissen/Connaissances and Automatisierungen/Automatisations match services/platform/messages/{de,fr}/navigation.yml and glossary feature entries. Automatisierung is feminine; German case/articles and the Automatisierungs-Agent-Knoten, Lieferanten-Agent, Lieferantenaufnahme, Wissenseinträge and Produkt-Agent forms are consistent. French plural constructions (Que sont…, Que contiennent…, les connaissances) and feminine plural Automatisations intégrées agree naturally. The German module enumeration also matches Agenten/Richtlinien; French matches Agents/Gouvernance. No remaining English Knowledge/Automation(s)/Vendor/Product message value in these catalogs that this rule should reject; identifiers and approved technical loanwords retain their intended spelling.
LOCALE / de-CH PASS by source. The sparse overlay does not override any changed leaf or FAQ/capability array. Runtime initServiceI18n → initI18n falls back de-CH → de → en. Changed German wording introduces no ß, and the overlay is unchanged, so these corrections inherit without a stale override.
UX-CLARITY / UI-RESPONSIVE PASS by source assessment; browser check NOT_RUN. Header labels are rows in the 320px, one-column Platform dropdown (site-header.tsx, nav-menu.tsx), not added to the top-level header width. Rows use min-w-0 and ordinary wrapping; mobile navigation is a full-width vertical list. The shared footer uses min-w-0 columns and break-words hyphens-auto. DemoShell uses a flexible min-w-0 main pane and a truncating title; its rail is icons only. DemoToolbar hides the add text on phones and lets search shrink; agent names use wrap-anywhere. These sites accommodate the longer terms without introducing a fixed-width label requirement. Actual clipping/wrapping across viewports was not visually observed.
CODE / CICD PASS. The only code change flips the web call's existing mode from report to enforce. defineI18nTests scans services/web/messages; package catalogs support resolved usage checks and do not expand this terminology scanner to unrelated workspaces. Shared rule, categories, masking and exceptions are unchanged. assertFindings enforces expect(findings).toEqual([]). This follows the existing per-service ratchet pattern; platform configuration stays independent. All seven CI-ready aggregators are SUCCESS. Native Unit-workspaces evidence shows @tale/web#test hash 604000d8b84881bf, cache MISS, exit 0, 278 tests passing, including all 24 lib/i18n/messages.test.ts tests. CI merge 275ff7a66b033f60f8b3c98d92c457eea0d670aa and this PR head have the identical tree 8b9ab9d5373a4e16be96a80ca605fa9075c5032a, so this is proof for the reviewed source. Local targeted test NOT_RUN; the standing checkout differs and no branch/worktree changes were needed. The author's before-change 34-finding run was not independently repeated.
SEO / DOCS PASS. Platform registry paths, docs paths, message keys and translated link path fields remain unchanged. Feature-page breadcrumbs use a stable page.path; translated titles change their displayed name only. Feature FAQ accordion IDs are faq-${index}, not question-derived slugs. Demo strings are display/illustration content. No changed string derives a published URL or anchor; no redirect is needed.
SECURITY NOT_APPLICABLE: catalog wording and a test-mode ratchet; no permissions, credential or runtime security changes.
DATA NOT_APPLICABLE: no schema, persistence or migration changes.
PERFORMANCE NOT_APPLICABLE: no runtime algorithm, network or asset changes; text-fit considerations are covered above.

Validation references: Unit workspaces, native execution artifact 11461132153. Exact-head git diff --check also passed. Existing advisory locale findings remain advisory and are not evidence of linguistic correctness.

Review only; no source or branch updates and no merge. Fleet can route the accepted head to #2.

@yannickmonney

Copy link
Copy Markdown
Contributor Author

Merge-lane coverage dispositions at f2e51a6521148595c595abd6240db19d512d0b36. From agent #2 (TALE-359 run 9d246852), the merger.

Topic Disposition Basis
LOCALE PASS C3 read every changed de/fr string, including FAQ arrays, compounds and demo names. They match the platform navigation catalogs and the glossary. The de-CH overlay overrides no changed leaf, introduces no ß and inherits the corrected German.
UX-CLARITY PASS (source) The website now uses the app's own feature names (Wissen/Connaissances, Automatisierungen/Automatisations), so visitors meet the same names after sign-in (C3).
UI-RESPONSIVE PASS (source); rendered NOT_RUN The longer labels sit in the 320px one-column dropdown, wrapping footer columns and a truncating demo title (C3). Actual wrapping across viewports was not observed.
UX-SIMPLICITY NOT_APPLICABLE Wording only; no step, page or flow change.
A11Y NOT_APPLICABLE (structure unchanged) No markup, role, focus or colour change. Accessible names follow the corrected visible text, which LOCALE covers.
REL-MANUAL PASS (new-passes executed); old-fails author-reported @tale/web#test ran fresh (turbo MISS, exit 0): 278 tests, including all 24 messages.test.ts tests (Unit workspaces job 112634143339, artifact 11461132153), on the identical tree 8b9ab9d5. The enforce-mode baseline failing with 34 findings on the old catalogs is the author's run and was not independently repeated.
DOCS PASS C3: no published path, message key, anchor or redirect derives from a changed string.
CODE PASS C3: the only code change flips the existing web-only terminology check from report to enforce; the shared rule, categories and exceptions are unchanged.
SECURITY, DATA, PERFORMANCE, RESOURCES NOT_APPLICABLE Catalog text and a test-mode ratchet (C3).
CICD PASS; tested base STALE 67 checks: 36 success, 31 skipped, 0 failing; all 7 CI-ready aggregators are SUCCESS. Six stack/platform lanes are not applicable to a website-only change (per-PR allowlist with a recorded reason); the website's own Web container test, Playwright (web) and Storybook ran. CI tested base a89498df; main's five commits since then touch no services/web file.
DEPLOYMENT, RECOVERY, PROVIDERS, OBSERVABILITY, WORKFLOW NOT_APPLICABLE Catalog text in the existing web image; no config or contract change.

Merge-gate dry run at 07:57:21Z: open, CLEAN, head matches; no required contexts. checks total=67 not-completed=0 failing=0 [skipped=31 success=36] neutral=[] statuses=[pending total=0]. Every skip is on the by-design allowlist skip-allow-4472.txt; no check is pending or failing. Merging next with --squash --match-head-commit f2e51a6521148595c595abd6240db19d512d0b36.

@yannickmonney
yannickmonney merged commit 4873b3b into main Oct 7, 2026
@yannickmonney
yannickmonney deleted the fix/web-localized-product-terminology branch October 7, 2026 07:57
yannickmonney added a commit that referenced this pull request Oct 7, 2026
Cover all ten merges after a89498d through e011cc8: #4464, #4422,
#4468, #4470, #4457, #4465, #4472, #4469 and #4474, plus test-only
#4473. Apply C3's cumulative upgrade path from v0.5.74 and pin its
v0.5.75 notes link to the v0.5.75 tag. Drop the #4438, #4466 and #4440
known issues, now fixed, and list the Environment docs drift (#4454).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

web(de, fr): the website names Knowledge and Automations in English while the app says Wissen/Connaissances and Automatisierungen/Automatisations

1 participant