Skip to content

Commit fbb100f

Browse files
committed
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.
1 parent 1749d84 commit fbb100f

1 file changed

Lines changed: 20 additions & 1 deletion

File tree

electron-builder.json5

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,26 @@
210210
"displayName": "OpenScreen",
211211
"backgroundColor": "transparent",
212212
"capabilities": ["runFullTrust", "microphone", "webcam"],
213-
"languages": ["en-US", "fr-FR"],
213+
// Mirrors SUPPORTED_LOCALES in src/i18n/config.ts. This list is what the Store
214+
// shows as "supported languages" on the product page and what lets the listing
215+
// surface in each language's Store search — declaring only en-US/fr-FR advertised
216+
// 2 of the 13 languages the app actually ships. Bare tags (ar, es, ...) match every
217+
// region of that language, which is what the renderer's locale resolution does too.
218+
"languages": [
219+
"en-US",
220+
"fr-FR",
221+
"ar",
222+
"es",
223+
"it",
224+
"ja-JP",
225+
"ko-KR",
226+
"pt-BR",
227+
"ru",
228+
"tr",
229+
"vi",
230+
"zh-CN",
231+
"zh-TW"
232+
],
214233
"showNameOnTiles": true
215234
}
216235
}

0 commit comments

Comments
 (0)