Demonstrates LocaleGuard's angular preset on XLIFF message files produced by
@angular/localize (ng extract-i18n).
localeguard check --config examples/angular-i18n-app/localeguard.config.jsonLayout (localeFormat: "xliff", set by the angular preset):
src/locale/messages.xlf # source (<source> per trans-unit)
src/locale/messages.fr.xlf # French (<target> per trans-unit)
It reports:
app.itemsmissing infr— the trans-unit has no<target>, so it's treated as untranslated.app.greetinginterpolation mismatch — the source placeholder<x id="INTERPOLATION"/>was changed to<x id="AUTRE"/>in the translation.
Supports XLIFF 1.2 (<trans-unit>) and 2.0 (<unit>). XMB/XTB is not yet
supported.