Laravel command that interactively helps you translate missing keys.
Add the following line to your composer.json
file under require
:
"mariuzzo/laravel-translator": "1.0.*"
Then run:
composer update
Add the service provider into your Laravel app (app/config/app.php
):
'providers' => array(
...
'Mariuzzo\Translator\TranslatorServiceProvider'
...
)
That's it!
This project comes with a single command which start the translator. The translator will ask what you want to do.
php artisan translator:start
Warning: Saving translation changes to disk will overwrite all lang files.
The Laravel Translator command allows you to:
- Check for missing translation lines.
- Translate interactively missing translation lines.
- Save changes to disk.
All help are more than welcome!
-
Fork this repository.
-
Clone your fork and create a feature branch from develop.
git checkout develop git checkout -b feature-fancy-name
-
Install development dependencies.
composer update
-
Code and be happy!
-
Submit a pull request.
404 Test not found! This is the very first release, try again later, and you will find the tests.