https://github.com/laragle/translate
Laravel localization / translation management package.
https://github.com/laragle/translate
laravel localization management translate
Last synced: 3 months ago
JSON representation
Laravel localization / translation management package.
- Host: GitHub
- URL: https://github.com/laragle/translate
- Owner: laragle
- License: mit
- Created: 2018-07-05T04:02:57.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-06-21T17:46:02.000Z (over 3 years ago)
- Last Synced: 2024-12-10T18:30:49.790Z (about 1 year ago)
- Topics: laravel, localization, management, translate
- Language: PHP
- Homepage: https://translate.laragle.com
- Size: 186 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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:
```bash
composer require laragle/translate
```
The package will automatically register itself.
Next, add the following environment variables into your `.env` file.
```env
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](https://translate.laragle.com)
## Importing Translations
You can import your existing localization file using the below artisan command.
```bash
php artisan laragle:push-translations
```
## License
The MIT License (MIT). Please see [License File](LICENSE) for more information.