Download the PHP package pezhvak/laravel-translator without Composer
On this page you can find all versions of the php package pezhvak/laravel-translator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pezhvak/laravel-translator
More information about pezhvak/laravel-translator
Files in pezhvak/laravel-translator
Package laravel-translator
Short Description A package to finally be able to localize projects without worrying about updating strings.
License MIT
Homepage https://github.com/pezhvak/laraveltranslator
Informations about the package laravel-translator
laravel-translator
Installation
You can install the package via composer:
You can publish the config file with:
make sure you add these environment variables to your .env
file.
Usage
First migrate the database:
Now you can run the following command to detect changes and translate strings:
Sometimes you want to translate only few locales, you can do this by providing them in the first parameter (separate them by comma if you want to provide multiple locales):
If you add a new locale, it won't get translated since there is no changed string in the default language, to do this force the translation:
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Pezhvak
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-translator with dependencies
spatie/laravel-package-tools Version ^1.9.2
illuminate/contracts Version ^9.0|^10.0
deeplcom/deepl-php Version ^v0.4.0