Esysteme / translator

Services to translate strings, Like GoogleTranslate and BingTranslate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Translator services

Latest Version Software License Build Status Code Coverage Quality Score Total Downloads

Services that can be used to translate strings

Install

The first thing you need to do is to install a HTTP client. Please read HTTPlug quickstart. When the client is installed you may install this package with composer by running:

composer require php-translation/translator

Intro

$translator = new Translator();
$translator->addTranslatorService(new GoogleTranslator('api_key'));

echo $translator->translate('apple', 'en', 'sv'); // "äpple"

About

Services to translate strings, Like GoogleTranslate and BingTranslate

License:MIT License


Languages

Language:PHP 100.0%