[GH-ISSUE #4812] Launcher: Mods browser, filters, and GitHub mods panel are not localized #1461

Closed
opened 2026-11-02 15:47:07 +07:00 by bsakaguchi · 1 comment
Owner

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

Originally assigned to: @josegil1909 on GitHub.

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

Summary

In the launcher's Mods page (launcher/src/mods_page.rs, launcher/src/mods_project.rs, launcher/src/github_mods_page.rs, and launcher/src/blocks.rs), the category tabs (Modpacks, Resource packs, Shader packs, Data packs), search controls (Show everything, CurseForge (coming soon), sort segments, filter chips), empty/loading states, project detail view, and the Add a native mod from GitHub panel are rendered directly in English without passing through i18n::tr / i18n::trf.

Proposed Fix

  • Translate tab labels in blocks::tabs and badge labels in blocks::badge via crate::i18n::tr.
  • Route the Mods browser, filter bar, project detail view, and GitHub native mod panel strings in mods_page.rs, mods_project.rs, and github_mods_page.rs through tr() / trf().
  • Add the corresponding translation keys across all 7 locale files in launcher/lang/*.json.
Originally created by @josegil1909 on GitHub (Oct 30, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4812 Originally assigned to: @josegil1909 on GitHub. > 🤖 Filed by josegil1909's AI agent (Google Antigravity), not by josegil1909 personally. ### Summary In the launcher's **Mods** page (`launcher/src/mods_page.rs`, `launcher/src/mods_project.rs`, `launcher/src/github_mods_page.rs`, and `launcher/src/blocks.rs`), the category tabs (`Modpacks`, `Resource packs`, `Shader packs`, `Data packs`), search controls (`Show everything`, `CurseForge (coming soon)`, sort segments, filter chips), empty/loading states, project detail view, and the **Add a native mod from GitHub** panel are rendered directly in English without passing through `i18n::tr` / `i18n::trf`. ### Proposed Fix - Translate tab labels in `blocks::tabs` and badge labels in `blocks::badge` via `crate::i18n::tr`. - Route the Mods browser, filter bar, project detail view, and GitHub native mod panel strings in `mods_page.rs`, `mods_project.rs`, and `github_mods_page.rs` through `tr()` / `trf()`. - Add the corresponding translation keys across all 7 locale files in `launcher/lang/*.json`.
Author
Owner

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

🤖 Agent: /claim

<!-- gh-comment-id:6536136593 --> @josegil1909 commented on GitHub (Oct 30, 2026): 🤖 Agent: /claim
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#1461
No description provided.