2017 © Pedro Peláez
 

library gtranslator

Google Translation for Laravel

image

chaibi/gtranslator

Google Translation for Laravel

  • Thursday, September 28, 2017
  • by BluePen Labs
  • Repository
  • 1 Watchers
  • 3 Stars
  • 78 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 30 % Grown

The README.md

gTranslator

Installation

Run the command below to install via Composer, (*1)

composer require chaibi/gtranslator

Then add this line to your providers in config/app.php :, (*2)

Chaibi\gTranslator\ServiceProvider::class,

And finally :, (*3)

php artisan translate

You will be prompted to choose the source language (Default: app.locale config value) then you will be prompted again to enter the destination language (Default: app.fallback_locale config value), and that's it !, (*4)

gTranslator will create a new folder with the destination language, and copy the source files to be translated there but with new translated values., (*5)

gTranslator detects :params and don't translate them. For example : "Welcome to :site !" with :site = home will give you in french "Bienvenue à home"., (*6)

If you have extra directories where you have translations, different than resources/lang folder, please run, (*7)

php artisan vendor:publish

and add your directories paths in the gTranslator newly created config file., (*8)

Please feel free to share with me your thoughts and suggestions., (*9)

The Versions

28/09 2017

dev-master

9999999-dev

Google Translation for Laravel

  Sources   Download

The Requires

 

by Chaibi Alaa

28/09 2017

1.1.2

1.1.2.0

Google Translation for Laravel

  Sources   Download

The Requires

 

by Chaibi Alaa

28/09 2017

dev-release-1.1.1

dev-release-1.1.1

Google Translation for Laravel

  Sources   Download

The Requires

 

by Chaibi Alaa

28/09 2017

1.1.1

1.1.1.0

Google Translation for Laravel

  Sources   Download

The Requires

 

by Chaibi Alaa