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

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



#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 eighthave):

 I think it is important to have a CI test that ensures that the
 translations aren't breaking anything.  For F-Droid, I wrote an emulator
 test that loads all strings in all locales.  It has found many crasher
 bugs.  Feel free to take it under the license you need, it will need some
 tweaking to work in a different app (it is GPLv3+ in F-Droid):
 https://gitlab.com/fdroid/fdroidclient/blob/master/app/src/androidTest/java/org/fdroid/fdroid/LocalizationTest.java

 IMHO, the translation tool should properly escape the translator's input
 whenever possible.  I believe Weblate does a pretty good job of this.
 Weblate checks are also quite useful for this kind of thing

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/30054#comment:12>
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