Skip to content

Enable Russian localization support#691

Open
Domanffe wants to merge 2 commits into
webadderallorg:mainfrom
Domanffe:main
Open

Enable Russian localization support#691
Domanffe wants to merge 2 commits into
webadderallorg:mainfrom
Domanffe:main

Conversation

@Domanffe

@Domanffe Domanffe commented Jun 21, 2026

Copy link
Copy Markdown

Summary

  • Enabled Russian (ru) in the app language list
  • Registered Russian locale bundles in the i18n context
  • Added Russian labels to the language selectors
  • Added missing Russian cursorClickEffects translations
  • Updated the Russian Google Fonts dialog title and heading

Verification

  • Ran a targeted locale structure check to confirm the Russian locale matches the English locale keys

Notes

  • npm run i18n:check still reports failures from unrelated missing settings keys in other locales
  • Typecheck and lint were not run because dependencies are not installed in my local environment

Summary by CodeRabbit

  • New Features
    • Added Russian (ru) localization support across the app, including dialogs, editor areas, extensions, launch flow, settings, shortcuts, and timeline.
    • Russian is now available in the language dropdown with a localized label.
    • Added Russian translations for advanced cursor click effects, including effect labels and modes (none, ripple, spotlight, echo).
  • Bug Fixes
    • Updated Russian text for the “Add font from Google Fonts” dialog title/heading.

@coderabbitai

coderabbitai Bot commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

Adds Russian (ru) locale support by registering it in SUPPORTED_LOCALES, importing all Russian JSON namespace bundles into I18nContext.tsx's messages map, adding "Русский" to the language label maps in MorePopover.tsx and SettingsPanel.tsx, fixing the addFont dialog strings in dialogs.json, and inserting a cursorClickEffects translation block in settings.json.

Changes

Russian locale integration

Layer / File(s) Summary
Locale registration and UI label wiring
src/i18n/config.ts, src/contexts/I18nContext.tsx, src/components/launch/popovers/MorePopover.tsx, src/components/video-editor/SettingsPanel.tsx
Adds ru to SUPPORTED_LOCALES, imports and registers all Russian namespace bundles in the messages map, and adds "Русский" to the language label maps in both UI dropdowns.
Russian translation file updates
src/i18n/locales/ru/dialogs.json, src/i18n/locales/ru/settings.json
Corrects the addFont dialog title and heading to "Добавить шрифт из Google Fonts", and inserts a new cursorClickEffects block under effects with mode labels (none, ripple, spotlight, echo) and property labels (color, size, opacity, duration).

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

  • webadderallorg/Recordly#175: Also extends I18nContext.tsx to import and register new locale namespace bundles in the messages mapping.
  • webadderallorg/Recordly#446: Directly touches the same Russian i18n resource files (ru/dialogs.json and ru/settings.json).
  • webadderallorg/Recordly#488: Makes the same pattern of changes—adding a new locale entry to MorePopover.tsx, SettingsPanel.tsx, and I18nContext.tsx.

Poem

🐇 A new tongue hops in from the East,
"Русский" now joins the feast!
The dropdown glows, the labels cheer,
cursorClickEffects appear.
With JSON keys all tucked in tight,
The bunny coded through the night! 🌙

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The PR title directly and concisely describes the main change: enabling Russian localization support across the application.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description check ✅ Passed The PR description comprehensively covers the changes with clear sections for Summary, Verification, and Notes, aligning well with the template's requirements.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@Domanffe Domanffe changed the title Enable Russian localization and update Enable Russian localization support Jun 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant