google-translate-php
google-translate-php copied to clipboard
🔤 Free Google Translate API PHP Package. Translates totally free of charge.
I am a user in mainland China. I tried to update the default translation address to https://translate.google.cn/, but setUrl didn't work. Is it redirected to google.com by default? Need to...
i want to translate some words in one time . how to achieve it.
There is a difference in the Brazilian translation. I'm using the following encoding: $tr = new GoogleTranslate(); $tr->setSource('en'); $tr->setTarget('pt-BR'); echo $tr->translate('Like a platypus. Only you mumbled in your sleep.'); Wrong...
Locally it works perfectly for me, on the server I can't make it work I get Error 500, what could be happening ??? (The server has the latest version of...
This MR adds configuration files `.gitattributes` and `.editorconfig` It also fixes some typos on README.md, removes a warning regarding PHPUnit, and also uses a dedicated PHPUnit assertion. **PS.:** I know...
Translation of rather long texts fails, I had to write smth like ``` function Translate($in) { $tr = new GoogleTranslate('en'); return $tr->translate($in); } $arr = explode("\n", $in); $max = 0x400;...
Hello, I have a randomly 403, I already try this fix https://github.com/Stichoza/google-translate-php/issues/119#issuecomment-558078133 But this error is random, for example I am on the foreach loop and I have this error...
For me stop working without this fix
Hi, How can I translate string having dynamic variables/attributes, something like below? `Here's your {{ value }} gift card for {{ shop }}!` Just want to translate text which is...