Added
- A browser extension for Chrome and Edge (
browser-extension/in the packages) that translates with the desktop app's model. It talks toplamo-translate-host, a small program that ships next to the app; the app does not need to be running. See "Browser extension" in the README.- Translate selected text from the context menu, or text typed or pasted into the side panel, into any of the app's target languages and styles. The translation streams in.
- Translate a whole page in place, keeping links and formatting. Paragraphs in view go first, and the ones you scroll to move ahead. The box on the page can stop, resume, or restore the original. Starting another page stops the previous one, which can be resumed later. Translations can also be shown below the original instead.
- Choose the model (any downloaded one) and the device in the panel, independently of the app's selection.
- Release frees the model's memory, including GPU memory. The host also ends by itself after 5 minutes without use, and starts again with the next translation.
- The extension's texts follow the browser's language, or English or Japanese as set under Display language in the panel's settings.
- Settings → Browser extension in the app: Connect registers the host with Chrome and Edge (on Linux also Chromium and Brave), Disconnect removes the registration, and Open extension folder shows the folder to load into the browser. The section also shows when the browsers use another copy of the app, such as one moved or unpacked elsewhere.
Known limitations
- The host loads its own copy of the model, so with the app open as well the model is in memory twice.
- Browsers installed as Snap or Flatpak packages on Linux cannot start the host. Firefox is not supported.
Full Changelog: v0.1.0...v0.2.0