108

GitHub - themsaid/laravel-langman-gui: A GUI for managing JSON translation files...

 6 years ago
source link: https://github.com/themsaid/laravel-langman-gui
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Laravel Language Manager

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

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.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK