2017 © Pedro PelĂĄez
 

library translators

Allow to use an external service to update the translation

image

famousinteractive/translators

Allow to use an external service to update the translation

  • Thursday, April 20, 2017
  • by jeremy379
  • Repository
  • 2 Watchers
  • 0 Stars
  • 40 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 9 Versions
  • 0 % Grown

The README.md

translators

Open laravel project to external translation, (*1)

Basic Installation

  • composer require famousinteractive/translators  
  • Add Famousinteractive\Translators\TranslatorsServiceProvider::class in serviceProvider in config/app.php, (*2)

  • Publish the config file : php artisan vendor:publish, (*3)

  • Launch the command php artisan famousTranslators:initialize to get a clientId and ApiKey and generate config file, (*4)

Using the Database content manager

In addition of the translators, you can use the database content manager in order to manage more content by using the database, always available by the API, (*5)

  • Launch the migration : php artisan migrate, (*6)

  • Use fitrans($key = 'mypage.section1.title', [optional] $default = 'default value', [optional] $parameters = ['key' => 'value'], [optional] $lang = 'fr', [optional] $useCache = true) in the view, (*7)

Good to know

If you want to use different api key for you local and production, take care to put the famousTranslator.php config file n your gitignore, (*8)

The Versions

20/04 2017

dev-master

9999999-dev

Allow to use an external service to update the translation

  Sources   Download

GPL-3.0+

The Requires

  • php >=5.6

 

by Jérémy Dillenbourg

20/04 2017

v1.6

1.6.0.0

Allow to use an external service to update the translation

  Sources   Download

GPL-3.0+

The Requires

  • php >=5.6

 

by Jérémy Dillenbourg

19/04 2017

v1.5

1.5.0.0

Allow to use an external service to update the translation

  Sources   Download

GPL-3.0+

The Requires

  • php >=5.6

 

by Jérémy Dillenbourg

18/04 2017

V1.4

1.4.0.0

Allow to use an external service to update the translation

  Sources   Download

GPL-3.0+

The Requires

  • php >=5.6

 

by Jérémy Dillenbourg

18/04 2017

v1.3

1.3.0.0

Allow to use an external service to update the translation

  Sources   Download

GPL-3.0+

The Requires

  • php >=5.6

 

by Jérémy Dillenbourg

14/04 2017

v1.2

1.2.0.0

Allow to use an external service to update the translation

  Sources   Download

GPL-3.0+

The Requires

  • php >=5.6

 

by Jérémy Dillenbourg

12/04 2017

v1.1

1.1.0.0

Allow to use an external service to update the translation

  Sources   Download

GPL-3.0+

The Requires

  • php >=5.6

 

by Jérémy Dillenbourg

12/04 2017

v0.11

0.11.0.0

Allow to use an external service to update the translation

  Sources   Download

GPL-3.0+

The Requires

  • php >=5.6

 

by Jérémy Dillenbourg

12/04 2017

v1.0

1.0.0.0

Allow to use an external service to update the translation

  Sources   Download

GPL-3.0+

The Requires

  • php >=5.6

 

by Jérémy Dillenbourg