Create translation json files containing all project needed translations
sdlab/laravel-translation-files-generator is a Laravel package for create translation json files containing all project needed translations.
It currently has 1 GitHub stars and 99 downloads on Packagist.
Install it with composer require sdlab/laravel-translation-files-generator.
Discover more Laravel packages by sdlab
or browse all Laravel packages to compare alternatives.
Last updated
Very simple command which generate missing keys in translation files. Parse blade, and laravel files. Compatible with laravel 6.x and 7.x.
Note: grep command must be available. It is used to search translations in files.
composer require --dev sdlab/laravel-translation-files-generator
php artisan translation:generate-files --locale=fr --locale=en --origin=fr
The command will parse all the translation function calls from blade and php files, and add the missing one in the specified files transations files.
The MIT License (MIT). Please see License File for more information.