A tool checking packages for compliance with the policies https://github.com/phpbb/phpbb-translation-policies
PHP CSS HTML
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/Phpbb/TranslationValidator
tests
.gitignore
.travis.yml
README.md
composer.json
composer.lock
composer.phar
license.txt
phpunit.xml

README.md

phpBB Translation Validator Extension

Allows to validate phpBB language packages.

Requirement

This extension requires php 5.3.3 or later to be set up.

Installation for validating a language package locally

Note: the validator only works when you have the source language pack in your directory (default source language is en).

  1. Download the package.
  2. Run php composer.phar install to download the dependencies
  3. Run php src/Phpbb/TranslationValidator/PhpbbTranslationValidator.php to get information how to run the validator

Installation for validating a language package on TravisCI

  1. Add the TranslationValidator as a dependecy:

    {
        "require-dev": {
            "phpbb/translation-validator": "1.3.*"
        }
    }
    
  2. Add the php vendor/bin/PhpbbTranslationValidator.php call you run locally to your .travis.yml

Tests and Continuous Intergration

Build Status

We use Travis-CI as a continous intergtation server and phpunit for our unit testing. See more information on the phpBB development wiki.

License

GPLv2