dlukic | Posts: 46

seting user language or package language is not working

0 votes
we have our application as front end to eSignLive system. we use SDK 11 to interact with eSignLive. i'm trying to see signing ceremony in correct application culture. During user creation I have set user language like this if (ci.Name.ToLower().Contains("fr")) { lang = "FRENCH"; } else { lang = "ENGLISH"; } AccountMember member = AccountMemberBuilder.NewAccountMember(broker.Email) .WithFirstName(broker.FirstName) .WithLastName(broker.LastName) .WithAddress(address) .WithCompany(broker.BrokerageName) .WithPhoneNumber(broker.PhoneNumberWithAreaCode) .WithTitle(broker.Title) .WithLanguage(lang) .WithStatus(SenderStatus.ACTIVE).Build(); Sender sender = EslClient.AccountService.InviteUser(member); and package like this: .... System.Globalization.CultureInfo ci = new System.Globalization.CultureInfo("fr"); if(packageModel.Signers[0].UsePhoneInTwoFactorAuth) { package = PackageBuilder.NewPackageNamed(packageModel.Name) .WithEmailMessage(packageModel.Message) .DescribedAs("This is a new package") .WithSenderInfo(SenderInfoBuilder.NewSenderInfo(packageModel.Sender.Email).WithName(packageModel.Sender.FirstName, packageModel.Sender.LastName).WithTitle(packageModel.Sender.Title)) .WithLanguage(ci) ..... none of this is working. ceremony is always in English. What is wrong?

harishaidary | Posts: 1812

Reply to: seting user language or package language is not working

0 votes
Hi, If the signer has an esignlive account, the language will default to the language he has set in his account.

dlukic | Posts: 46

Reply to: seting user language or package language is not working

0 votes
i have tested this before and it worked but now is not working. i thought that something changed on the back end. did you try it? or this is from memory:). My expectation is that is if package creator did not set package lagugae it would be created under language specified in profile. If signer specifies language during package creation it would overwrite one from profile and package will be created under specified culture. Please take a look at the code above and tell me if i'm doing something wrong since its not working

harishaidary | Posts: 1812

Reply to: seting user language or package language is not working

0 votes
So you're saying that even when you are setting French as a language for the users' esignlive account, the package will default to English for this user? If so, can you share a package id as an example please.

dlukic | Posts: 46

Reply to: seting user language or package language is not working

0 votes
https://sandbox.e-signlive.ca packageId=hNYxtbmoN5T3MwtgZhuyFzspGt8= documentId=1ca247f4-2506-4c74-b62e-25311636c54a it seems when i create user user is not created under specified culture. please review code above.

harishaidary | Posts: 1812

Reply to: seting user language or package language is not working

0 votes
Hi Dejan, I am not able to reproduce your issue. I was able to successfully create a user with a specified language. The scenario that I tested was the following: 1. Create new user with French language 2. Create package with language in English 3. Open signing session for new user Result: Signing session is in French and this is expected. Did you create a support ticket to help you further troubleshoot this?

dlukic | Posts: 46

Reply to: seting user language or package language is not working

0 votes
2 important questions are u using Rest or SDK? if you using SDK please provide code snippet

harishaidary | Posts: 1812

Reply to: seting user language or package language is not working

0 votes
For the user invite, I've essentially used the same code as you. Here's my package creation code:
DocumentPackage pkg = PackageBuilder.NewPackageNamed("test language package")
    .WithSenderInfo(SenderInfoBuilder.NewSenderInfo("[email protected]"))
    .WithLanguage(new System.Globalization.CultureInfo("en"))
    .WithSigner(SignerBuilder.NewSignerWithEmail("[email protected]")
        .WithFirstName("John")
        .WithLastName("Smith")
        .SigningOrder(1))
    .WithSigner(SignerBuilder.NewSignerWithEmail("[email protected]")
        .WithFirstName("Patty")
        .WithLastName("Galant")
        .SigningOrder(0))
    .WithDocument(DocumentBuilder.NewDocumentNamed("test")
        .FromFile("C:/Users/hhaidary/Desktop/pdfs/doc1.pdf")
        .WithSignature(SignatureBuilder.SignatureFor("[email protected]")
            .AtPosition(100, 100))
        .WithSignature(SignatureBuilder.SignatureFor("[email protected]")
            .AtPosition(100, 200))
            )
    .Build();

PackageId packageId = eslClient.CreateAndSendPackage(pkg);

Debug.WriteLine(packageId);

dlukic | Posts: 46

Reply to: seting user language or package language is not working

0 votes
package id : K6AR_UtHkngV240E38IVfOAaV8I= you can see that package is created in french. On signature it says 'Signe par E 02 Broker '.... Client gets invitation to sign in French. i think this proves that package is created in French. But still designer was in English. Whatever i do designer is always in English.

harishaidary | Posts: 1812

Reply to: seting user language or package language is not working

0 votes
Ah this is for the designer... I will have to test and get back to you. From your original post, it sounded like you were talking about the signing ceremony.

harishaidary | Posts: 1812

Reply to: seting user language or package language is not working

0 votes
I am getting the correct language for the designer as well. Here's the code that I used:
EslClient eslClient = new EslClient("api_key", "https://sandbox.e-signlive.ca/api");

AccountMember member = AccountMemberBuilder.NewAccountMember("[email protected]")
    .WithFirstName("John")
    .WithLastName("Smith")
    .WithLanguage("fr")
    .WithStatus(SenderStatus.ACTIVE).Build();

Sender sender = eslClient.AccountService.InviteUser(member);

DocumentPackage pkg = PackageBuilder.NewPackageNamed("test language package")
    .WithSenderInfo(SenderInfoBuilder.NewSenderInfo("[email protected]"))
    .WithLanguage(new System.Globalization.CultureInfo("en"))
    .WithSigner(SignerBuilder.NewSignerWithEmail("[email protected]")
        .WithFirstName("John")
        .WithLastName("Smith")
        .SigningOrder(1))
    .WithSigner(SignerBuilder.NewSignerWithEmail("[email protected]")
        .WithFirstName("Patty")
        .WithLastName("Galant")
        .SigningOrder(0))
    .WithDocument(DocumentBuilder.NewDocumentNamed("test")
        .FromFile("C:/Users/hhaidary/Desktop/pdfs/doc1.pdf")
        .WithSignature(SignatureBuilder.SignatureFor("[email protected]")
            .AtPosition(100, 100))
        .WithSignature(SignatureBuilder.SignatureFor("[email protected]")
            .AtPosition(100, 200))
            )
    .Build();

PackageId packageId = eslClient.CreatePackage(pkg);

Debug.WriteLine(packageId);
I then created a sender authentication token:
POST https://sandbox.e-signlive.ca/api/authenticationTokens/sender

{
	"packageId": "GQRSD8Fnt-YW5izYa-R9Fa0U6Fg="
}
And built the following URL: https://sandbox.e-signlive.ca/auth?authenticationToken=NzI5NmJlM2QtMGE2Yy00N2Q1LTg1MWItMjNhMjE1YzQzYTYx&target=https://sandbox.e-signlive.ca/a/transaction/GQRSD8Fnt-YW5izYa-R9Fa0U6Fg=/designer I get the designer in French as expected.

dlukic | Posts: 46

Reply to: seting user language or package language is not working

0 votes
please veirfy for packageId=5tPGCMGLrS-szA4JP7y7_lKjVVo= this package is created by french user as french package

dlukic | Posts: 46

Reply to: seting user language or package language is not working

0 votes
this might need to be added: i'm using iFrame to integrate signing ceremony into our application.

harishaidary | Posts: 1812

Reply to: seting user language or package language is not working

0 votes
Can you please let me know what is not showing in the correct language? The Signing Ceremony (where the signing of documents happen) or the Designer (where the sender places the signatures)? Thank you.

dlukic | Posts: 46

Reply to: seting user language or package language is not working

0 votes
if you open the package which id i have provided you can see document that is signed. also as you can see signature is in french - meaning the package is created in french language (culture). but UI is still English. UI was also English during designing phase.

dlukic | Posts: 46

Reply to: seting user language or package language is not working

0 votes
src='https://sandbox.e-signlive.ca/auth?target=https%3A%2F%2Fsandbox.e-signlive.ca%2Ftransaction%2F5tPGCMGLrS-szA4JP7y7_lKjVVo%3D%2Fsign&loginToken=cUFqZll3ci9YVGRKZWhXNlp5RWhNNGxvQlVNWlZTajh0ZDI3Z2J6cytxdldjWmN2K2gxMFE0c2l5OGRPcjI4VWNMNE0xM3lvRkV3dlNYd3NYT3BpaWpsWFMwRldRMFI1YTFCQmNteG1ZMUpuUTBsS2QwMDJUMnhvVkUxbWJEWjZXRTVWTlhCSFZGQmtlVmRJY0hsNWNuZHNNemhTUkZSSVJEQmpVek5vUlVxZUExSDluakQzOGRKQlByazRObkpyQ09VN0xmSnBONVNpVDhkcGpjMkczdz09' above you can see iFrame src if you want to reproduce

harishaidary | Posts: 1812

Reply to: seting user language or package language is not working

0 votes
Dejan, As you can see in the screenshot, the sender of the package is [email protected] and his language is in English. Therefore, you will see the designer AND the signing ceremony in English for this particular user. Therefore I would ask you to verify your code and make sure that you are inviting your users (senders) in the correct language.

Attachments
r_mean | Posts: 1

Reply to: seting user language or package language is not working

0 votes
Settings

The sender language can be selected when creating a transaction in the advance menu where the signer email address is inputted (see attached).

If the language option is greyed out, this means the signer has a OneSpan Sign account on the same environment and the language will default to what the signer has selected as their account language.


 


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