modify Tor Browser packaging to avoid language prompt
We use a Tor Launcher with the language prompt feature included for hardened builds but must be careful not to included that feature in regular builds. I suspect this is causing some pain for Georg at least.
Kathy and I tried to modify Tor Launcher to skip the language prompt if there is only one choice of language, but that turns out to be difficult to do because (1) the language prompt is the first dialog opened, (2) we need to keep a modal dialog open to prevent Firefox from starting all the way, and (3) the API to enumerate the installed language packs is asynchronous (so we cannot call it until after we have a modal dialog open).
We thought of another, simpler solution: modify the gitian descriptors for the bundle step to add these two preferences to the extension-overrides.js file: intl.locale.matchOS = false extensions.torlauncher.prompt_for_locale = false
If other people think this is a good idea I will create a patch.