Download the PHP package bakle/translator without Composer
On this page you can find all versions of the php package bakle/translator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download bakle/translator
More information about bakle/translator
Files in bakle/translator
Download bakle/translator
More information about bakle/translator
Files in bakle/translator
Vendor bakle
Package translator
Short Description Translate lang files to any defined languages with just a command.
License MIT
Package translator
Short Description Translate lang files to any defined languages with just a command.
License MIT
Please rate this library. Is it a good library?
Informations about the package translator
Laravel Translator
This is a package to translate any lang file inside your lang folder.
Installation
composer require bakle/translator
Configuration
This translator works with Google Translator API. First you have to create you Google Translator API Key. https://cloud.google.com/translate
Create and set the TRANSLATOR_API_KEY
environment key in your .env.
How to Use It
Note: By default, the translator will set the source lang from your app locale.
Translate all your files to French
php artisan translate --target-lang=fr
Translate a specific file
php artisan translate en/validation.php --target-lang=fr
All versions of translator with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
laravel/framework Version ^7.0|^8.0
ext-json Version *
guzzlehttp/guzzle Version ^7.4
orchestra/testbench Version ^6.23
phpunit/phpunit Version ^9.5
laravel/framework Version ^7.0|^8.0
ext-json Version *
guzzlehttp/guzzle Version ^7.4
orchestra/testbench Version ^6.23
phpunit/phpunit Version ^9.5
The package bakle/translator contains the following files
Loading the files please wait ....