This package lets you add inline translation to your Laravel application. Just click on a translation variable, change it's value and save the new value.
You can install the package via composer as a dev dependency:
composer require beyondcode/laravel-inline-translation --dev
The package is enabled by default - so all you need to do is visit your application in the browser and look for translation keys.
Please do NOT use this package in production. Updating translation keys will save the updated values in the filesystem. This package is only intended during the development.
You can disable inline translation by setting an environment variable called INLINE_TRANSLATION_ENABLED
to false
.
I tested this package with a couple of our client projects as well as with some open source Laravel projects. Translation variables appear throughout very different parts of your application, so there is a chance that this is not working for your specific setup.
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email marcel@beyondco.de instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.