diff --git a/src/Sign/JSignService.php b/src/Sign/JSignService.php index 8ba635d..fae57ce 100644 --- a/src/Sign/JSignService.php +++ b/src/Sign/JSignService.php @@ -127,7 +127,7 @@ private function commandSign(JSignParam $params) $this->throwIf(!file_exists($jSignPdf), 'Jar of JSignPDF not found on path: '. $jSignPdf); $password = escapeshellarg($params->getPassword()); - return "$java -jar $jSignPdf $pdf -ksf $certificate -ksp {$password} {$params->getJSignParameters()} -d {$params->getPathPdfSigned()} 2>&1"; + return "$java -Duser.language=en -jar $jSignPdf $pdf -ksf $certificate -ksp {$password} {$params->getJSignParameters()} -d {$params->getPathPdfSigned()} 2>&1"; } private function javaCommand(JSignParam $params)