Download the PHP package bambamboole/laravel-translation-dumper without Composer
On this page you can find all versions of the php package bambamboole/laravel-translation-dumper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bambamboole/laravel-translation-dumper
More information about bambamboole/laravel-translation-dumper
Files in bambamboole/laravel-translation-dumper
Package laravel-translation-dumper
Short Description A laravel package to dump missing translation keys into the translation files
License MIT
Homepage https://github.com/bambamboole/laravel-translation-dumper
Informations about the package laravel-translation-dumper
Laravel Translation Dumper
This package provides an option to extend Laravels Translator to write missing
translation keys to their respective translation files.
This is especially useful if you have dynamic translation keys where static dumpers do not work.
Installation
You can install the package via composer.
Since this package should only be used in development, you should add the --dev
flag.
Usage
Workflow
Just write your templates and use the __()
helper as usual with your preferred
translation key pattern. As soon as you visit the page, the missing translation keys,
they will be written to the respective translation files in the structure that the first
part of the key is the file name and the rest is the nested path of a PHP array.
As value it takes the translation key itself prefixed by a configurable prefix.
Testing
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Manuel Christlieb
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-translation-dumper with dependencies
illuminate/support Version ^8.0|^9.0|^10.0|^11.0
illuminate/translation Version ^8.0|^9.0|^10.0|^11.0