Skip to content

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

Open
maximvalerevich wants to merge 1 commit intoTHU-MAIC:mainfrom
maximvalerevich:feature/add-russian-language
Open

feat: add Russian language (ru-RU) support for interface and AI agents#261
maximvalerevich wants to merge 1 commit intoTHU-MAIC:mainfrom
maximvalerevich:feature/add-russian-language

Conversation

@maximvalerevich
Copy link

@maximvalerevich maximvalerevich commented Mar 24, 2026

  • Add ru-RU Locale type and update i18n core (types.ts, index.ts, use-i18n.tsx)
  • Add Russian translations for all 5 modules (common, chat, generation, stage, settings)
  • Expand language union types across generation pipeline (generation.ts, classroom-generation.ts, scene-generator.ts)
  • Update AI prompts: prompt-builder.ts maps ru-RU to Russian, add PBL Russian system prompt
  • Update UI: 3-language cycle in generation toolbar, add Русский option in page.tsx language picker
  • Update API route scene-content/route.ts language cast

Summary

Related Issues

Changes

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

- Add ru-RU Locale type and update i18n core (types.ts, index.ts, use-i18n.tsx)
- Add Russian translations for all 5 modules (common, chat, generation, stage, settings)
- Expand language union types across generation pipeline (generation.ts, classroom-generation.ts, scene-generator.ts)
- Update AI prompts: prompt-builder.ts maps ru-RU to Russian, add PBL Russian system prompt
- Update UI: 3-language cycle in generation toolbar, add Русский option in page.tsx language picker
- Update API route scene-content/route.ts language cast
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.

1 participant