Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Find the differences in all other languages!

License

Notifications You must be signed in to change notification settings

snoeren-development/laravel-language-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Language Sync

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.