Skip to content

Manage all your Laravel shortcode-, string- and Vue i18n translations. Scan for new translations in your code, sync between languages and create Vue i18n translation sets.

License

stefro/laravel-translation-genie

Repository files navigation

This package is heavily under construction. DO NOT USE!

Very short description of the package

Latest Version on Packagist Build Status Quality Score Total Downloads

This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors.

Installation

You can install the package via composer:

composer require involvedgroup/laravel-translation-genie

Usage

There are two artisan commands: php artisan translation-genie:update-masterfiles This will scan al PHP AND JS files and search for translation keys. It will store them in the default Laravel language JSON files.

php artisan translation-genie:update-js-files This command needs to be run AFTER the Laravel master JSON files are translated. With this command, a JS translation file will be created that will be used by vue-i18n.

Testing

composer test

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 stef.rouschop@involved.group instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

Laravel Package Boilerplate

This package was generated using the Laravel Package Boilerplate.

About

Manage all your Laravel shortcode-, string- and Vue i18n translations. Scan for new translations in your code, sync between languages and create Vue i18n translation sets.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages