Localization: add first-launch language selection and persistent locale settings
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 30/100
- Type d'issue
- Fonctionnalité
- Clarté
- Clairement spécifiée
- Activité
- Calme
- Domaine
- frontend, localization, testing
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- C#
- Étoiles
- 0
- Forks
- 0
- Merge moyen
- 16 h 9 min
- PR mergées (30 j)
- 7
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de Codewriter90x/HitTheKit
-
hardware help wanted
Difficulté 1/5 1-3 heures Accessibilité débutants 88/100
Codewriter90x/HitTheKit#14 ·
-
documentation enhancement
Difficulté 3/5 1-2 jours Accessibilité débutants 72/100
Codewriter90x/HitTheKit#54 ·
-
Platforms: electronic-drum MIDI input on Windows (and Linux)Peut-être pris Une pull request liée à cette issue est ouverte ou déjà fusionnée. Ouverteenhancement hardware help wanted
Difficulté 4/5 3-5 jours Accessibilité débutants 40/100
Codewriter90x/HitTheKit#53 ·
-
enhancement hardware
Difficulté 4/5 3-5 jours Accessibilité débutants 58/100
Codewriter90x/HitTheKit#52 ·
-
enhancement help wanted
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
Codewriter90x/HitTheKit#43 ·
Toutes les issues de Codewriter90x/HitTheKit
Issues similaires
-
type:task ux
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
elsa-workflows/elsa-foundation#5253 ·
Les mainteneurs répondent en général sous 1 jour