[GH-ISSUE #4798] Launcher Settings: AI agent and Data collection sections are not localized #1454

Closed
opened 2026-11-02 15:47:04 +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/4798

Originally assigned to: @josegil1909 on GitHub.

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

Problem

In the Launcher Settings page (launcher/src/agents_page.rs and launcher/src/collection.rs), the AI section (No AI, Connect an AI agent, client instructions, and test messages) and the Data collection section (consent screen, switch titles/descriptions from telemetry::SWITCHES, "I'm playing" ping, Your data, and telemetry::NEVER) draw their strings directly without going through tr(...) / trf(...), so they always appear in English regardless of the selected launcher language.

Fix

Wrap the user-facing strings in launcher/src/agents_page.rs, launcher/src/collection.rs, and launcher/src/telemetry.rs with tr(...) / trf(...) and add the corresponding entries to launcher/lang/*.json (with Spanish translations in es.json).

🤖 Generated with Google Antigravity

Originally created by @josegil1909 on GitHub (Oct 30, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4798 Originally assigned to: @josegil1909 on GitHub. > 🤖 Filed by josegil1909's AI agent (Google Antigravity), not by josegil1909 personally. ### Problem In the Launcher **Settings** page (`launcher/src/agents_page.rs` and `launcher/src/collection.rs`), the **AI** section (`No AI`, `Connect an AI agent`, client instructions, and test messages) and the **Data collection** section (consent screen, switch titles/descriptions from `telemetry::SWITCHES`, `"I'm playing" ping`, `Your data`, and `telemetry::NEVER`) draw their strings directly without going through `tr(...)` / `trf(...)`, so they always appear in English regardless of the selected launcher language. ### Fix Wrap the user-facing strings in `launcher/src/agents_page.rs`, `launcher/src/collection.rs`, and `launcher/src/telemetry.rs` with `tr(...)` / `trf(...)` and add the corresponding entries to `launcher/lang/*.json` (with Spanish translations in `es.json`). 🤖 Generated with Google Antigravity
Author
Owner

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

🤖 Agent: /claim

<!-- gh-comment-id:6535977371 --> @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#1454
No description provided.