deepl-php
deepl-php copied to clipboard
Official PHP library for the DeepL language translation API.
Per, issue #27 DeepL PHP library now requires devs to add ``` require __DIR__ . '/../vendor/autoload.php'; ``` prior to instantiating the translator. In my composer.json, I had my constraints set...
$usage = $translator->getUsage(); DeepL\ConnectionException: Operation timed out after 10001 milliseconds with 0 bytes received in /var/www/vendor/deeplcom/deepl-php/src/HttpClient.php:200
It would be great if the error messages would be translatable through `gettext`, eg., `_("Error message").'. '._("Language").' '.$lang.' '._("not supported")`.
Hi @daniel-jones-deepl, I discover another bug with the `TranslateTextOptions::TAG_HANDLING => xml` (But different from https://github.com/DeepLcom/deepl-php/pull/43#issue-2146235966) Translating FR to ES ``` En seulement 4 mois, l’établissement a généré 30k€ de ingresos...
This adds basic CI to the project. - Checks for DeepL copyright header on PHP source files - Formatting/linting with `phpcs` - Builds and publishes the Dockerfile - Secret detection...
Hello, we use DeepL with tag_handling="html" but the problem is that output of html is changed e.g some of tags are moved to other positions. How can we solve that...