[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #33002 [Applications/GetTor]: Localized binaries not working for some locales



#33002: Localized binaries not working for some locales
---------------------------------+------------------------------
 Reporter:  cohosh               |          Owner:  cohosh
     Type:  defect               |         Status:  needs_review
 Priority:  High                 |      Milestone:
Component:  Applications/GetTor  |        Version:
 Severity:  Normal               |     Resolution:
 Keywords:                       |  Actual Points:
Parent ID:                       |         Points:  2
 Reviewer:                       |        Sponsor:
---------------------------------+------------------------------
Changes (by cohosh):

 * status:  assigned => needs_review


Comment:

 Here's a merge request for this ticket:
 https://dip.torproject.org/cohosh/gettor/merge_requests/4

 As described in the commit messages, these are the rules for chosing a
 locale:
 - if only the language code is given, choses the regionalization that
 occurs first in the locale list (e.g., "en" --> "en-US"
 - if regionalization for the language is *not* present, choses the
 generalized language or a different regionalization (e.g. "pt-PT" --> "pt-
 BR")
 - parses both the subject and body looking for the most specific
 regionalization
 - defaults to en-US if no available language is found

 It might be good to include '''all''' available regionalizations if no
 specific one is given (e.g., "es" --> "es-AR" and "es-ES"), but that would
 probably require a re-examination of how to structure the gettor message
 body so that the distinction is clear. I'll leave that for a future ticket
 for now.

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