Skip to content

nickv-phpbb/phpbb-translation-validator

 
 

Repository files navigation

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

About

A tool checking packages for compliance with the policies https://github.com/phpbb/phpbb-translation-policies

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 98.9%
  • CSS 1.1%