Extend Darner localisation and add six languages (de, fr, pl, ru-RU, tr, zh-TW) #570

Open
Bole wants to merge 2 commits from Bole/Darner:pr/expanded-localisation into Main
Contributor

Summary

Extends Darner's localisation coverage and adds full translations for six additional languages alongside English and Simplified Chinese (8 languages total):

  • English (en)
  • Deutsch (de)
  • Français (fr)
  • Polski (pl)
  • Русский (ru-RU, contributed by @DaNyNax)
  • Türkçe (tr)
  • 简体中文 (zh-CN)
  • 繁體中文 (zh-TW)

Key Changes

  • Expanded locales/en.json and locales/zh-CN.json across apps/darner (main.rs, play.rs, preload_ui.rs), darner-core, darner-gpu (font.rs, menu.rs, hwrt.rs, rig.rs), and PowerShell launcher/rig scripts (build-darner.ps1, play-rig.ps1, play-rig.Tests.ps1).
  • Added complete translations (locales/de.json, locales/fr.json, locales/pl.json, locales/ru-RU.json, locales/tr.json, locales/zh-TW.json) with 1056 / 1056 keys covered per locale.
  • Added Traditional Chinese (Microsoft JhengHei UI) font selection in darner-gpu/src/host/font.rs and keep_menu_case support in darner-core/src/i18n.rs.

Precompiled Binary

Verification

  • cargo test -p darner-core i18n: 6/6 tests passed (100% key completeness, sorted keys, unique tags/aliases, matching placeholders).
  • scripts/locale.ps1: verified ru-RU and ru catalog lookup (1056 / 1056 keys).
  • cargo build --release -p darner: succeeded.
## Summary Extends Darner's localisation coverage and adds full translations for **six additional languages** alongside English and Simplified Chinese (8 languages total): - English (`en`) - Deutsch (`de`) - Français (`fr`) - Polski (`pl`) - Русский (`ru-RU`, contributed by @DaNyNax) - Türkçe (`tr`) - 简体中文 (`zh-CN`) - 繁體中文 (`zh-TW`) ## Key Changes - Expanded `locales/en.json` and `locales/zh-CN.json` across `apps/darner` (`main.rs`, `play.rs`, `preload_ui.rs`), `darner-core`, `darner-gpu` (`font.rs`, `menu.rs`, `hwrt.rs`, `rig.rs`), and PowerShell launcher/rig scripts (`build-darner.ps1`, `play-rig.ps1`, `play-rig.Tests.ps1`). - Added complete translations (`locales/de.json`, `locales/fr.json`, `locales/pl.json`, `locales/ru-RU.json`, `locales/tr.json`, `locales/zh-TW.json`) with 1056 / 1056 keys covered per locale. - Added Traditional Chinese (`Microsoft JhengHei UI`) font selection in `darner-gpu/src/host/font.rs` and `keep_menu_case` support in `darner-core/src/i18n.rs`. ## Precompiled Binary - A precompiled Release `darner.exe` from this fork branch (`fe1715d`) is attached to the fork release: https://git.gtahub.st/Bole/Darner/releases/tag/v2026.12.05-i18n ## Verification - `cargo test -p darner-core i18n`: 6/6 tests passed (100% key completeness, sorted keys, unique tags/aliases, matching placeholders). - `scripts/locale.ps1`: verified `ru-RU` and `ru` catalog lookup (1056 / 1056 keys). - `cargo build --release -p darner`: succeeded.
First-time contributor

Hi! I’ve updated the Russian translation to match locales/en.json in this PR and attached ru-RU.json here. Could you please add it to this PR as locales/ru-RU.json? I’ve checked that the JSON is valid and that all keys and placeholders match the English file. Thank you!

Hi! I’ve updated the Russian translation to match locales/en.json in this PR and attached ru-RU.json here. Could you please add it to this PR as locales/ru-RU.json? I’ve checked that the JSON is valid and that all keys and placeholders match the English file. Thank you!
ru-RU.json
151 KiB
Adds the Russian (ru-RU) translation contributed by DaNyNax in PR #570.
Bole changed title from Extend Darner localisation and add five languages (de, fr, pl, tr, zh-TW) to Extend Darner localisation and add six languages (de, fr, pl, ru-RU, tr, zh-TW) 2026-12-06 01:45:22 +00:00
Author
Contributor

@DaNyNax Thank you for the contribution! I've added your Russian translation as locales/ru-RU.json (normalized to LF / UTF-8 without BOM and sorted keys, keeping all translations unchanged) and updated README.md in commit fe1715d.

@DaNyNax Thank you for the contribution! I've added your Russian translation as `locales/ru-RU.json` (normalized to LF / UTF-8 without BOM and sorted keys, keeping all translations unchanged) and updated `README.md` in commit `fe1715d`. - `cargo test -p darner-core i18n`: 6/6 passed (all 1056 keys and placeholders verified) - `cargo build --release -p darner`: succeeded - Updated the precompiled Release `darner.exe` at https://git.gtahub.st/Bole/Darner/releases/tag/v2026.12.05-i18n
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u 'pr/expanded-localisation:Bole-pr/expanded-localisation'
git switch 'Bole-pr/expanded-localisation'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'Main'
git merge --no-ff 'Bole-pr/expanded-localisation'
git switch 'Bole-pr/expanded-localisation'
git rebase 'Main'
git switch 'Main'
git merge --ff-only 'Bole-pr/expanded-localisation'
git switch 'Bole-pr/expanded-localisation'
git rebase 'Main'
git switch 'Main'
git merge --no-ff 'Bole-pr/expanded-localisation'
git switch 'Main'
git merge --squash 'Bole-pr/expanded-localisation'
git switch 'Main'
git merge --ff-only 'Bole-pr/expanded-localisation'
git switch 'Main'
git merge 'Bole-pr/expanded-localisation'
git push origin 'Main'
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
TrustNo1/Darner!570
No description provided.