[tor-bugs] #26543 [Circumvention/BridgeDB]: Provide a language switcher menu on BridgeDB

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Oct 2 17:09:26 UTC 2019


#26543: Provide a language switcher menu on BridgeDB
-------------------------------------------------+-------------------------
 Reporter:  teor                                 |          Owner:  (none)
     Type:  enhancement                          |         Status:
                                                 |  needs_review
 Priority:  Medium                               |      Milestone:
Component:  Circumvention/BridgeDB               |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  anti-censorship-roadmap-september,   |  Actual Points:
  s30-o22a3                                      |
Parent ID:  #31279                               |         Points:  3
 Reviewer:  cohosh                               |        Sponsor:
                                                 |  Sponsor30-must
-------------------------------------------------+-------------------------

Comment (by antonela):

 it looks great, phw!


 > If a user changes the language, we need to keep track of this change
 somehow; otherwise it's lost when the user navigates to another page. I
 wanted to avoid cookies, so I decided to keep state by passing the
 ?lang=CC argument from page to page. It's not elegant. Is there a better
 way?
 We are using something similar in tpo.org, but the url looks quite better:
 `torproject.org/ru/about/history/` where `/ru/` is the locale.

 > The patch supports every language for which there is some kind of
 translation. Some of these languages have few translations. We could only
 show translations that are, say, 80% complete but I figured that even some
 translations are better than none.
 I think is good to show just 80% completed languages. If not, the site
 looks like broken for non-speakers. Let's have emmapeel in this party so
 we plan an open a call for translators just for bridge.tpo and gettor.tpo
 :)


 > Each language in the language switcher is translated to the respective
 language, i.e., it says "espaƱol" instead of "spanish". Is this
 reasonable?
 Yes, it is. We can easily read spanish/english because we share a Latin
 alphabet. People using another kind of alphabets (arabic, cyrillic,
 georgian, etc) will look for familiar letters before reading.


 > The patch treats en, en_US, and en_GB as different languages, which
 leads to three (unnecessary?) options in the dropdown menu. Is this
 reasonable? (Note that we cannot just remove any language with a region
 code in it because Chinese only exists as zh_CN, zh_HK, and zh_TW.)

 In this context, maybe you don't have any critical difference between
 en_US and en_GB, but as you mentioned zh_X glyphs may change. I think we
 should keep each of them.


 @emmapeel, what do you think? are we missing anything?

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


More information about the tor-bugs mailing list