druc / laravel-langscanner
Scan missing language translations.
Fund package maintenance!
druc
Installs: 21 759
Dependents: 0
Suggesters: 0
Security: 0
Stars: 34
Watchers: 3
Forks: 6
Open Issues: 0
Requires
- php: ^8.0
- ext-json: *
- illuminate/contracts: ^9.0|^10.0|^11.0
- spatie/laravel-package-tools: ^1.11.3
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.3
- nunomaduro/collision: ^6.2
- orchestra/testbench: ^7.02|^9.0
- phpunit/phpunit: ^9.5|^10.1
This package is auto-updated.
Last update: 2024-10-25 21:26:46 UTC
README
This package scans your project for missing translation keys and then writes them into individual json files for you to fill in.
Installation
You can install the package via composer:
composer require druc/laravel-langscanner
Usage
Scan your project for missing translations:
// outputs and writes translations for the specified language (dutch)
php artisan langscanner nl
// outputs and writes translations in the existing {language}.json files
php artisan langscanner
Credits
This package is based on joedixon/laravel-translation and themsaid/laravel-langman-gui
License
The MIT License (MIT). Please see License File for more information.