I was able to solve this by adding
CommandletArguments += TEXT(" -UNATTENDED");
to FLocalizationCommandletProcess::Execute in Engine\Source\Editor\LocalizationCommandletExecution\Private\LocalizationCommandletExecution.cpp
It seems the comandlet is trying to open a message box, but as its running via the UnrealEditor-cmd.exe, that’s not possible.