Skip to content

Translation: a panel in the channel menu, quieter lines, fastText and ELD - #224

Draft
rdrake wants to merge 1 commit into
evilnet:developfrom
rdrake:translation-redesign
Draft

rdrake wants to merge 1 commit into
evilnet:developfrom
rdrake:translation-redesign

Conversation

@rdrake

@rdrake rdrake commented Nov 8, 2026

Copy link
Copy Markdown
Collaborator

What

  • Translation panel: a header popover like the mentions one, opened from the channel menu. It replaces the button beside the channel name.
  • Composer translation: a live preview, one-step send, and a language sheet with a suggestion card. The language you pick sticks.
  • Chat lines: no "=" or "?" tags, and no mark on a line already in the reading language. A translation shows in the original's place, and a tap on the text flips it back. Unplaced and guessed-at lines are left alone.
  • Language identification: fastText and ELD replace the old detector, and an English channel no longer drifts to Polish.
  • Downloads: reading never asks before a small, unmetered download. When a pair shares its repo with another pair (Translation: a deploy's pair model names itself, and pairs on one repo share its download #214), it is still covered by that pair's download.

Testing

  • pnpm lint, pnpm typecheck, the production build and pnpm test:mocha pass (5101 passing).
  • Installed and launched in the iOS app on an iPhone 16.

… ELD

The translation panel is a header popover opened from the channel menu, not a button beside the channel name. The composer gets a live preview, one-step send and a language sheet whose pick sticks. Chat lines lose the "=" and "?" tags and the mark on a line already in the reading language; a translation shows in the original's place and a tap flips it. Unplaced and guessed-at lines are left alone. Languages are identified with fastText and ELD, so an English channel no longer drifts to Polish. A small, unmetered download is not asked about before reading.

This branch was previously deployed

1 inactive deployment
github-pages — 07edf418 Deployed Nov 8, 2026 by rdrake via deploy #768
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.

1 participant