nietthijmen / laravel-translatetable
import & export your laravel translations to a excel spreadsheet
Fund package maintenance!
Buy Me A Coffee
Requires
- php: ^8.2
- illuminate/contracts: ^10.0||^11.0||^12.0
- phpoffice/phpspreadsheet: ^5.0
- spatie/laravel-package-tools: ^1.16
Requires (Dev)
- larastan/larastan: ^3.0
- laravel/pint: ^1.14
- nunomaduro/collision: ^8.8
- orchestra/testbench: ^10.0.0||^9.0.0
- pestphp/pest: ^4.0
- pestphp/pest-plugin-arch: ^4.0
- pestphp/pest-plugin-laravel: ^4.0
- phpstan/extension-installer: ^1.4
- phpstan/phpstan-deprecation-rules: ^2.0
- phpstan/phpstan-phpunit: ^2.0
README
Have you ever gotten 90 e-mails about changing a single translation from a customer? I have, So with this package you can give the client a easy spreadsheet to work in, the client can easily edit it from excel or google sheets, Finally you import it with 1 command, and you're done!
You can even generate fully new translations with your localisation team without any programming knowledge
Installation
You can install the package via composer:
composer require nietthijmen/laravel-translatetable
Usage:
Generating a spreadsheet
php artisan translations:generate-spreadsheet
Generating translations from your spreadsheet
php artisan translations:from-spreadsheet ~/Downloads/translations.xlsx
Credits
License
The MIT License (MIT). Please see License File for more information.