Sync other languages with a source language using php artisan language:sync
!
That'll add all missing translations and remove those that are not in the
source language anymore. It supports both JSON files and multi-dimensional
PHP arrays!
You can install the package using Composer:
composer require snoeren-development/laravel-language-sync
This package requires at least PHP 8.0 and Laravel 8.
Run php artisan language:sync {main language} {targets}
to sync the targets
with the main language. You can specify more than one target at once. It is
recommended to backup your files or stash/commit files before running this
command.
The MIT license. See LICENSE for more information.