laravel-i18n-tool maintained by joyching
Laravel i18n Tool
Installation
Run composer require to install the package.
$ composer require joyching/laravel-i18n-tool
Finally add the following line to the providers array of your config/app.php file:
Joyching\I18n\I18nServiceProvider::class
Configuration
Publish configuration in Laravel 5
$ php artisan vendor:publish --provider="Joyching\I18n\I18nServiceProvider"
Export
Export the all i18n files to .csv files
$ php artisan i18n-tool:export
Export specific locale i18n files to .csv file, example: en
$ php artisan i18n-tool:export --locale=en
It will export .env files in laravel project storage/app/i18n-exports folder