Skip to content

fix(i18n): refresh hub sidebar when the language changes - #705

Merged
Louis-CFM merged 2 commits into
Louis-CFM:mainfrom
Ohualtex:fix/hub-live-language
Oct 31, 2026
Merged

Louis-CFM merged 2 commits into
Louis-CFM:mainfrom
Ohualtex:fix/hub-live-language

Conversation

@Ohualtex

Copy link
Copy Markdown
Contributor

Changing the interface language in the Windows/Linux Coucou window updated the page but left the sidebar and dictation status in the previous language. For example, switching from English to French produced a French General page beside an English menu.

The hub's existing redraw now updates its menu labels, the Notch group heading and dictation status before redrawing the current page. Buttons, their click handlers, the logo canvas and the selected page are retained. No new translations, dependencies or backend changes.

Three regression tests exercise the real hub with the existing fake DOM/Tauri setup: live English/French/Arabic switching without replacing navigation nodes, the latest dictation state and translated key label, and the initial selected language.

Validation:

  • All 3 new regression tests pass; TypeScript and git diff --check pass.
  • Full Node suite: 401 passed, 1 failed. The existing strings.json is what the generator makes of the Mac's catalog test fails on the unchanged base: the generated table is missing 18 newly added catalog keys. Catalog, generator and saved-table files match the base and are not changed here.
  • Browser before/after checked English → French → Arabic → English, including the selected General page, sidebar status and RTL direction. Native Tauri was not run.

Related: #700 and #701 document this existing live-language limitation. This fix is independent of both localization PRs and works with the languages already in main.

@Louis-CFM
Louis-CFM merged commit 8f20641 into Louis-CFM:main Oct 31, 2026
4 checks passed
shawn-t516 pushed a commit to shawn-t516/coucou that referenced this pull request Oct 31, 2026
…nux) (Ohualtex)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
shawn-t516 pushed a commit to shawn-t516/coucou that referenced this pull request Oct 31, 2026
@Ohualtex)

- Mac 0.5.8 (build 25): approvals come back after a question (Louis-CFM#993), questions
  stay put (Louis-CFM#994), desktop Mochi stays visible (Louis-CFM#992), dropped files no longer
  overwrite each other (Louis-CFM#986), no misplaced Writing Tools button (Louis-CFM#997).
- Windows and Linux 0.5.8: Louis-CFM#984, Louis-CFM#441, Louis-CFM#975, Louis-CFM#979, Louis-CFM#976, Louis-CFM#980, Louis-CFM#704, Louis-CFM#699, Louis-CFM#981,
  Louis-CFM#989, Louis-CFM#995, Louis-CFM#977, Louis-CFM#988, Louis-CFM#705. Android Turkish (Louis-CFM#990) ships with the next
  Android release.
- CHANGELOG, README, What's new (16 and 14 languages), each crediting @Ohualtex.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
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.

2 participants