Localization: add first-launch language selection and persistent locale settings
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 30/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Tranquilla
- Ambito
- frontend, localization, testing
Direzione di ricerca
Start by locating the application's first-launch/bootstrap flow, the Settings screen, locale persistence code, and the existing test and visual-check entry points. Implement detection, explicit confirmation, English fallback, and changeable locale settings across the relevant UI and persistence paths, including migration for existing installs. Done means all acceptance criteria pass, including tests for first launch, persistence, invalid locales, fallback, migration, input, and representative layouts in all six languages.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
Add a first-launch language selection flow and persist the player's chosen locale. The selected language must remain changeable from Settings.
The goal is to make HitTheKit understandable from the first screen and establish a reliable localization foundation for international players.
Initial languages
- English (
en) - Italiano (
it) - Deutsch (
de) - Español (
es) - Français (
fr) - Română (
ro)
Language names should be displayed in their native form. Do not use flags as language selectors.
First-launch experience
On the first launch:
- detect the operating-system locale when it matches a supported language;
- preselect that language, otherwise preselect English;
- show a clear language-selection screen before entering the main experience;
- require an explicit confirmation from the player;
- persist only the stable locale code;
- continue to the normal application flow.
On later launches, skip this screen and use the saved locale.
Existing installations without a saved locale should be treated as a first launch for this preference, without resetting unrelated settings or progress.
Settings behavior
Add a language selector under Settings → Language.
Changing the language should:
- update the visible interface immediately when technically safe;
- otherwise show a clear message that the change applies after reopening the current screen;
- preserve all unrelated settings and progress;
- remain effective after restarting the application.
The selector must be usable with mouse, keyboard, and the application's supported drum-navigation input.
Localization contract
- English is the explicit fallback locale.
- Missing translations must fall back to the English source string rather than displaying an empty label or localization key.
- UI components must not contain new player-facing hardcoded strings outside the localization system.
- Unknown or invalid saved locale codes must fail safely to English.
- Text rendering must support accents and Romanian diacritics correctly.
- Layouts must tolerate text expansion, with particular attention to German labels.
Acceptance criteria
- A clean installation opens the language-selection screen before the main menu.
- The supported system locale is preselected; unsupported locales preselect English.
- The user can choose and confirm any of the six initial locales.
- The confirmed locale is persisted and restored on the next launch.
- The language can be changed later from Settings.
- The interface never displays an empty string or raw localization key when a translation is missing.
- An invalid persisted locale falls back deterministically to English.
- Existing progress and settings are not reset by the migration.
- Selection and confirmation work with mouse and keyboard; drum-navigation behavior is covered where available.
- Automated tests cover first launch, system-locale preselection, persistence, relaunch, settings changes, migration, and fallback behavior.
- Representative screens are visually checked in all six languages at the supported desktop resolutions.
Translation quality boundary
This issue establishes the complete locale-selection and persistence behavior. It does not authorize unreviewed machine-generated translations to be treated as final copy.
Each language may be completed or proofread in follow-up contributions. Incomplete translations must remain visible through the English fallback until reviewed.
Out of scope
- automatic translation services;
- account or cloud synchronization;
- changing gameplay timing or scoring;
- redesigning unrelated screens;
- using country flags to represent languages.
- Lingua principale
- C#
- Stelle
- 0
- Fork
- 0
- Merge medio
- 16h 9m
- PR unite (30g)
- 7
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Codewriter90x/HitTheKit
-
hardware help wanted
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
Codewriter90x/HitTheKit#14 ·
-
documentation enhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 72/100
Codewriter90x/HitTheKit#54 ·
-
Platforms: electronic-drum MIDI input on Windows (and Linux)Forse già presa Una pull request collegata a questa issue è aperta o già unita. Apertaenhancement hardware help wanted
Difficoltà 4/5 3-5 giorni Idoneità per principianti 40/100
Codewriter90x/HitTheKit#53 ·
-
enhancement hardware
Difficoltà 4/5 3-5 giorni Idoneità per principianti 58/100
Codewriter90x/HitTheKit#52 ·
-
enhancement help wanted
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
Codewriter90x/HitTheKit#43 ·
Tutte le issue di Codewriter90x/HitTheKit
Issue simili
-
type:task ux
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
elsa-workflows/elsa-foundation#5253 ·
I maintainer di solito rispondono entro 1 giorno