2017 © Pedro Peláez
 

library transvel

Automtatic translation using google api for laravel

image

bradreed/transvel

Automtatic translation using google api for laravel

  • Monday, June 25, 2018
  • by bradreed
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Transvel

This package allows you to convert all files in resources/lang/en folder to required languages automatically. Its easy to configure and run simple command., (*1)

supports laravel/framework": "5.2.*

Dependencies

This package uses Dedicated Google Translate, (*2)

Installation

Package can be installed using composer by adding to "require" object, (*3)

"require": {
    "vijaytupakula/transvel": "dev-master"
}

now run composer update, (*4)

or from console:, (*5)

composer require vijaytupakula/transvel dev-master

now lets add class loader to providers array in config/app.php file, (*6)

Vijaytupakula\Transvel\TransvelServiceProvider::class

once the class loader is added, try to run php artisan list this should show php artisan translate command., (*7)

Configuration

Now add your available langueges in the config/app.php as follows, (*8)

'locales' => ['en' => 'English', 'fr' => 'French', 'it' => 'Italian'],

usage

Run php artisan translate : this command fetches all the files from resources/lang/en folder and then creates the files in each folders that are added as locales in app/config.php with translation using google api., (*9)

Contact

Please feel free to contact me if you have problem using it. It works great for me :), (*10)

The Versions

25/06 2018

dev-master

9999999-dev

Automtatic translation using google api for laravel

  Sources   Download

MIT

The Requires

 

by Brad Reed

06/08 2016

1.0

1.0.0.0

Automtatic translation using google api for laravel

  Sources   Download

MIT

The Requires

 

by Vijay Kumar