Skip to content

Commit 5e0a028

Browse files
authored
Merge pull request #22 from JSignPdf/fix/set-user-language-hardcoded
fix: set user language hardcoded
2 parents 3596031 + 9f3d2f0 commit 5e0a028

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Sign/JSignService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ private function commandSign(JSignParam $params)
127127
$this->throwIf(!file_exists($jSignPdf), 'Jar of JSignPDF not found on path: '. $jSignPdf);
128128

129129
$password = escapeshellarg($params->getPassword());
130-
return "$java -jar $jSignPdf $pdf -ksf $certificate -ksp {$password} {$params->getJSignParameters()} -d {$params->getPathPdfSigned()} 2>&1";
130+
return "$java -Duser.language=en -jar $jSignPdf $pdf -ksf $certificate -ksp {$password} {$params->getJSignParameters()} -d {$params->getPathPdfSigned()} 2>&1";
131131
}
132132

133133
private function javaCommand(JSignParam $params)

0 commit comments

Comments
 (0)