-------> Russian | English | Spanish | Chinese | <-------
Unofficial Russian (ru-RU) localization for ZCode Desktop, a GUI client for an AI coding agent. The official app ships with English and Chinese only; this project adds a full Russian UI: settings, menus, dialogs, tray, About window (~4,900 strings).
Works with any version of the app: the installer extracts app.asar,
locates the needed files by code signatures, and applies patches. Untranslated
strings from newer versions simply show in English — nothing breaks.
- Fully quit ZCode (including the tray icon).
- Download the archive from the Releases page (file
zcode-ru-localization-vX.X.X.zip), unpack it, and runРусификаторZCode.exe. - Pick your ZCode folder → click "Install Russian language".
- Start ZCode — the UI is now in Russian.
A GUI-free alternative is PowerShell:
powershell -ExecutionPolicy Bypass -File install-ru.ps1 [-InstallDir "C:\path\to\ZCode"]Requirements: Node.js in PATH.
Click "Rollback" in the program, or manually: delete resources\app and
rename resources\app.asar.orig back to resources\app.asar.
An app update restores English. Just run the installer again — it re-applies the patch to the new version. Strings that are not yet translated show in English.
- Electron loads a
resources/appdirectory instead ofapp.asarwhen it exists. The installer does not repack the archive; it places the patched folder next to it (the original is kept asapp.asar.orig). patch.mjslocates the message catalog by its signatureg={"zh-CN":…,"en-US":…}(file names change between versions), injects the Russian catalog, addsru-RUto validation schemas, language pickers, and the tray/About catalogs.- Before installing, the patcher syntax-checks the patched files; on any error the installation is aborted and the app remains untouched.
All strings live in ru.json (key → text). Found an untranslated
string? Add the pair and rerun the installer. Never alter placeholder tokens
({version}, {count}).
The exe compiles with the .NET Framework compiler that ships with Windows —
nothing to install. Run Build.bat or:
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe -nologo -target:winexe -out:"РусификаторZCode.exe" InstallRu.cs -r:System.Windows.Forms.dll -r:System.Drawing.dllThe exe expects patch.mjs, ru.json, and node_modules
(npm install @electron/asar) next to it.
Unofficial project, not affiliated with the ZCode developers. Only localization files on your machine are patched. The author is not liable for any issues — you can always roll back (see above).