On Wed, Apr 22, 2015 at 03:54:19PM +0200, Holger Levsen wrote:
> On Mittwoch, 22. April 2015, Stefano Zacchiroli wrote:
> > Same for me, with the following locale:
> >   zack@timira:~$ locale
> >   LANG=it_IT.utf8
> >   LANGUAGE=
> >   LC_MESSAGES=en_US.UTF-8
> 
> so you got torbrowser in which language?

Right, sorry for the terseness.

I get torbrowser in Italian, whereas I want it in English. Running
"LANG= torbrowser-launcher" get me the English version, but what's
annoying is that if I forget the LANG= override once, it will attempt to
download torbrowser again from scratch (in Italian).

>       Holger, assuming this is an upstream bug

It most definitely is. I think this line:

 
http://sources.debian.net/src/torbrowser-launcher/0.1.9-1/torbrowser_launcher/common.py/#L75

which currently reads:

  default_locale = locale.getdefaultlocale()[0]

should instead be:

  default_locale = locale.getlocale(locale.LC_MESSAGES)[0]

but I haven't tested it.

Cheers.
-- 
Stefano Zacchiroli  . . . . . . .  z...@upsilon.cc . . . . o . . . o . o
Maître de conférences . . . . . http://upsilon.cc/zack . . . o . . . o o
Former Debian Project Leader  . . @zack on identi.ca . . o o o . . . o .
« the first rule of tautology club is the first rule of tautology club »

Attachment: signature.asc
Description: Digital signature

Reply via email to