Skip to content

feat: Russian translation of the frontend - #63

Closed
dann1k wants to merge 1 commit into
Swordpdf:mainfrom
dann1k:i18n-russian
Closed

dann1k wants to merge 1 commit into
Swordpdf:mainfrom
dann1k:i18n-russian

Conversation

@dann1k

@dann1k dann1k commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

Description of Changes

Adds a Russian translation of the frontend, the same way as the other languages in fe_i18n.cpp: the shelf, the options sheet's hints and tabs, the notifications, the RetroAchievements account panel and browser, and the region names. It is picked automatically when the PS5's system language is Russian (language id 8).

File Change
ps5/frontend/fe_i18n.cpp kRussian (all 95 entries) and kRegionsRussian; language id 8 maps to ru
ps5/frontend/fe_text.cpp The SDF atlas also bakes Cyrillic (U+0400–U+045F). The embedded Roboto already has these glyphs, so no new font. The atlas goes to 655 of its 1024 rows
ps5/frontend/fe_i18n.h Comments updated (Cyrillic is no longer missing; ru in the codes)
ps5/frontend/host/achievement_web_test.cpp Language 8 added to the format/key check

Notes on the translation:

  • Every entry keeps the English %d / %s in the same order (SameFormat), so testers can still fix words in /data/PCSX2/lang/ru.txt.
  • Decimal comma and Russian units: 4,2 ГБ, 700 МБ.
  • Counts use wording that reads right for any number (Russian has three plural forms), as in the RPS5S3 Russian sheet.
  • The no-BIOS banner was shortened so the folder path still fits on one line (checked on the shelf, see below).

Screenshots

Rendered with fe_host (--lang 8), 1920×1080, scaled down.

Shelf Options sheet
Shelf Options sheet
Controls tab Achievements tab
Controls tab Achievements tab
RetroAchievements sign-in (L1 + Square) No PS2 BIOS banner
RetroAchievements sign-in No PS2 BIOS banner

The option names, values and hints in the sheet (Resolution, On/Off, the description under the list…) stay in English: they come from fe_options.cpp / index.html and are not translated in any language yet. Happy to translate them too if you add them to the i18n tables or send a sheet like the RPS5S3 one.

Rationale behind Changes

Lets Russian-speaking players use the app in their language, the same way as #62 does for Polish.

Suggested Testing Steps

  • ps5/frontend/host/test-achievement-web.sh passes (run on macOS, with -dead_strip instead of --gc-sections).
  • fe_host --lang 8 (run on macOS through MoltenVK, with a local copy of fe_host.cpp adjusted for the portability extensions; not part of this PR): the screenshots above.
  • A small host check with the real fonts: every character of every Russian string is in the atlas; Size() gives 4,2 ГБ; Region("Europe, Russia") gives Европа, Россия.
  • On a console: set the PS5's system language to Русский and start PS5SX2. Not tested on hardware yet; the PS5 notifications (notify.*) are not covered by the screenshots.

Did you use AI to help find, test, or implement this issue or feature?

Yes. An AI assistant drafted the code changes and the first version of the translation, and ran the host checks and screenshots. A native Russian speaker reviewed the result on the screenshots, following the wording of the RPS5S3 Russian menu translation.

The shelf, the options sheet, the notifications and the RetroAchievements panel in Russian when the PS5's system language is Russian (id 8), with the region names. Roboto already has Cyrillic: the atlas now bakes U+0400..U+045F (655 of its 1024 rows used).
@Swordpdf

Copy link
Copy Markdown
Owner

Thank you! Your Russian translation is in the next release (2.41). It went in by hand because the string list has grown since this PR: your strings were matched to the current list by name, and the Cyrillic letters were added to the shelf's font (shared with the Ukrainian translation). Strings added after your PR show in English for now. Closing, since the code went in separately.

@Swordpdf Swordpdf closed this Nov 15, 2026
Insektaure pushed a commit to Insektaure/PS5SX2 that referenced this pull request Nov 15, 2026
…sted)

Their pull requests were ported by hand into the 2.50 commits, so those commits do not carry their names. This adds a
Contributors section that names each of them and their pull request, and the co-author lines below put their names on
this commit: the Polish (Swordpdf#62), Russian (Swordpdf#63) and Ukrainian (Swordpdf#80) translations, the PS2 HDD image settings (Swordpdf#60), Buzz!
buzzer support (Swordpdf#91) and achievements on multi-extent discs (Swordpdf#98). Credits also name the Eden emulator project and
lsfg-vk, whose port of Lossless Scaling's frame generation PS5SX2's is based on.

Co-authored-by: heni0xyz <[email protected]>
Co-authored-by: dann1k <[email protected]>
Co-authored-by: Gtes <[email protected]>
Co-authored-by: phoenixbearded <[email protected]>
Co-authored-by: Shadow1363 <[email protected]>
Co-authored-by: bobrass <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
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