#26543: Provide a language switcher menu on BridgeDB
-------------------------------------------------+-------------------------
 Reporter:  teor                                 |          Owner:  phw
     Type:  enhancement                          |         Status:
                                                 |  assigned
 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 phw):

 Replying to [comment:14 antonela]:
 > > 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.
 [[br]]
 I prefer to leave the URL as it is now. This means that people who are
 happy with their auto-selected locale won't see any changes to the URL
 while people who use the language switcher will see the URL change to,
 say, `https://bridges.torproject.org/?lang=pl`.
 [[br]]
 > > 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.
 [[br]]
 Gotcha, thanks.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26543#comment:20>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Reply via email to