[GH-ISSUE #4400] [GUI] French is missing from the shell-prefs and tray language lists — the tray menu never follows a French UI #1959

Closed
opened 2026-11-04 01:55:35 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @TheHubUser4860938 on GitHub (Oct 28, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4400

Problem: 0.2.7 shipped French as the ninth UI language (#3970) in the app catalog and the web chat, but the two shell-prefs allow-lists still name only eight: apps/host/server/shell-prefs.mjs:15 LANGUAGES = ['en','zh','ja','de','es','ru','pt','ko'] and apps/desktop/src-tauri/src/shell.rs:31 (same eight; tray_labels has no "fr" arm). setLanguage('fr') (apps/host/src/lib/i18n.ts:48 offers it; store.ts:508→511 POSTs it) is DROPPED silently: writeShellPrefs only persists it if (LANGUAGES.includes(patch.language)), and cleanPrefs (line 30) resets a hand-edited "fr" back to "en". The POST answers 200, so the UI believes the save.

Environment:
Strata Version: 0.2.7 (source checkout at tag v0.2.7, commit 5e8a4cca; the file discussed is byte-identical to the tag)
OS: Linux x86-64
Reported from the Strata-Mnemosyne fork's merged tree; the offending code is upstream's own.

Reproduce: Settings → language = Français (desktop app, or any host serving shell prefs), restart: the new tray menu (#3477) keeps the old language; the stored prefs never contain fr.
Expected: the tray/menu language follows the chosen UI language for all nine offered languages.
Actual: for fr the preference is silently dropped — a three-way list sync miss.

Reproduction status: unconfirmed static analysis (the three lists and both validators read in the v0.2.7 tree). What would verify: pick Français, read the shell-prefs file, open the tray menu.

Originally created by @TheHubUser4860938 on GitHub (Oct 28, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/4400 Problem: 0.2.7 shipped French as the ninth UI language (#3970) in the app catalog and the web chat, but the two shell-prefs allow-lists still name only eight: apps/host/server/shell-prefs.mjs:15 `LANGUAGES = ['en','zh','ja','de','es','ru','pt','ko']` and apps/desktop/src-tauri/src/shell.rs:31 (same eight; tray_labels has no "fr" arm). `setLanguage('fr')` (apps/host/src/lib/i18n.ts:48 offers it; store.ts:508→511 POSTs it) is DROPPED silently: writeShellPrefs only persists it `if (LANGUAGES.includes(patch.language))`, and cleanPrefs (line 30) resets a hand-edited "fr" back to "en". The POST answers 200, so the UI believes the save. Environment: **Strata Version:** 0.2.7 (source checkout at tag v0.2.7, commit 5e8a4cca; the file discussed is byte-identical to the tag) **OS:** Linux x86-64 Reported from the Strata-Mnemosyne fork's merged tree; the offending code is upstream's own. Reproduce: Settings → language = Français (desktop app, or any host serving shell prefs), restart: the new tray menu (#3477) keeps the old language; the stored prefs never contain fr. Expected: the tray/menu language follows the chosen UI language for all nine offered languages. Actual: for fr the preference is silently dropped — a three-way list sync miss. Reproduction status: unconfirmed static analysis (the three lists and both validators read in the v0.2.7 tree). What would verify: pick Français, read the shell-prefs file, open the tray menu.
Author
Owner

@Niko1221 commented on GitHub (Nov 5, 2026):

Thanks for taking the time to report this.

Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected.

To reopen it takes about two minutes:

  1. Re-test on 0.2.11. It may already be fixed. Write down what you see.
  2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other].
  3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system.
  4. Comment /reopen. A check runs and either reopens the issue or lists what is still missing.

The rules are in CONTRIBUTING.md.

<!-- gh-comment-id:6660407399 --> @Niko1221 commented on GitHub (Nov 5, 2026): Thanks for taking the time to report this. Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected. To reopen it takes about two minutes: 1. Re-test on 0.2.11. It may already be fixed. Write down what you see. 2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other]. 3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system. 4. Comment `/reopen`. A check runs and either reopens the issue or lists what is still missing. The rules are in [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md).
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
Niko1221/Strata#1959
No description provided.