chalkboard / chalkboard
Create file of traduction for project
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:Twig
Requires
- php: >=7.1
- html2text/html2text: ^4.3
Requires (Dev)
- phpunit/phpunit: ^7
README
ChalkBoard is an library/script which can create XML and YAML translates files from folder (html, twig, blade)
Installation
php: >=7.1
composer require chalkboard/chalkboard to install the library
Usage
use Chalkboard\Charkboard; $traduction = new Chalkboard(); // path is the root folder of your project it will create the files in translates/ $traduction->createXMLandYAML($path);
php script.php
ROAD MAP
- Create some special class to translate only where we identify the class
- Create translates files with multiples language with api calls
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.