i18n: localize the editor toolbar in all 23 locales#673
Merged
Conversation
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
force-pushed
the
i18n/editor-toolbar
branch
from
July 23, 2026 16:01
4f9f5f6 to
21ea500
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
email_composer.toolbarnamespace 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".Type of Change
Checklist
tsc --noEmit,eslint,next buildall passNotes for Reviewers
useTranslations), no behavior change.