[tor-bugs] #31384 [Circumvention/Snowflake]: localize snowflake website

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Aug 26 18:28:49 UTC 2019


#31384: localize snowflake website
-------------------------------------------------+-------------------------
 Reporter:  emmapeel                             |          Owner:  (none)
     Type:  enhancement                          |         Status:
                                                 |  needs_information
 Priority:  Medium                               |      Milestone:
Component:  Circumvention/Snowflake              |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  l10n, anti-censorship-roadmap-       |  Actual Points:
  september                                      |
Parent ID:  #30310                               |         Points:
 Reviewer:                                       |        Sponsor:
                                                 |  Sponsor28
-------------------------------------------------+-------------------------

Comment (by cohosh):

 Replying to [comment:5 dcf]:
 > Replying to [comment:2 emmapeel]:
 > > Please let me know if you can use them to provide a localized version
 of the webpage.
 >
 > I have some process-related questions.
 >
 > How do we know which language to use? In comment:2 you mentioned adding
 a menu to the page. I see such a menu at https://tb-
 manual.torproject.org/, defaulting(?) to English. Should we also look at
 the `Accept-Language` HTTP header (i.e., the user's in-browser configured
 language)? Do other Tor Project pages do that?

 Looks like arlo's most recently changes in #30310 use the
 [https://developer.mozilla.org/en-
 US/docs/Web/API/NavigatorLanguage/language navigator.language] property to
 set the translation and default to English if none exist. See
 https://github.com/keroserene/snowflake/commit/da21c6710cd871d931f2eea2a185b78b1907d3db
 #diff-c371ea9d4448f98b3fda1dfca95c925eR93

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


More information about the tor-bugs mailing list