Skip to content

i18n: localize the editor toolbar in all 23 locales#673

Merged
rathlinus merged 1 commit into
bulwarkmail:mainfrom
dealerweb:i18n/editor-toolbar
Jul 24, 2026
Merged

i18n: localize the editor toolbar in all 23 locales#673
rathlinus merged 1 commit into
bulwarkmail:mainfrom
dealerweb:i18n/editor-toolbar

Conversation

@dealerweb

Copy link
Copy Markdown
Contributor

Summary

The rich-text editor toolbar was the last hardcoded-English surface in the composer: every tooltip, the table menu and the size picker showed English regardless of the UI language, while every other menu in the app is localized.

Changes

  • New email_composer.toolbar namespace with 30 keys: 21 tooltip titles (Bold ... Redo, including the recently added text color picker), the eight table-menu entries, "Remove color" and the size picker's "Pick size".
  • Translated into all 23 locales using each platform's established editor terminology (Word/Docs conventions - de "Formatierung löschen", fr "Effacer la mise en forme", ar "مسح التنسيق", ja "書式をクリア", ...).
  • The link prompt stays "URL" - the same term in every language.
  • No layout risk: tooltips have no width constraints and the dropdowns size to their content.

Type of Change

  • Bug fix (i18n gap)
  • New feature
  • Breaking change
  • Documentation

Checklist

  • Translation parity test passes (46/46, all 23 locales)
  • tsc --noEmit, eslint, next build all pass
  • QA sweep: no empty values; the only en-identical entries are legitimate loanwords ("Link" in de/nl/it/pl/pt/ro/da)

Notes for Reviewers

  • Code changes are label wiring only (useTranslations), no behavior change.

The rich-text editor was the last hardcoded-English surface in the
composer: 21 tooltip titles, the eight table-menu entries, the "Remove
color" entry and the table size picker's "Pick size" label were plain
strings while every other menu in the app is localized.

All of them now come from a new email_composer.toolbar namespace,
translated into all 23 locales using each platform's established
editor terminology (Word/Docs conventions - de "Formatierung löschen",
ar "مسح التنسيق", ja "書式をクリア", ...). The link prompt stays "URL",
which is the same term in every language.

Tooltips and self-sizing dropdowns have no width constraints, so longer
translations are safe everywhere.
@dealerweb
dealerweb force-pushed the i18n/editor-toolbar branch from 4f9f5f6 to 21ea500 Compare July 23, 2026 16:01
@rathlinus
rathlinus merged commit 17b69e6 into bulwarkmail:main Jul 24, 2026
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