yuchen9760

Locale Setting Not Working

0 votes
I set a package language with French.
final DocumentPackage documentPackage = packageToBuild.withLanguage(Locale.FRENCH)
Nothing changed to French except the embedded Consent pdf in the page as attached. However, I am actually expecting every single word in the page presented in French. Likewise, nothing is in French in my Contract pdf, the 'Download', 'Download All Files' and so on in the header. I wonder if it's a default behaviour with the language setting. Is it possible to change everything in French?

Approved Answer

Reply to: Locale Setting Not Working

0 votes
Hi yuchen, In order to change the language preference during Signing Ceremony, you also need to set language for each role:
final Signer signer1 = SignerBuilder.newSignerWithEmail("[email protected]" )
            	.withCustomId("Signer1")
            	.withFirstName("Signer1 first name")
            	.withLastName("Signer1 last name")
            	.withLanguage(Locale.FRENCH).build();
The Language Drop Down list in Signing Ceremony also changes all the Prompt messages as the attachment shows. Hope this could help! Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Attachments
12-27-1.png24.18 KB

Reply to: Locale Setting Not Working

0 votes
Thanks Duo. It works for me.

Reply to: Locale Setting Not Working

0 votes
Glad to help! :)

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off