Skip to content

feat: add Russian language (ru-RU) support for interface and AI agents#261

Merged
wyuc merged 3 commits intoTHU-MAIC:mainfrom
maximvalerevich:feature/add-russian-language
Apr 7, 2026
Merged

feat: add Russian language (ru-RU) support for interface and AI agents#261
wyuc merged 3 commits intoTHU-MAIC:mainfrom
maximvalerevich:feature/add-russian-language

Conversation

@maximvalerevich
Copy link
Copy Markdown
Contributor

@maximvalerevich maximvalerevich commented Mar 24, 2026

Summary

Add complete Japanese (ru_RU) localization for OpenMAIC.

Changes

  • [NEW] lib/i18n/locales/ru-RU.json — Full Russian translation of all 785 keys, + add 1 key in 691:"lang_ru": "Русский"
  • [MODIFY] lib/i18n/locales.ts — Register ru-RU in supportedLocales

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Refactoring (no functional changes)
  • CI/CD or build changes

Verification

Steps to reproduce / test

What you personally verified

Evidence

  • CI passes (pnpm check && pnpm lint && npx tsc --noEmit)
  • Manually tested locally
  • Screenshots / recordings attached (if UI changes)

Checklist

  • My code follows the project's coding style
  • I have performed a self-review of my code
  • I have added/updated documentation as needed
  • My changes do not introduce new warnings

@maximvalerevich
Copy link
Copy Markdown
Contributor Author

I just wanted to share an update: not only is the user interface translated into Russian, but the course generation itself is also fully localized and available in Russian.
You can see an example here: https://open-maic-nu.vercel.app/

@wyuc
Copy link
Copy Markdown
Contributor

wyuc commented Apr 6, 2026

Hey, thanks for putting this together!

Since this PR was opened, we've refactored the i18n system. Adding a new locale now only needs two changes:

  1. A lib/i18n/locales/<locale>.json file with all translation keys
  2. One line in lib/i18n/locales.ts to register it

See the Translation Guide and #365 (Japanese) for reference.

Could you rebase onto current main and simplify your PR to follow this pattern? The translation strings you've already done are great, it's mainly the wiring that needs updating. Happy to merge once it's aligned.

1 similar comment
@wyuc
Copy link
Copy Markdown
Contributor

wyuc commented Apr 6, 2026

Hey, thanks for putting this together!

Since this PR was opened, we've refactored the i18n system. Adding a new locale now only needs two changes:

  1. A lib/i18n/locales/<locale>.json file with all translation keys
  2. One line in lib/i18n/locales.ts to register it

See the Translation Guide and #365 (Japanese) for reference.

Could you rebase onto current main and simplify your PR to follow this pattern? The translation strings you've already done are great, it's mainly the wiring that needs updating. Happy to merge once it's aligned.

- Create lib/i18n/locales/ru-RU.json with full Russian translation (878 keys)
- Register ru-RU in lib/i18n/locales.ts (code: 'ru-RU', label: 'Русский', shortLabel: 'RU')
- No AI prompt modifications — follows new i18next-based architecture
@maximvalerevich maximvalerevich force-pushed the feature/add-russian-language branch from 8210b1e to e444c68 Compare April 6, 2026 21:02
@maximvalerevich
Copy link
Copy Markdown
Contributor Author

maximvalerevich commented Apr 6, 2026 via email

@wyuc wyuc merged commit 4a93d97 into THU-MAIC:main Apr 7, 2026
2 checks passed
ifishcool pushed a commit to ifishcool/Linksy that referenced this pull request Apr 8, 2026
THU-MAIC#261)

* refactor: update Russian locale to match new i18n system

- Create lib/i18n/locales/ru-RU.json with full Russian translation (878 keys)
- Register ru-RU in lib/i18n/locales.ts (code: 'ru-RU', label: 'Русский', shortLabel: 'RU')
- No AI prompt modifications — follows new i18next-based architecture

* feat: add Russian language localization support

* feat: implement comprehensive slide editor, AI-driven generation pipeline, and interactive classroom stage components
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