Repository navigation
Add a shared signer-language layer with frozen per-signer locales - #204
Draft
ppstanchev wants to merge 9 commits into
Draft
ppstanchev wants to merge 9 commits into
ppstanchev wants to merge 9 commits into
Conversation
|
@ppstanchev is attempting to deploy a commit to the Basic Intelligence Team on Vercel. A member of the Team first needs to authorize it. |
[High impact] The reviewed changes appear safe to merge. SummaryAdds shared English and Spanish signer text, with languages frozen when an envelope is sent.
|
ppstanchev
force-pushed
the
i18n/signer-language-layer
branch
from
November 22, 2026 22:32
b50a9fe to
8bfcc9b
Compare
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.
This draft implements the shared signer-language layer discussed in #200. A sender can choose Spanish for one signer and English for another; sending freezes those choices so later installation-default changes cannot alter an existing signing session or its consent evidence.
Rebased onto upstream main at
4d16b882ae87a227fccb062a03244a4399473606. The five commits from @jpalmae’s Spanish signer work in #121 retain their authorship. Thank you for the catalogue and signer UI/email foundation. @thomassicaud’s French work in #78 is credited as a future catalogue contributor. Only English and Spanish are enabled here.Implemented across all three rounds:
Intl.PluralRules; Czech plural categories are test-only fixtures.html langdocument wrapper.Compatibility:
declinedConfirmationis restored as the original English export fromsigning-live-shell. Its previous internal use was replaced with localized strings, but downstream imports cannot be ruled out. Rendered decline screens continue using the signer’s locale.Certificate proposal for maintainer feedback: one certificate per envelope, with its frame in the sender-selected envelope language (defaulting to the installation default). Each signer’s block uses that signer’s language and includes the exact recorded consent statement and localized signing date. Separate certificate copies per language can follow if preferred. Part 11 signature meanings remain canonical English.
Validation on final commit
8bfcc9b30c2b2c0cc9a50cf913b8d64d2363c4f3: all 500 unit/workflow tests, 420 database tests and 26 production Chromium tests passed, with no skips. The full unit/workflow and database runs used isolated Node 24 Linux containers with Linux-native dependencies, Poppler and Bash 5; upstream workflow CRLF was normalized only in the disposable test copy. Typecheck, production build and PDF function-trace checks passed. Lint exits successfully with the same eight warnings in files unchanged from current upstream. Both Greptile findings have failing-before/passing-after regression evidence.Poppler 25.12.0 checks passed for the document seal and tamper detection, B-LTA seal/archive-timestamp recognition, and both signatures across successive PDF revisions. OpenSSL verifies the archive timestamp token. The additional provider-signing database check also validated both signatures. The mixed-language browser case extracts the signed PDF and checks its stamped dates against the stored date fields.
The upstream English invitation body, subject and plain text remain snapshot-identical; the intentional new
lang="en"HTML wrapper is asserted separately. The legacy certificate text snapshot also matches upstream. Newly recorded language/consent evidence and localized dates intentionally change new certificate content as described above.This PR remains a draft at the owner’s request. Czech, Bulgarian and French catalogues and further reviewed legal starting texts are separate work; no Czech legal text is shipped.
Note
Add a shared signer-language layer with frozen per-signer English and Spanish locales
signer_languagetoapp_settingsand language columns tosignersandenvelopes, backfilling non-draft records to English. Senders can pick per-signer languages and a certificate language in the UI and API.replaceSignersResponseSchemarequires a nullablelanguageon each signer;signerConsentRequestSchemarequireslanguage). Thesigning-live-shellmodule no longer exportsdeclinedConfirmation. New e2e coverage in signing-language.spec.ts and a mixed-language database test verify the flows.Macroscope summarized 5e2c2f6. (Automatic summaries will resume when PR exits draft mode or review begins).