I can think of three scenarios Tor Browser in which Tor Browser might set the language automatically (however there are probably more):
On installation, Tor Browser should set the user's language to match their system language
When the user changes their system language, Tor Browser will ????
When the user updates from a single-locale to multi-local build, Tor Browser will ????
When it sets the language automatically we'll probably want to inform the user what has happened, and deeplink to the Language section in about:preferences#general to override the setting if desired.
Switch to the system language (I expect, we should try to grab a single-locale nightly and make it update to multi-locale).
If that's the case, we should maybe find a way to prevent this happening. I imagine it could confuse a lot of existing users who have Tor Browser set to a different language.
Switch to the system language (I expect, we should try to grab a single-locale nightly and make it update to multi-locale).
If that's the case, we should maybe find a way to prevent this happening. I imagine it could confuse a lot of existing users who have Tor Browser set to a different language.
I confirm this is what happened in nightly for me. I had a french
single-locale nightly, on a system in english, and after updating it
became in english.
This can be confusing, however if you know language can be changed, you
can change it back very quickly. Maybe we should mention that in the
blog post for the new release?
Here's one option using the chrome notification banner:
I've deliberately avoided saying "Tor Browser has changed your language to English (en)..." since, hopefully, nothing will have changed for the majority of our users. Stable should also include a "Learn more" link pointing to an article on the support portal explaining why this warning exists.
Continuing in #41413 (closed) with the backup plan for 11.5.x, and in #41414 (closed) to create a catch window in 12.0 or in the first versions from the 12.0 series.
Keeping this ticket to add some UX to inform users that they can change their language in the settings, and assigning it back to @duncan for now (until we decide the best UX for that ).
@duncan: do you think we should show the notification only once and then take for granted the user has seen it, or should we wait for them to explicitly either click on the button, or on the X to dismiss the notification?