efectn/laravel-langman-gui
Composer 安装命令:
composer require efectn/laravel-langman-gui
包简介
A GUI for managing JSON translations for Laravel 9.x.
README 文档
README
Langman is a GUI for managing JSON translations for Laravel 9.x.
Originally forked from themsaid/laravel-langman-gui, but under active maintenance.
Installation
Begin by installing the package through Composer. Run the following command in your terminal:
$ composer require efectn/laravel-langman-gui
Then publish the configuration file & assets:
php artisan vendor:publish --provider=Efectn\\LangmanGUI\\LangmanServiceProvider
Usage
- Edit
routes/web.php:
Wrap routes like this.
Route::group(['prefix' => 'langman', 'middleware' => ['web']], function () { \Efectn\LangmanGUI\Manager::routes(); });
- Just Browse
Enter 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.
统计信息
- 总下载量: 10
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-04-23