Package: torbrowser-launcher
Version: 0.3.2-2

When my locale is something other than en_US, torbrowser-launcher always
downloads the en_US version of TBB. Note that the 'force_en-US' setting is
set to False.

I suspect that this is due to the following Debian patch:
https://salsa.debian.org/pkg-privacy-team/torbrowser-launcher/blob/debian/sid/debian/patches/0008-Revert-Properly-detect-the-system-s-locale.patch,
which uses *locale.getlocale(locale.LC_MESSAGES)[0] *to grab the locale.
The issue is that this will return *(None, None) *since it was never set in
the application*.  *

A potential fix would be to set the Python locale in the application
using *locale.setlocale(locale.LC_MESSAGES,
'')*, as per the following Github issue:
https://github.com/micahflee/torbrowser-launcher/issues/361.

I am using Debian GNU/Linux 4.19, kernel 4.19.67-2+deb10u1~bpo9+1 and libc6
2.24.

Reply via email to