From fbb100fd3fa059aa278016f3123d8060cacce3d2 Mon Sep 17 00:00:00 2001 From: Etienne Lescot Date: Tue, 4 Aug 2026 22:21:48 +0200 Subject: [PATCH] fix(build): declare all 13 supported locales in the AppX package The appx manifest advertised en-US and fr-FR only, so the Microsoft Store product page listed two supported languages for an app that ships thirteen (SUPPORTED_LOCALES in src/i18n/config.ts), and the listing never surfaced in Store searches run in the other eleven. Bare tags for the region-less locales so every region of that language matches, which is what the renderer's own locale resolution does. --- electron-builder.json5 | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/electron-builder.json5 b/electron-builder.json5 index 0a7520545..13c1cb2c5 100644 --- a/electron-builder.json5 +++ b/electron-builder.json5 @@ -210,7 +210,26 @@ "displayName": "OpenScreen", "backgroundColor": "transparent", "capabilities": ["runFullTrust", "microphone", "webcam"], - "languages": ["en-US", "fr-FR"], + // Mirrors SUPPORTED_LOCALES in src/i18n/config.ts. This list is what the Store + // shows as "supported languages" on the product page and what lets the listing + // surface in each language's Store search — declaring only en-US/fr-FR advertised + // 2 of the 13 languages the app actually ships. Bare tags (ar, es, ...) match every + // region of that language, which is what the renderer's locale resolution does too. + "languages": [ + "en-US", + "fr-FR", + "ar", + "es", + "it", + "ja-JP", + "ko-KR", + "pt-BR", + "ru", + "tr", + "vi", + "zh-CN", + "zh-TW" + ], "showNameOnTiles": true } }