phpbb/translation-validator

A language package validator for phpBB language packs. Language packs are required to pass the validator when submitted to the language pack database.

Installs: 1 181

Dependents: 0

Stars: 2

Watchers: 9

Forks: 3

Language: PHP

1.3.8 2015-01-23 19:00 UTC

README

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