bariew/laravel-translator-cli

Laravel command that interactively helps you import missing keys.

dev-master 2020-03-30 13:17 UTC

This package is auto-updated.

Last update: 2024-11-29 05:57:27 UTC


README

Laravel command that interactively helps you find missing keys.

Installation

Run:

composer require bariew/laravel-trasnlator-cli

Add the service provider into your Laravel app (app/config/app.php):

'providers' => array(
    ...
    'Bariew\Translator\TranslatorServiceProvider'
    ...
)

That's it!

Usage

php artisan translator:generate

Warning: Saving translation changes to disk will overwrite all lang files.

Features

The Laravel Translator command allows you to:

  • Check for missing translation lines.
  • Save changes to disk.