Skip to main content

Locale and i18n

en/es, next-intl, and messages.
1 min read

Agata supports English and Spanish.

ConceptDetail
Localesen (default), es
Librarynext-intl
RoutingNo URL prefix (localePrefix: 'never')
ResolutionCookie NEXT_LOCALE → Accept-Language → default en
PreferenceslocaleMode (auto / en / es) on the account; syncs cookie + refresh
NavigationHelpers from i18n/navigation (Link, useRouter, …); paths without locale

Where strings live#

All copy lives in apps/app/messages/:

  • Base: messages/{locale}.json
  • Per domain: messages/{locale}/{Domain}/… (the path is the next-intl namespace, e.g. Tasks/common.json → Tasks.common)

When adding product copy, en and es must stay in sync.

In these docs#

The pages on this site are in English. The product itself is bilingual.