feat(i18n): add Russian locale (52% translated) - #380
Merged
Conversation
Scaffolded via `bun run i18n:new ru`; 476/922 keys translated: toolbar, formattingBar, menus, dialogs (find/replace, hyperlink, insertTable, splitCell, insertImage, insertSymbol, imageProperties, imagePosition, equation), context menu, comments, tracked changes, header/footer, ruler, print, errors, share dialog, document outline. Untranslated (null -> English fallback): AI/chat/voice typing, pageSetup, tableProperties, keyboardShortcuts, wordCount and a few smaller sections. Per docs/i18n.md conventions: typography terms (Sans Serif / Serif / Monospace) intentionally left null; ICU placeholders and keyboard shortcuts preserved; Russian CLDR plural branches (one/few/many/other) used where the source string pluralizes; _lang: ru drives Intl.PluralRules. Validated with `bun run i18n:validate` — all 922 keys in sync.
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
Adds
packages/react/i18n/ru.json— a Russian (ru) locale, scaffolded withbun run i18n:new ruand translated perdocs/i18n.mdconventions.Coverage: 476/922 keys (52%)
Translated: toolbar (all seven menus), formatting bar, alignment/lists/styles, color picker labels,
common, dialogs (find & replace, hyperlink, insert table, split cell, insert image, insert symbol, image properties/position, equation), context menu, title bar, status bar, comments, tracked changes, suggesting banner, table tools, image transform/wrap, editor modes, hyperlink popup, header/footer, ruler, print, unsaved-changes, errors, share dialog, presence, footnotes, document outline.Still
null(English fallback): AI/chat/voice-typing sections,pageSetup,tableProperties,keyboardShortcuts,wordCount, and a few smaller feature areas.Convention compliance
null, per the guide{label},{current}, …) and keyboard shortcuts preserved verbatimone/few/many/other) where the source string pluralizes (e.g.comments.replyCount);_lang: rudrivesIntl.PluralRulesbun run i18n:validatepasses — all 922 keys in sync, no extrasHow to verify
Remaining sections can be filled in follow-ups —
nullkeys fall back to English, so this is safe to merge partial.