codappix / xliff-linter
Codappix XLIFF linter
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 0
pkg:composer/codappix/xliff-linter
Requires
- symfony/console: >= v3.0.0 <= v4.1
- symfony/translation: >= v3.3.17 <= v4.1
This package is not auto-updated.
Last update: 2022-02-01 13:13:39 UTC
README
Abandoned, use xmllint instead, e.g.:
apk --no-cache add libxml2-utils
wget https://raw.githubusercontent.com/symfony/translation/v4.1.1/Resources/schemas/xliff-core-1.2-strict.xsd
xmllint --schema xliff-core-1.2-strict.xsd --noout $(find localPackages -name '*.xlf')
Where localPackages is the folder containing your custom code.
Old description:
Symfony provides a translation package which delivers an XLIFF-Linter.
This packages provides a binary wrapper to lint xliff files using this linter.
Just require the package and call ./vendor/bin/xlifflinter <folder|file>.
All further information are available in official documentation of symfonies translation package: https://symfony.com/doc/current/translation/lint.html