Skip to content

Services to translate strings, Like GoogleTranslate and BingTranslate

License

Notifications You must be signed in to change notification settings

sboden/translator

 
 

Repository files navigation

Translator services

Latest Version Software License 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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%