pontoon icon indicating copy to clipboard operation
pontoon copied to clipboard

Add proper checks for XML/HTML tags

Open mathjazz opened this issue 2 years ago • 0 comments

We currently don't enforce any XML/HTML checks.

There's Translate Toolkit checks: http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/pofilter_tests.html#pofilter-tests-xmltags

But they can be disabled and bypassed, and errors & warnings are never stored into the DB. We also don't run any checks on PO files on sync, file upload or submission through batch actions.

We also have HTML checks in the external linter: https://github.com/mozilla-l10n/mozl10n-linter/blob/main/l10n/android_l10n.py

mathjazz avatar Sep 05 '23 14:09 mathjazz