Aldi Thanks For Google and Stackoverflow.

API Gratis Google Translate

12 sec read

informasi min

Kamu Dapat menggunakan api google translate  dari Github Berikut :

https://github.com/Stichoza/google-translate-php

Contoh Cooding :

$tr = new GoogleTranslate(); // Translates to 'en' from auto-detected language by default
           $tr->setSource('en'); // Translate from English
           $tr->setSource(); // Detect language automatically
           $tr->setTarget('id'); // Translate to Georgian

           echo $tr->translate('hello world');

Output :

Halo Dunia

Aldi Thanks For Google and Stackoverflow.

Leave a Reply

Your email address will not be published. Required fields are marked *

×

Thank you for visiting this blog, don’t forget to comment here

 

ALDI
Aldi@index.my.id