PhpDev.App
themsaid/laravel-langman-gui

themsaid/laravel-langman-gui

Stars: 516

Forks: 51

Pull Requests: 36

Issues: 36

Watchers: 15

Last Updated: 2022-12-06 19:59:25

A GUI for managing JSON translation files in your laravel projects.

License: MIT License

Languages: PHP

Laravel Language Manager

Langman is a GUI for managing your JSON language files in a Laravel project.

Laravel Langman
Latest Stable Version Total Downloads License

Installation

Begin by installing the package through Composer. Run the following command in your terminal:

$ composer require themsaid/laravel-langman-gui

Once done, add the following line in your providers array of config/app.php:

Themsaid\LangmanGUI\LangmanServiceProvider::class

Then publish the configuration file & assets:

php artisan vendor:publish --provider=Themsaid\\LangmanGUI\\LangmanServiceProvider

Usage

Once you have added the Service Provider point your browser to http://project.dev/langman, using this interface you'll be able to browse translation keys in different languages, add/remove keys, scan your project files for missing translations, and finally save your changes to the language JSON files.

Backup

Langman stores a backup of your entire resources/lang directory into storage/langmanGUI, you can use restore the original files using this backup in case anything went wrong.