chalkboard/chalkboard

There is no license information available for the latest version (v1.0.0) of this package.

Create file of traduction for project

v1.0.0 2021-06-10 08:07 UTC

This package is auto-updated.

Last update: 2024-05-11 14:41:44 UTC


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.

License

MIT