1. Create a source file
From your project directory, createlocales/en-US.json:
2. Configure the project
Createi18n.yml in the project root:
locales/en-US.json and writes locales/es-ES.json.
For an existing project, you can also use hyperlocalise init
to scaffold a configuration, then adjust its file paths and provider.
3. Add your API key
Add the key to.env.local in the project root:
.env and .env.local
automatically; exported shell variables take precedence. See
provider credentials for other providers.
4. Preview and translate
Preview the work:locales/es-ES.json and records progress in
.hyperlocalise.lock.json. Translated wording can vary by model; the keys and
{name} placeholder should remain intact.
5. Review the result
Open the generated file and review the diff. Check translation integrity and inspect progress:Continue
- Project layout explains what to keep in your repository.
- File formats covers other source types.
- Local translation covers repeat runs and release preparation.
- Connect to Hyperlocalise Platform gives your team a shared translation and review workflow.
- TMS curation adds a shared review step.

