snoeren-development / laravel-language-sync
Sync your languages with your main language!
Fund package maintenance!
useplink.com/payment/WS4WRCfCULr1tFHkVklT2
Installs: 603
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 2
Open Issues: 0
Type:laravel-plugin
Requires
- php: ^8.0
- illuminate/support: ^8.0|^9.0|^10.0
Requires (Dev)
- orchestra/testbench: ^7.0
- pestphp/pest-plugin-laravel: ^1.1
README
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!
Installation
You can install the package using Composer:
composer require snoeren-development/laravel-language-sync
Requirements
This package requires at least PHP 8.0 and Laravel 8.
Usage
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.
Credits
License
The MIT license. See LICENSE for more information.