beyondcode / laravel-inline-translation
Add inline translation capabilities to your Laravel application.
Installs: 1 939
Dependents: 0
Suggesters: 0
Security: 0
Stars: 105
Watchers: 8
Forks: 5
Open Issues: 2
Requires
- php: ^7.1
Requires (Dev)
- larapack/dd: ^1.0
- orchestra/testbench: ^3.6
- phpunit/phpunit: ^7.0
This package is auto-updated.
Last update: 2021-05-08 01:13:42 UTC
README
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.
Installation
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.
Disabling Inline Translation
You can disable inline translation by setting an environment variable called INLINE_TRANSLATION_ENABLED
to false
.
Disclaimer
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.
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email marcel@beyondco.de instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.