Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 1.22 KB

CONTRIBUTING.md

File metadata and controls

36 lines (26 loc) · 1.22 KB

Contributing

Contributions are welcome and will be fully credited.

We accept contributions via Pull Requests on Github.

How can I add a language in this project ?

  • fork this repository
  • create a directory in src with the short name of the language (ex: fr for French) from ISO-639-1 ( see Wikipedia )
  • copy these four files of the English version with your translation : from script/en directory
  • run PHP-cs-fixer
    • if installed to global, run php-cs-fixer fix.
    • if installed to project local, run vendor/bin/php-cs-fixer fix.
  • add a pull request with the name of the language
    • ex: [fr] New language

How can I fix a file ?

  • fork this repository
  • update the file
  • run PHP-cs-fixer
    • if installed to global, run php-cs-fixer fix.
    • if installed to project local, run vendor/bin/php-cs-fixer fix.
  • add a pull request with the name of the language
    • ex: [fr] Update validation for number in validation

Status of files

  • todo.md

Update todo file

php script/todo.php