You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
| $text | Text to be translated. Only UTF8-encoded plain text is supported. The parameter may be specified as an Array and translations are returned in the same order as they are requested. Each of the array values may contain multiple sentences. Up to 50 texts can be sent for translation in one request. |
68
-
| $sourceLang | Language of the text to be translated. <br>default: de|
68
+
| $sourceLang | Language of the text to be translated. <br>default: "" (DeepL will auto-detect)|
69
69
| $targetLang | The language into which the text should be translated. <br> default: en |
70
70
| $tagHandling | Sets which kind of tags should be handled. Options currently available: "xml" |
71
71
| $ignoreTags | Array of XML tags that indicate text not to be translated. <br> default: null |
@@ -110,7 +110,7 @@ You can now check how much you translate, as well as the limit:
110
110
$usageArray = $deepl->usage();
111
111
112
112
echo 'You have used '.$usageArray['character_count'].' of '.$usageArray['character_limit'].' in the current billing period.'.PHP_EOL;
0 commit comments