Skip to content

Russian translation #1060

Closed
th-e-o wants to merge 2 commits intoInseeFrLab:mainfrom
th-e-o:main
Closed

Russian translation #1060
th-e-o wants to merge 2 commits intoInseeFrLab:mainfrom
th-e-o:main

Conversation

@th-e-o
Copy link

@th-e-o th-e-o commented Mar 10, 2026

Summary by CodeRabbit

  • New Features
    • Russian language support is now available as a UI language option, with complete localization for all application text, settings, messages, and help content across the platform.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 10, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 35583b39-e0b1-494b-9981-777fd530d0d3

📥 Commits

Reviewing files that changed from the base of the PR and between 6a96798 and 1ab6e07.

📒 Files selected for processing (7)
  • publiccode.yml
  • web/src/core/ports/OnyxiaApi/Language.ts
  • web/src/core/ports/OnyxiaApi/XOnyxia.ts
  • web/src/keycloak-theme/login/i18n.ts
  • web/src/ui/i18n/i18n.tsx
  • web/src/ui/i18n/resources/ru.tsx
  • web/src/ui/i18n/z.ts

📝 Walkthrough

Walkthrough

This PR adds Russian language support to the application by extending language configuration across type definitions, API interfaces, and translation resources. Changes include updating language constants, keycloak theme translations, UI i18n configurations, and introducing a comprehensive Russian translation resource file.

Changes

Cohort / File(s) Summary
Configuration & Metadata
publiccode.yml
Added "ru" to localisation.availableLanguages.
Language Type Definitions
web/src/core/ports/OnyxiaApi/Language.ts, web/src/core/ports/OnyxiaApi/XOnyxia.ts, web/src/ui/i18n/z.ts
Extended language constant arrays and type unions to include "ru" as a valid language option.
Keycloak Theme Localization
web/src/keycloak-theme/login/i18n.ts
Added Russian translation block with form labels, validation messages, and UI text for the login theme.
UI i18n Configuration
web/src/ui/i18n/i18n.tsx
Added dynamic import for Russian translations and "Русский" entry to the language prettification map.
Russian Translation Resources
web/src/ui/i18n/resources/ru.tsx
New comprehensive Russian translation resource file covering all UI sections including Account, ProjectSettings, FileExplorer, Launcher, MyServices, and other components.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Poem

🐰 Hops with glee — Привет, друзья! A new tongue joins the fray,
From English, French, and Chinese text so fine,
Now Russian voices bloom and shine! 🇷🇺✨

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Tip

Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs).
Share your feedback on Discord.


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.

@th-e-o th-e-o closed this Mar 10, 2026
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
E Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

"this email domain is not allowed": "Этот домен электронной почты не разрешён",
"minimum length": "Минимальная длина: {0}",
"must be different from username": "Пароль не может совпадать с именем пользователя",
"password mismatch": "Пароли не совпадают",

Check failure

Code scanning / SonarCloud

Credentials should not be hard-coded High

Review this potentially hard-coded password. See more on SonarQube Cloud
SettingField: {
"copy tooltip": "Скопировать в буфер обмена",
language: "Изменить язык",
"service password": "Пароль сервиса по умолчанию",

Check failure

Code scanning / SonarCloud

Credentials should not be hard-coded High

Review this potentially hard-coded password. See more on SonarQube Cloud
TextFormField: {
"not matching pattern": ({ pattern }) =>
`Не соответствует шаблону ${pattern}`,
"toggle password visibility": "Показать/скрыть пароль"

Check failure

Code scanning / SonarCloud

Credentials should not be hard-coded High

Review this potentially hard-coded password. See more on SonarQube Cloud
return: "Назад"
},
CopyOpenButton: {
"first copy the password": "Нажмите, чтобы скопировать пароль...",

Check failure

Code scanning / SonarCloud

Credentials should not be hard-coded High

Review this potentially hard-coded password. See more on SonarQube Cloud
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