Skip to content

Translate your app

Uses sonenta-i18n. Install it once: sonenta agents add sonenta-i18n.

Prerequisites: a project, a key and the CLI wired. See Create a project & API keys.

Prompt:

Using sonenta-i18n, scan my app for hardcoded UI strings, extract them into translation keys (right type + namespace), and replace them with t() calls. Show me the plan first.

Produces: a proposed list of new keys + the code edits that replace literals with t(). Review: you approve the plan; the keys appear in the Sonenta Keys view. Apply: on acceptance it creates the keys and edits your code.

Prompt:

Review my translation keys - flag mis-typed keys, inconsistent naming, and wrong namespaces, and propose fixes.

Produces: proposed key-type / naming / namespace changes (e.g. a button typed as text becomes button). Review: the proposal is shown before anything changes; re-types appear in the dashboard. Apply: applied only on your acceptance (non-destructive).

Prompt:

Using sonenta-i18n, translate my untranslated keys into French and Spanish, then submit them for my review.

Produces: draft translations (local, 0 credits), honoring your glossary + project context, placeholder-safe. Review: drafts land in the Translations editor - approve or edit each. Apply:

Publish the approved translations to the CDN.

The CDN release is picked up automatically by @sonenta/react-i18next - no redeploy.

Prompt:

Add Italian (it) as a target language and translate everything into it.

Produces: the new locale enabled + draft translations for every key. Review: the new column appears in the Translations editor for approval. Apply: publish to the CDN as above.