Skip to content

Everyword

Local translation for the interface your app already has

Library, Command line
github.com/tn3wman/everywordOpen source
app.js
import {createEngine, httpProvider, wrapDOM} from 'everyword';

const engine = createEngine({
  sourceLocale: 'en',
  provider: httpProvider({endpoint: '/everyword/api/translate'}),
});
const wrapper = wrapDOM(document, {engine, locale: 'es'});
await wrapper.ready;
// await wrapper.setLocale('fr');
// await wrapper.disconnect();

Everyword wraps a web page, Electron renderer, native text bridge or message object and translates its public text with a local model. Results are cached in a database your app owns. It is an experimental JavaScript library for developers who want translations without a cloud account or an approval catalog.

  • Captures DOM text, titles, accessible labels, placeholders and later UI changes
  • Translates Electron menu templates and structured messages
  • Stores translations in app-owned SQLite, PostgreSQL or custom storage
  • Prepare once, then serve cache-only so visitors never wait on inference
  • Checks placeholders, URLs and numeric tokens and keeps source text for fallback
  • Runs the Hy-MT2-7B model locally through llama-server