# Translations Editor

> Use the dev-tool app to inspect and update locale files.

*Canonical: https://makerkit.dev/docs/nextjs-drizzle/dev-tools/translations*

---

The translations editor lives in the `apps/dev-tool` workspace app.

{% img src="/assets/images/dev-tools-translations.webp" width="1000" height="600" alt="Translations dev tool panel" /%}

## OpenAI Key

If you want AI-assisted translation, add your key to:

```bash {% title="apps/dev-tool/.env.local" %}
OPENAI_API_KEY=your-openai-api-key
```

## Where It Writes

Locale files live under:

```text
apps/web/i18n/messages/<locale>/*.json
```

The editor writes changes back to those files.

## Adding a Language

Add the locale to the i18n routing config first, then add the matching message files.
