potrans icon indicating copy to clipboard operation
potrans copied to clipboard

Argument #1 ($translation) must be of type string, null given

Open gemal opened this issue 3 years ago • 2 comments

ERROR: Gettext\Translation::translate(): Argument #1 ($translation) must be of type string, null given, called in vendor\om\potrans\src\commands\DeepLTranslatorCommand.php on line 121 on vendor\gettext\gettext\src\Translation.php at 173

if you run a command like: php vendor/bin/potrans deepl --apikey=XXX --from=en-us --to=sv test.po out

I accidentally wrote en-us in the from

gemal avatar Sep 09 '22 07:09 gemal

+1

chrfs avatar Oct 31 '22 21:10 chrfs

+1

gianfrancolombardo avatar Dec 06 '22 17:12 gianfrancolombardo