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