2017 © Pedro Peláez
 

library yii2-yandex-translate

Translate content using YandexTranslateAPI

image

pashkinz92/yii2-yandex-translate

Translate content using YandexTranslateAPI

  • Monday, May 30, 2016
  • by Pashkinz92
  • Repository
  • 1 Watchers
  • 0 Stars
  • 24 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Translate content using YandexTranslateAPI

Translate content using YandexTranslateAPI, (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require --prefer-dist pashkinz92/yii2-yandex-translate "*"

or add, (*4)

"pashkinz92/yii2-yandex-translate": "*"

to the require section of your composer.json file., (*5)

Usage

    'components' => [
         ...
         'translate' => [
             'class' => \pashkinz92\yandex\translate\Translation::className(),
             'key' => 'yandexTranslateApiKey',
         ],
         ...
     ]

Once the extension is installed, simply use it in your code by :, (*6)


$lang = Yii::$app->translate->detect('Hello !'); echo '<pre>'; var_dump($lang); echo '</pre>';

The Versions

30/05 2016

dev-master

9999999-dev

Translate content using YandexTranslateAPI

  Sources   Download

MIT

by Pavlo

extension yii2 yandex translate api

30/05 2016

1.0.2

1.0.2.0

Translate content using YandexTranslateAPI

  Sources   Download

MIT

by Pavlo

extension yii2 yandex translate api

30/05 2016

1.0.1

1.0.1.0

Translate content using YandexTranslateAPI

  Sources   Download

MIT

The Requires

 

by Pavlo

extension yii2 yandex translate api

30/05 2016

1.0.0

1.0.0.0

Translate content using YandexTranslateAPI

  Sources   Download

MIT

The Requires

 

by Pavlo

extension yii2 yandex translate api