[tor-bugs] #15404 [Circumvention/BridgeDB]: BridgeDB's email localisation isn't working

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Oct 29 16:44:50 UTC 2019


#15404: BridgeDB's email localisation isn't working
-------------------------------------------------+-------------------------
 Reporter:  isis                                 |          Owner:  (none)
     Type:  defect                               |         Status:
                                                 |  assigned
 Priority:  Low                                  |      Milestone:
Component:  Circumvention/BridgeDB               |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  bridgedb-ui, localization, anti-     |  Actual Points:
  censorship-roadmap, s30-o22a3                  |
Parent ID:  #31279                               |         Points:  2
 Reviewer:                                       |        Sponsor:
                                                 |  Sponsor30-must
-------------------------------------------------+-------------------------
Changes (by phw):

 * priority:  High => Low


Comment:

 The translation is broken because the calls to `installTranslations()` in
 autoresponder.py use a scalar value but the method expects a list. The
 following fixes the issue:
 {{{
 -    translator = translations.installTranslations(lang)
 +    translator = translations.installTranslations([lang])
 }}}

 However, this revealed another problem. The autoresponder's email messages
 aren't encoded correctly. I got the following email:

 {{{
 ��Eh, phw!

 [Este es un mensaje autom������tico; por favor no respondas.]
 }}}

 I spent around two hours trying to find the root cause but did not
 succeed. Considering that this has been an issue for five years, our email
 responder doesn't have many users, and even fewer know about this
 localisation feature, I don't think we should spend much time on this. I'm
 setting the priority to "low".

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/15404#comment:11>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list