Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.
/ xliff-linter Public archive

CLI Wrapper around Symfonies XLIFF-linter

License

Notifications You must be signed in to change notification settings

codappix/xliff-linter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLI Wrapper around Symfonies XLIFF-linter

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

About

CLI Wrapper around Symfonies XLIFF-linter

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages