[tor-bugs] #30054 [Community/Translations]: Special characters are not escaped in translations and break the build

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Apr 25 12:03:53 UTC 2019


#30054: Special characters are not escaped in translations and break the build
-------------------------------------------------+-------------------------
 Reporter:  gk                                   |          Owner:
                                                 |  emmapeel
     Type:  defect                               |         Status:  new
 Priority:  Medium                               |      Milestone:
Component:  Community/Translations               |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  TorBrowserTeam201904,                |  Actual Points:
  GeorgKoppen201904                              |
Parent ID:                                       |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by gk):

 Okay, I talked to Pike who helped me a lot (thanks for that). Mozilla does
 not have an automatic way to escape strings properly. However, they have a
 tool called `compare-locales` that is used to make sure to check for
 issues before a build breaks. See: https://developer.mozilla.org/en-
 US/docs/Mozilla/Projects/compare-locales for usage info. Moreover, I got
 told that we can run their tool by creating an `l10n.toml` to run against
 the l10n repo, with the `android-dtd` tests as defined in
 https://searchfox.org/mozilla-
 central/rev/d143f8ce30d1bcfee7a1227c27bf876a85f8cede/mobile/android/locales/l10n.toml#131-136.

 Thus, I guess instead of using their l10n repo we could point to a
 location of our choice to check for Android issues.

 emmapeel: Is that enough to get you started?

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


More information about the tor-bugs mailing list