laragle / translate
Laravel's localization management package.
Installs: 76
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 2
Open Issues: 3
Type:project
Requires
- php: >=7.1.0
- guzzlehttp/guzzle: ^6.3
- laravel/framework: ^5.7
This package is auto-updated.
Last update: 2024-12-21 23:34:02 UTC
README
Laragle Translate
Laragle Translate is a Laravel localization management system that will update your localization files in real-time.
You can install this package via composer using this command:
composer require laragle/translate
The package will automatically register itself.
Next, add the following environment variables into your .env
file.
LARAGLE_TRANSLATE_API_URL=https://api.translate.laragle.com LARAGLE_TRANSLATE_APP_ID=YOUR_PROJECT_APP_ID LARAGLE_TRANSLATE_APP_SECRET=YOUR_PROJECT_APP_SECRET
You can get your PROJECT_APP_ID & PROJECT_APP_SECRET by create a project here
Importing Translations
You can import your existing localization file using the below artisan command.
php artisan laragle:push-translations
License
The MIT License (MIT). Please see License File for more information.