Allows to validate phpBB language packages.
This extension requires php 5.3.3 or later to be set up.
Note: the validator only works when you have the source language pack in your directory (default source language is en
).
- Download the package.
- Run
php composer.phar install
to download the dependencies - Run
php src/Phpbb/TranslationValidator/PhpbbTranslationValidator.php
to get information how to run the validator
-
Add the TranslationValidator as a dependecy:
{ "require-dev": { "phpbb/translation-validator": "1.3.*" } }
-
Add the
php vendor/bin/PhpbbTranslationValidator.php
call you run locally to your.travis.yml
We use Travis-CI as a continous intergtation server and phpunit for our unit testing. See more information on the phpBB development wiki.