Skip to content

Filipponik/laravel-translate-analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Translate analyzer for Laravel

Installing

Install package

composer require filipponik/laravel-translate-analyzer --dev

Add service provider to your config/app.php file:

...
    'providers' => [
        ...
        \Filipponik\LaravelTranslateAnalyzer\Providers\TranslateServiceProvider::class,
    ],
...

Usage

If you want to get duplicated values in your lang files, use command below:

php artisan translate:check-duplicates

If you want to analyze your code and fill lang files, use command below:

php artisan translate:fill-files