Skip to content

Customization

Localization

Adding and editing languages.

Buyer documentation is provided in English.

Localization uses next-intl with one URL per page. The selected language is remembered in a cookie so refreshes and direct visits render the same locale. English is the default when no locale is detected.

text
/dashboard   English or Indonesian, based on the saved language preference

Adding a locale

  1. 1Add the locale code to the list in i18n/config.
  2. 2Copy the messages directory for an existing locale and translate the values.
  3. 3Add the locale to the switcher so it can be selected.
Messages are split into namespace files per locale, so translators can work on one area without touching everything else. Locale switching preserves filters and URL fragments. Dates use UTC from i18n/request.ts; change that setting to the timezone of your product. Guide articles and fixture content are provided in English.