https://github.com/efectn/laravel-langman-gui
A GUI for managing JSON translations for Laravel 9.x.
https://github.com/efectn/laravel-langman-gui
laravel localization multilingual translations
Last synced: about 1 month ago
JSON representation
A GUI for managing JSON translations for Laravel 9.x.
- Host: GitHub
- URL: https://github.com/efectn/laravel-langman-gui
- Owner: efectn
- License: mit
- Created: 2020-04-24T21:26:34.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-04-23T15:26:57.000Z (about 4 years ago)
- Last Synced: 2025-02-07T11:35:28.634Z (over 1 year ago)
- Topics: laravel, localization, multilingual, translations
- Language: PHP
- Homepage:
- Size: 887 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
Laravel Language Manager
Langman is a GUI for managing JSON translations for Laravel 9.x.
Originally forked from [themsaid/laravel-langman-gui](https://github.com/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
1. Edit `routes/web.php`:
Wrap routes like this.
```php
Route::group(['prefix' => 'langman', 'middleware' => ['web']], function () {
\Efectn\LangmanGUI\Manager::routes();
});
```
2. 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.