Opened 5 years ago

Last modified 3 days ago

#15404 assigned defect

BridgeDB's email localisation isn't working

Reported by: isis Owned by:
Priority: Low Milestone:
Component: Circumvention/BridgeDB Version:
Severity: Normal Keywords: bridgedb-ui, localization, anti-censorship-roadmap, s30-o22a3
Cc: sysrqb, emmapeel Actual Points:
Parent ID: #31279 Points: 2
Reviewer: Sponsor: Sponsor30-can

Description

When emailing bridges+de@torproject.org I received the following untranslated email in response:

From: bridges+de@torproject.org
To: isis@riseup.net
Cc:
Bcc:
Subject: Re: (no subject)
Reply-To:
In-Reply-To: <30168958158219d97dfcba15c42b1634@riseup.net>
Delivered-To: <isis@patternsinthevoid.net>


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hey, isis! Welcome to BridgeDB!



COMMANDs: (combine COMMANDs to specify multiple options simultaneously)
  get bridges            Request vanilla bridges.
  get transport [TYPE]   Request a Pluggable Transport by TYPE.
  get help               Displays this message.
  get key                Get a copy of BridgeDB's public GnuPG key.
  get ipv6               Request IPv6 bridges.

Currently supported transport TYPEs:
  obfs2
  obfs3
  obfs4
  scramblesuit
  fte


BridgeDB can provide bridges with several types of Pluggable Transports[0],
which can help obfuscate your connections to the Tor Network, making it more
difficult for anyone watching your internet traffic to determine that you are
using Tor.

Some bridges with IPv6 addresses are also available, though some Pluggable
Transports aren't IPv6 compatible.

Additionally, BridgeDB has plenty of plain-ol'-vanilla bridges - without any
Pluggable Transports - which maybe doesn't sound as cool, but they can still
help to circumvent internet censorship in many cases.

[0]: https://www.torproject.org/docs/pluggable-transports.html

 --
 <3 BridgeDB
______________________________________________________________________
Public Keys: https://bridges.torproject.org/keys
This email was generated with rainbows, unicorns, and sparkles
for isis@riseup.net on Saturday, 21 March, 2015 at 03:28:48.
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJVDOVwAAoJECG1VOlZOPTQFX8QAI3IF1Ce/77Q0WeI7M1v2d2e
ZJzLuxRRjQO0TiWUrRouOA3+gXTlhVs+bqCDxf52POd7OOWj6ojBptesf0gy+6X6
vw647fD/cJFKxqEkU34aV1s3SK991G30oGMMKguIDlw3jdtyNSemqw9rrYP33JHP
/G/5SLGLYnuZgek0WntOGcikCqikECxRpD7//MZPH0MoqkgPSh8MUKTAWLYJ0g3+
xFq7WMIfVMnyaR2UOq1uEYpfJ+Pli/TeYphvPtmeTcrLmFXDtm/0rtjxgCDyX67Y
0QEXAeyMJWDE2gTD0P3Ur+IVTZanIZsXyyGrmiggOIPo0JakDUnDUjAaKaBwDlAn
bMJ/t+5Bnl8NAUahDOltThCLE9432P4vyRrvnZPYE+55Bc5AX078dUNxoaWD74DH
xCKf84VFVIHzK9wyCPFdmxtsi0UUi7rc8kr0n1Rnwe4XDfb3EDSsNZyGLNNDOjsM
Ouxjnl0KhuVThPR/xlnb3Zic7BsRHoZhU4eBn/k6Ex+BkrNAC4QCWqY8AOgHXQXk
5HMjQzQsJs/GrM60OK05+3yjVIFaM/a7d1RTAutt07uR9JeV3fj2TgA1s7/xjTOj
HkxGtVpOq+WfwuWC3hXrrGcdxRXEkj4VDzd6p2Wu16+jcsX6zuhLgLcgYBb77fgC
PwRwpUowl8FDAZL7U159
=BEzx
-----END PGP SIGNATURE-----

Child Tickets

Change History (12)

comment:1 Changed 2 years ago by teor

Severity: Normal

Set all open tickets without a severity to "Normal"

comment:2 Changed 11 months ago by gaba

Owner: isis deleted
Priority: MediumHigh
Sponsor: Sponsor19
Status: newassigned

comment:3 Changed 11 months ago by gaba

Points: 2

comment:4 Changed 7 months ago by gaba

Keywords: anti-censorship-roadmap-2019 added

comment:5 Changed 6 months ago by phw

Sponsor: Sponsor19Sponsor30-must

Moving from Sponsor 19 to Sponsor 30.

comment:6 Changed 6 months ago by gaba

Keywords: anti-censorship-roadmap added; anti-censorship-roadmap-2019 removed

comment:7 Changed 6 months ago by emmapeel

Cc: emmapeel added

comment:8 Changed 4 months ago by phw

Parent ID: #31268

comment:9 Changed 4 months ago by phw

Parent ID: #31268#31279

comment:10 Changed 3 months ago by gaba

Keywords: s30-o22a3 added

comment:11 Changed 6 weeks ago by phw

Priority: HighLow

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".

comment:12 Changed 3 days ago by phw

Sponsor: Sponsor30-mustSponsor30-can

I'm setting this ticket to Sponsor30-can because there are significantly more important issues in our backlog and this one doesn't seem worth the effort.

Note: See TracTickets for help on using tickets.