[GH-ISSUE #1280] [Issue]: Game mode setup resets the selected language to English for every new game #627

Closed
opened 2026-10-20 17:30:56 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @GetBeholder on GitHub (May 26, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1280

Originally assigned to: @SpicyMarinara on GitHub.

Summary

When creating a new game mode, the selected language resets (defaults back to
English). Since English is not the reporter's native language, they frequently
forget to switch it back, and the only fix they have found is to delete and
recreate the entire game mode from scratch.

Expected behavior

A newly created game mode should retain the user's previously selected / preferred
language instead of resetting to English. (Ideally the language should also be
changeable after creation without having to recreate the game.)

Actual behavior

Each new game mode starts with the language reset to English. If this is not
noticed in time, the only known fix is deleting and recreating the game mode.

Steps to reproduce

  1. Set the game language to a non-English language.
  2. Create a new game mode.
  3. Observe the language has reset to English.
  4. If not corrected before play, deleting and recreating the game mode is the
    only known workaround.

Impact area

  • App shell, navigation, startup, or providers
  • Catalog resources
  • Chat mode
  • Roleplay mode
  • Game mode
  • Shared mode UI
  • Runtime systems: generation, world-state, visuals, tracker, or haptics
  • Professor Mari or shell tools
  • React-free engine behavior, contracts, agents, or capability ports
  • Shared API wrapper or remote runtime routing
  • Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime
  • Docs, contributor workflow, or templates

Environment

  • Branch or commit: not provided
  • Run mode: not specified
  • OS + version: not specified
  • Node + pnpm versions: not provided
  • Rust version, if relevant: not provided
  • Remote Runtime URL configured? not specified
  • Provider, model, or integration, if relevant: not specified

Logs, screenshots, or video

None provided.

Regression notes

Not provided.

Additional context

Source: forum report by Krewetco (2-Star), 5/24/26 10:03 PM. This was one of four
distinct points in a single post; the others are filed separately (status bar
positioning, map node editing, and indoor map layers).

Triage pointer (from a scan, not from the reporter): the game setup wizard
initializes language as local state — useState("English") (~L310 in
src/features/modes/game/components/GameSetupWizard.tsx) with a fixed
GAME_LANGUAGE_OPTIONS list. It does not appear to seed from a persisted
user/global language preference, so each new game defaults to English. Worth
confirming whether the language can be changed after game creation (the reporter
implies it cannot without recreating the game).

Template check

Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @GetBeholder on GitHub (May 26, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1280 Originally assigned to: @SpicyMarinara on GitHub. ## Summary When creating a new game mode, the selected language resets (defaults back to English). Since English is not the reporter's native language, they frequently forget to switch it back, and the only fix they have found is to delete and recreate the entire game mode from scratch. ## Expected behavior A newly created game mode should retain the user's previously selected / preferred language instead of resetting to English. (Ideally the language should also be changeable after creation without having to recreate the game.) ## Actual behavior Each new game mode starts with the language reset to English. If this is not noticed in time, the only known fix is deleting and recreating the game mode. ## Steps to reproduce 1. Set the game language to a non-English language. 2. Create a new game mode. 3. Observe the language has reset to English. 4. If not corrected before play, deleting and recreating the game mode is the only known workaround. ## Impact area - [ ] App shell, navigation, startup, or providers - [ ] Catalog resources - [ ] Chat mode - [ ] Roleplay mode - [x] Game mode - [ ] Shared mode UI - [ ] Runtime systems: generation, world-state, visuals, tracker, or haptics - [ ] Professor Mari or shell tools - [ ] React-free engine behavior, contracts, agents, or capability ports - [ ] Shared API wrapper or remote runtime routing - [ ] Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime - [ ] Docs, contributor workflow, or templates ## Environment - Branch or commit: not provided - Run mode: not specified - OS + version: not specified - Node + pnpm versions: not provided - Rust version, if relevant: not provided - Remote Runtime URL configured? not specified - Provider, model, or integration, if relevant: not specified ## Logs, screenshots, or video None provided. ## Regression notes Not provided. ## Additional context Source: forum report by Krewetco (2-Star), 5/24/26 10:03 PM. This was one of four distinct points in a single post; the others are filed separately (status bar positioning, map node editing, and indoor map layers). Triage pointer (from a scan, not from the reporter): the game setup wizard initializes language as local state — `useState("English")` (~L310 in `src/features/modes/game/components/GameSetupWizard.tsx`) with a fixed `GAME_LANGUAGE_OPTIONS` list. It does not appear to seed from a persisted user/global language preference, so each new game defaults to English. Worth confirming whether the language can be changed after game creation (the reporter implies it cannot without recreating the game). ## Template check Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-20 17:30:56 +07:00
  • closed this issue
  • added the
    client
    bug
    labels
Author
Owner

@SpicyMarinara commented on GitHub (May 27, 2026):

Fixed on refactor in 8058f66dd4: Game Setup now remembers the last selected language and initializes new games from that preference instead of resetting to English. Validated with pnpm check.

<!-- gh-comment-id:4555720462 --> @SpicyMarinara commented on GitHub (May 27, 2026): Fixed on refactor in 8058f66dd4affb1e74e4bdbce3b7d4580554fb9b: Game Setup now remembers the last selected language and initializes new games from that preference instead of resetting to English. Validated with pnpm check.
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
Pasta-Devs/Marinara-Engine#627
No description provided.