Skip to Content
OperationsInternationalization

Internationalization

Translations live in libs/i18n/src/assets/i18n/en/.

Usage in features

import { TranslocoPipe } from '@jsverse/transloco'; // template {{ 'org.generation.creditsShort' | transloco }}

Adding keys

  1. Add JSON under libs/i18n/src/assets/i18n/en/<scope>.json
  2. Register scope in loader if new file
  3. English only in the repository (project rule)

Shell / paywall

Key scopes: paywall.json, credits-upsell.json, org-generation.json, shell.json.

Docs site content is English-only in apps/docs/content/.

See docs/I18N.md in the monorepo for loader and locale service details.

Last updated on