[GH-ISSUE #4829] Launcher: Instances modal, Export, Launch, Shortcut, and Home tabs are not localized #1463

Closed
opened 2026-11-02 15:47:08 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @josegil1909 on GitHub (Oct 31, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4829

🤖 Filed by josegil1909's AI agent (Google Antigravity), not by josegil1909 personally.

Problem

On the Home page and in the Instances dialogs (New instance / Edit instance, Export…, Launch…, Shortcut), as well as the Home tabs (Worlds, Multiplayer, Packs, Data packs, Screenshots, Console) and Developer options, many UI strings are either not wrapped in tr()/trf() or are missing from launcher/lang/*.json:

  • New / Edit instance dialog (launcher/src/instances_page.rs, launcher/src/new_instance.rs): "Edit instance", "New instance", "Name", "Start from", "Empty", "A copy of the selected one", "{from}'s worlds, options and packs are copied; {from} stays as it is.", "Its own worlds and packs; your options and player name come along.", "Group", "No group", "Icon", "NONE", "Create", "Copying…", "Search versions", "Snapshots", "Old", "Minecraft version", "Loader", "newest stable version", etc.
  • Export panel (launcher/src/export_page.rs): "Export to share", "Modrinth's modpack format: ...", "The game folder's own layout, zipped.", "Worlds", "No worlds to put in.", "Settings, packs and Horizon mods go in...", "Export", "Exporting…".
  • Launch panel (launcher/src/launch_page.rs): "When it starts", "Before the game", "Run the game through", "Environment variables", "After the game", "On this computer", "Dedicated graphics card", and their descriptions/placeholders.
  • Shortcut note & Home hero (launcher/src/shortcut_page.rs, launcher/src/home.rs): "{file} is on your desktop: it plays {name}.", "{name}'s shortcut is in the trash.", "{count} playing now", "{version} available", "What's new".
  • Home sub-tabs & Developer options (worlds_page.rs, multiplayer_page.rs, packs_page.rs, datapacks_page.rs, screenshots_page.rs, console_page.rs, import_page.rs, dev_options.rs).

Proposed Fix

Wrap the remaining hardcoded UI strings in tr() / trf() across those modules and add the corresponding translation keys to launcher/lang/{de,es,fr,pl,ru,uk,zh}.json.

Originally created by @josegil1909 on GitHub (Oct 31, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4829 > 🤖 Filed by josegil1909's AI agent (Google Antigravity), not by josegil1909 personally. ### Problem On the **Home** page and in the **Instances** dialogs (`New instance` / `Edit instance`, `Export…`, `Launch…`, `Shortcut`), as well as the Home tabs (`Worlds`, `Multiplayer`, `Packs`, `Data packs`, `Screenshots`, `Console`) and `Developer options`, many UI strings are either not wrapped in `tr()`/`trf()` or are missing from `launcher/lang/*.json`: - **New / Edit instance dialog** (`launcher/src/instances_page.rs`, `launcher/src/new_instance.rs`): `"Edit instance"`, `"New instance"`, `"Name"`, `"Start from"`, `"Empty"`, `"A copy of the selected one"`, `"{from}'s worlds, options and packs are copied; {from} stays as it is."`, `"Its own worlds and packs; your options and player name come along."`, `"Group"`, `"No group"`, `"Icon"`, `"NONE"`, `"Create"`, `"Copying…"`, `"Search versions"`, `"Snapshots"`, `"Old"`, `"Minecraft version"`, `"Loader"`, `"newest stable version"`, etc. - **Export panel** (`launcher/src/export_page.rs`): `"Export to share"`, `"Modrinth's modpack format: ..."`, `"The game folder's own layout, zipped."`, `"Worlds"`, `"No worlds to put in."`, `"Settings, packs and Horizon mods go in..."`, `"Export"`, `"Exporting…"`. - **Launch panel** (`launcher/src/launch_page.rs`): `"When it starts"`, `"Before the game"`, `"Run the game through"`, `"Environment variables"`, `"After the game"`, `"On this computer"`, `"Dedicated graphics card"`, and their descriptions/placeholders. - **Shortcut note & Home hero** (`launcher/src/shortcut_page.rs`, `launcher/src/home.rs`): `"{file} is on your desktop: it plays {name}."`, `"{name}'s shortcut is in the trash."`, `"{count} playing now"`, `"{version} available"`, `"What's new"`. - **Home sub-tabs & Developer options** (`worlds_page.rs`, `multiplayer_page.rs`, `packs_page.rs`, `datapacks_page.rs`, `screenshots_page.rs`, `console_page.rs`, `import_page.rs`, `dev_options.rs`). ### Proposed Fix Wrap the remaining hardcoded UI strings in `tr()` / `trf()` across those modules and add the corresponding translation keys to `launcher/lang/{de,es,fr,pl,ru,uk,zh}.json`.
Author
Owner

@josegil1909 commented on GitHub (Oct 31, 2026):

🤖 Agent: /claim

<!-- gh-comment-id:6536413286 --> @josegil1909 commented on GitHub (Oct 31, 2026): 🤖 Agent: /claim
Author
Owner

@github-actions[bot] commented on GitHub (Oct 31, 2026):

🤖 Claims: refused, You hold 5 open issues: finish or /unclaim one first. (asked by @josegil1909)

<!-- gh-comment-id:6536415355 --> @github-actions[bot] commented on GitHub (Oct 31, 2026): 🤖 Claims: refused, You hold 5 open issues: finish or `/unclaim` one first. (asked by @josegil1909)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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
horizon-rust/horizon#1463
No description provided.