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

2019-10-16 Thread Tor Bug Tracker & Wiki
#31384: localize snowflake website
-+-
 Reporter:  emmapeel |  Owner:  cohosh
 Type:  enhancement  | Status:  closed
 Priority:  Medium   |  Milestone:
Component:  Circumvention/Snowflake  |Version:
 Severity:  Normal   | Resolution:  fixed
 Keywords:  l10n, anti-censorship-roadmap-   |  Actual Points:  2.5
  september  |
Parent ID:   | Points:
 Reviewer:  phw  |Sponsor:
 |  Sponsor28
-+-
Changes (by cohosh):

 * status:  merge_ready => closed
 * resolution:   => fixed


Comment:

 Merged at https://gitweb.torproject.org/pluggable-
 transports/snowflake.git/commit/?id=da8b98d09089e32d53573a1cabcb450aa290b4c8

 Let's wait to update the website until we get some translations... merging
 this should update the files at Transifex but all the text will be English
 until we start translating the strings.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

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

2019-10-16 Thread Tor Bug Tracker & Wiki
#31384: localize snowflake website
-+-
 Reporter:  emmapeel |  Owner:  cohosh
 Type:  enhancement  | Status:
 |  merge_ready
 Priority:  Medium   |  Milestone:
Component:  Circumvention/Snowflake  |Version:
 Severity:  Normal   | Resolution:
 Keywords:  l10n, anti-censorship-roadmap-   |  Actual Points:  2.5
  september  |
Parent ID:   | Points:
 Reviewer:  phw  |Sponsor:
 |  Sponsor28
-+-
Changes (by phw):

 * status:  needs_revision => merge_ready


Comment:

 Replying to [comment:24 cohosh]:
 > I replied to your comment, how does it look now?
 [[br]]
 As we just discussed on IRC, I had a CORS error in my console because I
 was browsing the page locally:
 {{{
 Fetch API cannot load
 file:///home/phw/rcs/snowflake/proxy/build/_locales/de/messages.json. URL
 scheme must be "http" or "https" for CORS request.
 }}}

 One can temporarily work around this by disabling CORS. In Firefox, one
 can create a new testing profile and set
 `security.fileuri.strict_origin_policy` to `false`. Once I disabled it, my
 default language shows up in the language switcher.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

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

2019-10-16 Thread Tor Bug Tracker & Wiki
#31384: localize snowflake website
-+-
 Reporter:  emmapeel |  Owner:  cohosh
 Type:  enhancement  | Status:
 |  needs_revision
 Priority:  Medium   |  Milestone:
Component:  Circumvention/Snowflake  |Version:
 Severity:  Normal   | Resolution:
 Keywords:  l10n, anti-censorship-roadmap-   |  Actual Points:  2.5
  september  |
Parent ID:   | Points:
 Reviewer:  phw  |Sponsor:
 |  Sponsor28
-+-

Comment (by cohosh):

 I replied to your comment, how does it look now?

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

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

2019-10-15 Thread Tor Bug Tracker & Wiki
#31384: localize snowflake website
-+-
 Reporter:  emmapeel |  Owner:  cohosh
 Type:  enhancement  | Status:
 |  needs_revision
 Priority:  Medium   |  Milestone:
Component:  Circumvention/Snowflake  |Version:
 Severity:  Normal   | Resolution:
 Keywords:  l10n, anti-censorship-roadmap-   |  Actual Points:  2.5
  september  |
Parent ID:   | Points:
 Reviewer:  phw  |Sponsor:
 |  Sponsor28
-+-
Changes (by phw):

 * status:  needs_review => needs_revision


Comment:

 Replying to [comment:21 cohosh]:
 > Thanks! Added some fixes.
 [[br]]
 The fixes look great. I only have one comment left.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

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

2019-10-15 Thread Tor Bug Tracker & Wiki
#31384: localize snowflake website
-+-
 Reporter:  emmapeel |  Owner:  cohosh
 Type:  enhancement  | Status:
 |  needs_review
 Priority:  Medium   |  Milestone:
Component:  Circumvention/Snowflake  |Version:
 Severity:  Normal   | Resolution:
 Keywords:  l10n, anti-censorship-roadmap-   |  Actual Points:  2.5
  september  |
Parent ID:   | Points:
 Reviewer:  phw  |Sponsor:
 |  Sponsor28
-+-
Changes (by cohosh):

 * actualpoints:  2 => 2.5


Comment:

 Updating time sent on this ticket.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

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

2019-10-15 Thread Tor Bug Tracker & Wiki
#31384: localize snowflake website
-+-
 Reporter:  emmapeel |  Owner:  cohosh
 Type:  enhancement  | Status:
 |  needs_review
 Priority:  Medium   |  Milestone:
Component:  Circumvention/Snowflake  |Version:
 Severity:  Normal   | Resolution:
 Keywords:  l10n, anti-censorship-roadmap-   |  Actual Points:  2
  september  |
Parent ID:   | Points:
 Reviewer:  phw  |Sponsor:
 |  Sponsor28
-+-
Changes (by cohosh):

 * status:  needs_revision => needs_review


Comment:

 Thanks! Added some fixes.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

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

2019-10-14 Thread Tor Bug Tracker & Wiki
#31384: localize snowflake website
-+-
 Reporter:  emmapeel |  Owner:  cohosh
 Type:  enhancement  | Status:
 |  needs_revision
 Priority:  Medium   |  Milestone:
Component:  Circumvention/Snowflake  |Version:
 Severity:  Normal   | Resolution:
 Keywords:  l10n, anti-censorship-roadmap-   |  Actual Points:  2
  september  |
Parent ID:   | Points:
 Reviewer:  phw  |Sponsor:
 |  Sponsor28
-+-
Changes (by phw):

 * status:  needs_review => needs_revision
 * reviewer:   => phw


Comment:

 I added a handful of comments to the pull request:
 https://github.com/cohosh/snowflake/pull/9

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

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

2019-10-09 Thread Tor Bug Tracker & Wiki
#31384: localize snowflake website
-+-
 Reporter:  emmapeel |  Owner:  cohosh
 Type:  enhancement  | Status:
 |  needs_review
 Priority:  Medium   |  Milestone:
Component:  Circumvention/Snowflake  |Version:
 Severity:  Normal   | Resolution:
 Keywords:  l10n, anti-censorship-roadmap-   |  Actual Points:
  september  |
Parent ID:   | Points:
 Reviewer:   |Sponsor:
 |  Sponsor28
-+-
Changes (by cohosh):

 * status:  accepted => needs_review


Comment:

 Done implementing this language switcher. Here's a pull request:
 https://github.com/cohosh/snowflake/pull/9

 Note that because we're using the same messages.json file as the
 webextension for the translations, we won't need two different translation
 repositories.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

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

2019-10-09 Thread Tor Bug Tracker & Wiki
#31384: localize snowflake website
-+-
 Reporter:  emmapeel |  Owner:  cohosh
 Type:  enhancement  | Status:
 |  needs_review
 Priority:  Medium   |  Milestone:
Component:  Circumvention/Snowflake  |Version:
 Severity:  Normal   | Resolution:
 Keywords:  l10n, anti-censorship-roadmap-   |  Actual Points:  2
  september  |
Parent ID:   | Points:
 Reviewer:   |Sponsor:
 |  Sponsor28
-+-
Changes (by cohosh):

 * actualpoints:   => 2


Comment:

 Updating with points so far

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

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

2019-10-08 Thread Tor Bug Tracker & Wiki
#31384: localize snowflake website
-+-
 Reporter:  emmapeel |  Owner:  cohosh
 Type:  enhancement  | Status:
 |  accepted
 Priority:  Medium   |  Milestone:
Component:  Circumvention/Snowflake  |Version:
 Severity:  Normal   | Resolution:
 Keywords:  l10n, anti-censorship-roadmap-   |  Actual Points:
  september  |
Parent ID:   | Points:
 Reviewer:   |Sponsor:
 |  Sponsor28
-+-
Changes (by cohosh):

 * status:  needs_information => accepted


Comment:

 Okay here's my current progress on this ticket:
 https://github.com/cohosh/snowflake/compare/website-translation

 I switched to using messages.json and took dcf's advice of using the
 `data-msgid` attribute to set the key for the localized strings.

 Tomorrow I'll add a dropdown language switcher as in #26543, and see if we
 should do something different for rtl languages.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

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

2019-10-08 Thread Tor Bug Tracker & Wiki
#31384: localize snowflake website
-+-
 Reporter:  emmapeel |  Owner:  cohosh
 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:   | Points:
 Reviewer:   |Sponsor:
 |  Sponsor28
-+-

Comment (by dcf):

 Replying to [comment:10 cohosh]:
 > It won't work right now because I need to hook up the .js fill function,
 but this is an idea of what it looks like:
 https://github.com/cohosh/snowflake/tree/ticket31384

 If you want to do it this way, I would suggest not doing
 {{{
 __MSG_browser__
 }}}
 but instead something like
 {{{
 Browser
 }}}

 That way, a failure of the fill function, or a missing translation, will
 at least show English text rather than a raw message identifier. The
 [https://developer.mozilla.org/en-
 US/docs/Learn/HTML/Howto/Use_data_attributes data- attribute prefix] can
 be used to attach arbitrary information to HTML elements.

 {{{
   __MSG_either__https://trac.torproject.org/projects/tor/register;>__MSG_createAccount__
 __MSG_or__ https://trac.torproject.org/projects/tor/login;>log
 in
   __MSG_usingShared__cypherpunks __MSG_withPassword__
 writecode.
 }}}

 I'm guessing that this kind of structure will be difficult to translate
 because the translator cannot change the order of the `` and
 `` fragments. It may be better to allow HTML in the replacement
 strings.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

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

2019-10-08 Thread Tor Bug Tracker & Wiki
#31384: localize snowflake website
-+-
 Reporter:  emmapeel |  Owner:  cohosh
 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:   | Points:
 Reviewer:   |Sponsor:
 |  Sponsor28
-+-

Comment (by emmapeel):

 Replying to [comment:9 cohosh]:
 > I've started working on this, I think having full index.html files will
 be difficult to deal with and is different from how we are doing things
 the webextension and also different from how bridges.tp.o and gettor.tp.o
 work.
 >
 > I've started expanding messages.json with the website text but if
 there's a better way to do this, let me know :)
 Oh yes, json files are also a good match and they are better than the html
 straight.

 Sorry I just read this comment now, but yeah that would be much better

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

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

2019-10-08 Thread Tor Bug Tracker & Wiki
#31384: localize snowflake website
-+-
 Reporter:  emmapeel |  Owner:  cohosh
 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:   | Points:
 Reviewer:   |Sponsor:
 |  Sponsor28
-+-

Comment (by emmapeel):

 Replying to [comment:11 cohosh]:
 > Is this how we want to do this? I'm curious about how the rest of tp.o
 handles localization here.

 * Some applications handle it with po4a and provide me of a .pot file and
 i give them the different language .po files
 * the resources used by TBB are mozilla localization dtd and properties
 files
 * the index file i added directly using the transifex framework because it
 was an easy html file... maybe that is not the case anymore?
 * some markdown files are translated directly

 > Also, it looks like the index.html file being used by transifex doesn't
 quite match the index.html file in `proxy/static/`.

 This was because i didnt have it configured to pull daily from it. This is
 fixed now, and the file has been refreshed. Transifex will look it up
 twice a day and update it automatically.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

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

2019-10-08 Thread Tor Bug Tracker & Wiki
#31384: localize snowflake website
-+-
 Reporter:  emmapeel |  Owner:  cohosh
 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:   | Points:
 Reviewer:   |Sponsor:
 |  Sponsor28
-+-

Comment (by dcf):

 Replying to [comment:11 cohosh]:
 > It looks like right now the translation repository for this website is
 set up to translate the `index.html` file entirely:
 https://gitweb.torproject.org/translation.git/tree/?h=snowflake-website-
 indexhtml_completed
 >
 > Is this how we want to do this? I'm curious about how the rest of tp.o
 handles localization here. Also, it looks like the index.html file being
 used by transifex doesn't quite match the index.html file in
 `proxy/static/`.

 That's partly my fault, because I did some [https://gitweb.torproject.org
 /pluggable-
 
transports/snowflake.git/diff/?id=1d6a98a40e6f5b9ed8348f2c7a87b1d5cb9df250=0ef7c6f1fa6abc5ffeff455be0143efce0adb207
 HTML and CSS refactoring changes] not knowing that the translation
 repository existed.

 I can see how merging changes like that will be annoying to translators.
 But if we don't anticipate index.html being changed ''that'' often, I'm
 fine with translating the whole file as a "worse-is-better" approach.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

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

2019-10-07 Thread Tor Bug Tracker & Wiki
#31384: localize snowflake website
-+-
 Reporter:  emmapeel |  Owner:  cohosh
 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:   | Points:
 Reviewer:   |Sponsor:
 |  Sponsor28
-+-
Changes (by cohosh):

 * status:  assigned => needs_information


--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

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

2019-10-04 Thread Tor Bug Tracker & Wiki
#31384: localize snowflake website
-+-
 Reporter:  emmapeel |  Owner:  cohosh
 Type:  enhancement  | Status:
 |  assigned
 Priority:  Medium   |  Milestone:
Component:  Circumvention/Snowflake  |Version:
 Severity:  Normal   | Resolution:
 Keywords:  l10n, anti-censorship-roadmap-   |  Actual Points:
  september  |
Parent ID:   | Points:
 Reviewer:   |Sponsor:
 |  Sponsor28
-+-
Changes (by cohosh):

 * cc: hiro (added)


Comment:

 Okay I've been thinking more about how to structure this.
 https://snowflake.torproject.org is structured a bit differently from
 other anti-censorship tp.o sites and therefore does localization
 differently.

 For example, bridgeDB and gettor both use python to render the site and
 python libraries for localization. The snowflake webextension uses
 messages.json for each string in the webextension.

 It looks like right now the translation repository for this website is set
 up to translate the `index.html` file entirely:
 https://gitweb.torproject.org/translation.git/tree/?h=snowflake-website-
 indexhtml_completed

 Is this how we want to do this? I'm curious about how the rest of tp.o
 handles localization here. Also, it looks like the index.html file being
 used by transifex doesn't quite match the index.html file in
 `proxy/static/`.

 Does it make incremental changes to index.html harder to update?

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

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

2019-10-03 Thread Tor Bug Tracker & Wiki
#31384: localize snowflake website
-+-
 Reporter:  emmapeel |  Owner:  cohosh
 Type:  enhancement  | Status:
 |  assigned
 Priority:  Medium   |  Milestone:
Component:  Circumvention/Snowflake  |Version:
 Severity:  Normal   | Resolution:
 Keywords:  l10n, anti-censorship-roadmap-   |  Actual Points:
  september  |
Parent ID:   | Points:
 Reviewer:   |Sponsor:
 |  Sponsor28
-+-

Comment (by cohosh):

 It won't work right now because I need to hook up the .js fill function,
 but this is an idea of what it looks like:
 https://github.com/cohosh/snowflake/tree/ticket31384

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

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

2019-10-03 Thread Tor Bug Tracker & Wiki
#31384: localize snowflake website
-+-
 Reporter:  emmapeel |  Owner:  cohosh
 Type:  enhancement  | Status:
 |  assigned
 Priority:  Medium   |  Milestone:
Component:  Circumvention/Snowflake  |Version:
 Severity:  Normal   | Resolution:
 Keywords:  l10n, anti-censorship-roadmap-   |  Actual Points:
  september  |
Parent ID:   | Points:
 Reviewer:   |Sponsor:
 |  Sponsor28
-+-
Changes (by cohosh):

 * owner:  (none) => cohosh
 * status:  needs_information => assigned


Comment:

 I've started working on this, I think having full index.html files will be
 difficult to deal with and is different from how we are doing things the
 webextension and also different from how bridges.tp.o and gettor.tp.o
 work.

 I've started expanding messages.json with the website text but if there's
 a better way to do this, let me know :)

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

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

2019-09-13 Thread Tor Bug Tracker & Wiki
#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:   | Points:
 Reviewer:   |Sponsor:
 |  Sponsor28
-+-

Comment (by emmapeel):

 Replying to [comment:5 dcf]:
 > 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?

 The ideal will be to allow users to change it by hand, as our own browser
 allows to hide your language and many people browse the web in English
 because of fingerprinting, or sometimes are using public computers, etc,
 so it is unlikely that they will have the proper language configured.

 > What is the process for handling revisions to the source text? Will the
 translation.git repository periodically get a revised index.html, then
 make changes in that repository? Then we import those changes back into
 snowflake.git? Is there some way to notify each group about when updates
 are ready from the other side?

 I can hook the translation system to the repository at
 https://gitweb.torproject.org/pluggable-
 transports/snowflake.git/plain/proxy/static/index.html, so the changes on
 the file will be reflected some hours later on the translation platform (i
 have done that already with messages.json). transifex will pull the source
 files twice a day I think.

 It would be great if somebody from the team can join transifex, as
 sometimes there are comments translators do on the source strings that
 would be nice if you review.

 From inside of transifex you could see if the file is translated and
 reviewed, the comments, etc.

 I can help you decide on the languages that are ready when you approach
 release.

 We could also make a call for translations to speed up the process,
 currently many languages are translated but not reviewed.

 Also, if you have friends that want to review a specific language before
 publishing, send them to me, as we need trusted reviewers for many
 languages.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

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

2019-08-26 Thread Tor Bug Tracker & Wiki
#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:   | Points:
 Reviewer:   |Sponsor:
 |  Sponsor28
-+-
Changes (by arlolra):

 * parent:  #30310 =>


--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

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

2019-08-26 Thread Tor Bug Tracker & Wiki
#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: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

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

2019-08-25 Thread Tor Bug Tracker & Wiki
#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
-+-
Changes (by dcf):

 * keywords:  l10n, snowflake-webextension, anti-censorship-roadmap-
 september => l10n, anti-censorship-roadmap-september
 * status:  needs_review => needs_information


Comment:

 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?

 What is the process for handling revisions to the source text? Will the
 translation.git repository periodically get a revised index.html, then
 make changes in that repository? Then we import those changes back into
 snowflake.git? Is there some way to notify each group about when updates
 are ready from the other side?

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

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

2019-08-22 Thread Tor Bug Tracker & Wiki
#31384: localize snowflake website
-+-
 Reporter:  emmapeel |  Owner:  (none)
 Type:  enhancement  | Status:
 |  needs_review
 Priority:  Medium   |  Milestone:
Component:  Circumvention/Snowflake  |Version:
 Severity:  Normal   | Resolution:
 Keywords:  l10n, snowflake-webextension, anti-  |  Actual Points:
  censorship-roadmap-september   |
Parent ID:  #30310   | Points:
 Reviewer:   |Sponsor:
 |  Sponsor28
-+-
Changes (by gaba):

 * keywords:  l10n, snowflake-webextension, anti-censorship-roadmap-october
 => l10n, snowflake-webextension, anti-censorship-roadmap-september


--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

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

2019-08-22 Thread Tor Bug Tracker & Wiki
#31384: localize snowflake website
-+-
 Reporter:  emmapeel |  Owner:  (none)
 Type:  enhancement  | Status:
 |  needs_review
 Priority:  Medium   |  Milestone:
Component:  Circumvention/Snowflake  |Version:
 Severity:  Normal   | Resolution:
 Keywords:  l10n, snowflake-webextension, anti-  |  Actual Points:
  censorship-roadmap-october |
Parent ID:  #30310   | Points:
 Reviewer:   |Sponsor:
 |  Sponsor28
-+-
Changes (by gaba):

 * keywords:  l10n, snowflake-webextension => l10n, snowflake-webextension,
 anti-censorship-roadmap-october
 * sponsor:   => Sponsor28


--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

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

2019-08-22 Thread Tor Bug Tracker & Wiki
#31384: localize snowflake website
--+--
 Reporter:  emmapeel  |  Owner:  (none)
 Type:  enhancement   | Status:  needs_review
 Priority:  Medium|  Milestone:
Component:  Circumvention/Snowflake   |Version:
 Severity:  Normal| Resolution:
 Keywords:  l10n, snowflake-webextension  |  Actual Points:
Parent ID:  #30310| Points:
 Reviewer:|Sponsor:
--+--
Changes (by emmapeel):

 * status:  new => needs_review


Comment:

 the translations of the web interface are available at

 https://gitweb.torproject.org/translation.git/log/?h=snowflake-website-
 indexhtml

   i.e. repo https://git.torproject.org/translation.git

   branch snowflake-website-indexhtml

 Please let me know if you can use them to provide a localized version of
 the webpage.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

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

2019-08-09 Thread Tor Bug Tracker & Wiki
#31384: localize snowflake website
--+
 Reporter:  emmapeel  |  Owner:  (none)
 Type:  enhancement   | Status:  new
 Priority:  Medium|  Milestone:
Component:  Circumvention/Snowflake   |Version:
 Severity:  Normal| Resolution:
 Keywords:  l10n, snowflake-webextension  |  Actual Points:
Parent ID:  #30310| Points:
 Reviewer:|Sponsor:
--+

Comment (by emmapeel):

 The file at https://gitweb.torproject.org/pluggable-
 transports/snowflake.git/tree/proxy/static/index.html (thanks cohosh) is
 easily translatable, but i am not sure how users will change from one
 language to the other.

 i could provide a folder with different translations of the index.html
 page to be loaded as a git submodule, if you want, i.e.:

 translations/
   index+fr.html
   index+de.html
   etc

 Then, we just need to add a little menu with the translated languages on
 top.

 what do you think?

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs