Repository navigation
Conversation
A signer can carry an optional `language` (a language code LibreSign has translations for). It is stored in the sign request metadata and used for the invitation, change/reminder and cancellation e-mails sent to that participant, including the footer and the HTML lang/dir attributes. Without a value the e-mails keep using the default language. An absent key keeps the stored language, an empty value clears it and an unknown code is rejected. The available codes are provided to the request page as the `signer_languages` initial state. Signed-off-by: no84by <50858621+no84by@users.noreply.github.com>
Add an "E-mail language" select to the signer editor on the request page. It lists the languages LibreSign ships translations for, named in the language of the requester, with "Default language" first. The select is shown only when the participant receives e-mails and more than one language is available. The chosen value is sent as the signer `language` field and restored from the signer metadata when editing. Signed-off-by: no84by <50858621+no84by@users.noreply.github.com>
|
Thanks for opening your first pull request in this repository! ✌️ |
This was referenced Nov 18, 2026
Author
|
Screenshots (test instance on main 7a8403d vs this branch, light and dark theme): Add-signer dialog: "E-mail language" select
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




Resolves: #9546, #6441
Summary
Let the requester choose, per signer, the language of the e-mails LibreSign sends to that participant (invitation, change/reminder, cancellation). Default behaviour is unchanged: without a choice the e-mails use the default language as today.
language(a language code LibreSign ships translations for), stored in the sign request metadata (metadata.language), no schema change.MailServicebuilds those e-mails withIFactory::get(libresign, $language)and callsIEMailTemplate::setLanguage(), so the footer and the HTMLlang/dirfollow the same language.Intl.DisplayNames). Codes come from the newsigner_languagesinitial state (main page and Files sidebar).How to test
language: "xx"on a signer returns "Invalid language".Validation evidence
SignerLanguageServiceTest,MailServiceTest,SignerValidatorTest,RequestSignatureServiceTest,TemplateLoaderTest; integrationPageControllerTest; VitestIdentifySigner.spec.ts,files.spec.tslint:translator-hints,vue-tscUI / Front-end changes
API / Back-end changes
languageonNewSigner;languageinSignerMetadatacomposer openapiChecklist
AI (if applicable)