Add inline translation capabilities to your Laravel application.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
resources/views
src
tests
.editorconfig
.gitattributes
.gitignore
.scrutinizer.yml
.styleci.yml
.travis.yml
CHANGELOG.md
CONTRIBUTING.md
LICENSE.md
README.md
composer.json
phpunit.xml.dist

README.md

Laravel Inline Translation

Latest Version on Packagist Build Status Quality Score Total Downloads

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.

Example output

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.