mlntn/laravel-translation-diff

Diff and fix Laravel translation files

1.0.0 2018-04-23 03:09 UTC

This package is not auto-updated.

Last update: 2024-12-10 19:16:44 UTC


README

This library finds missing translations in Laravel language files and can add them across all languages. You will need to complete the translation, but this tool removes the tedious manual comparing of language files across translations.

Usage

Compare language files across all translations and show a report of inconsistencies

php artisan lang:diff

Compare language files across all translations and write the corrected files with // @todo for each translation that needs to be added

php artisan lang:diff --fix