filipponik/laravel-translate-analyzer

Translating keys analyzer package for laravel

v0.0.1 2023-05-25 17:11 UTC

This package is auto-updated.

Last update: 2024-11-29 11:58:40 UTC


README

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