[tor-bugs] #18455 [Tor Browser]: modify Tor Browser packaging to avoid language prompt
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Mar 1 16:28:38 UTC 2016
#18455: modify Tor Browser packaging to avoid language prompt
-----------------------------+----------------------
Reporter: mcs | Owner: tbb-team
Type: defect | Status: new
Priority: Medium | Milestone:
Component: Tor Browser | Version:
Severity: Normal | Keywords:
Actual Points: | Parent ID:
Points: | Sponsor:
-----------------------------+----------------------
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.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18455>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list