Skip to content

Translate readme#28

Merged
eljojo merged 5 commits into
mainfrom
translate-readme
Feb 11, 2026
Merged

Translate readme#28
eljojo merged 5 commits into
mainfrom
translate-readme

Conversation

@eljojo

@eljojo eljojo commented Feb 10, 2026

Copy link
Copy Markdown
Owner

This pull request introduces full support for multilingual recovery bundles, allowing each friend to receive their bundle in their preferred language. The changes span documentation, backend bundle generation, and end-to-end test updates to ensure compatibility with translated filenames and content. The most important changes are grouped below:

Multilingual Bundle Support

  • Added documentation and CLI/project configuration for multilingual bundles, supporting English, Spanish, German, French, and Slovenian. Friends can now receive personalized bundles in their chosen language, with translated README files and web UI options. (docs/guide.md) [1] [2]
  • Updated bundle generation logic in internal/bundle/bundle.go to select the correct language per friend, propagate language to all bundle files, and generate translated filenames for README.txt and README.pdf. (internal/bundle/bundle.go) [1] [2] [3] [4] [5] [6] [7] [8]

Test Infrastructure Updates

  • Enhanced e2e test helpers to support detection and extraction of README files in any supported language, ensuring tests work regardless of translation. (e2e/helpers.ts) [1] [2]
  • Updated all e2e test cases to use the new helper for locating README files, replacing hardcoded references to README.txt. (e2e/recovery.spec.ts, e2e/qr-scanner.spec.ts) [1] [2] [3] [4] [5] [6] [7] [8] [9]

Translation-Aware Extraction

  • Improved extraction logic for recovery words to match translated headings and filenames, ensuring robust parsing across languages. (e2e/helpers.ts)

UI Translation Updates

  • Updated Spanish translation for the creation page title in end-to-end tests. (e2e/creation.spec.ts)

Codebase Integration

  • Added import of the new translations module to bundle generation and README logic, enabling translation-aware file creation and verification. (internal/bundle/bundle.go, internal/bundle/readme.go) [1] [2]
image

This also translates the BIP39 lists, so they can actually be said over the phone. It uses official translations too whenever possible.

Fixes #10

the idea is for it to be possible for a family member to share your keys
over the phone
@eljojo eljojo marked this pull request as ready for review February 10, 2026 23:19
@eljojo eljojo merged commit 01b17a1 into main Feb 11, 2026
1 check passed
@eljojo eljojo deleted the translate-readme branch February 11, 2026 02:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Translate Readme

1 participant