About
About Generic Translation
An attempt to make internationalization feel like part of writing a component, not a second job.
Why this exists
Most i18n setups ask you to move every sentence out of your components into key files, invent a name for each one, and then keep code, keys and translations in step by hand. It works, and it is tedious enough that many teams put translation off for years.
Generic Translation starts from a different place: the source text stays in the component. A build step turns it into a standard ICU message and identifies it by a hash of its content. Translation becomes a function of that content, which a language model can do a decent first pass at, and which people can then review.
The name comes from the Latin loqui, “to speak”.
What it is made of
Open-source repositories, plus a hosted API, dashboard and this site, which run on Cloudflare Workers.
- generic-translation-core
Message format, hashing, locale utilities, API client. MIT.
- generic-translation-react
Components and hooks for React and Next.js. MIT.
- generic-translation-node
Server-side translation for Node. MIT.
- generic-translation-cli
Extraction and translation from the command line (the @generic-translation/cli package). MIT.
- generic-translation-vue
Vue bindings. MIT.
- generic-translation-react-native
React Native bindings. MIT.
- generic-translation-tanstack-start
TanStack Start bindings. MIT.
- generic-translation-python
The Python SDK, with Flask, FastAPI and Django integrations. MIT.
- generic-translation-integrations
Experimental connectors for Sanity, Storyblok and Google Drive, never run against the live services. MIT.
Project status
Generic Translation is in preview. It is a small project, not a company with a support desk. It has no customers to name and no certifications to show. What it has is working software, documentation, and source code you can read.
Contact
The one place to reach the maintainers is GitHub issues. Use it for bug reports, questions, feature requests and anything about your account or data on the hosted service.
Please do not paste API keys, session tokens or private strings into a public issue. If you have found a security problem, open an issue that says so without the details and ask for a private channel.