[tor-bugs] #32650 [Community/Translations]: Check translations for bogus characters

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Mar 2 18:21:35 UTC 2020


#32650: Check translations for bogus characters
------------------------------------+--------------------------
 Reporter:  gk                      |          Owner:  emmapeel
     Type:  defect                  |         Status:  new
 Priority:  Medium                  |      Milestone:
Component:  Community/Translations  |        Version:
 Severity:  Normal                  |     Resolution:
 Keywords:                          |  Actual Points:
Parent ID:                          |         Points:
 Reviewer:                          |        Sponsor:
------------------------------------+--------------------------

Comment (by boklm):

 Replying to [comment:2 emmapeel]:
 > maybe it could use i18nspector like in tails:
 >
 > https://git-tails.immerda.ch/jenkins-tools/tree/slaves/lint_po

 It seems this script is only for checking po file. But the issue with
 #31886 and #31929 was in dtd files.

 In the script to import translations, maybe we can try to parse the dtd
 files before we commit them?

 Maybe `dtdinst` is a tool we can use for that: XML DTD to XML instance
 format converter
 https://packages.debian.org/buster/dtdinst

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


More information about the tor-bugs mailing list