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