potrans
potrans copied to clipboard
Argument #1 ($translation) must be of type string, null given
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
+1
+1