This library is a simple, agnostic Xliff parser specifically written for Matecat.
composer require matecat/xliff-parser
Xliff supported versions:
- xliffToArray - converts a xliff file into an array
- replaceTranslation - replace a translation in a xliff file
You can inject your own logger (must be a LoggerInterface
implementation):
// ...
// $logger must be implement PS3 LoggerInterface
$parser = new XliffParser($logger);
If you found an issue or had an idea please refer to this section.
This project is licensed under the MIT License - see the LICENSE.md file for details