snoeren-development/laravel-language-sync

This package is abandoned and no longer maintained. No replacement package was suggested.

Sync your languages with your main language!

v2.3.0 2023-02-17 15:23 UTC

This package is auto-updated.

Last update: 2024-04-17 17:51:14 UTC


README

Latest version on Packagist Software License Downloads

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.