Extract XLIFF files from HMTL templates.
Author: Carsten Walther
Date: January, 18th 2021
- PHP min. 7.3
- Composer
Download this repository. Make shure you have installed composer. Unzip the package e.g. to /var/www/xliff-gen/
an run
composer install
Done.
Add a file config.php
into your root folder with the following content:
<?php
define('APIKEY', 'your watson api key');
If everything is done you can run this locally via the build in php webserver. You have to call
php -S localhost:8000
Open your browser and put localhost:8000 into the address bar and hit enter. Now generate your xliff files.