Return to documentation
Internationalization (INTL)

Alinea CLI command reference guide

Use npm, pnpm or yarn to execute internationalization commands.

Supported Managers
Each command can be run with npm, pnpm or yarn.
npm
pnpm
yarn
Create Local Files(alias: locale-files)
Create locale files for translations.
npm alinea localefiles
pnpm alinea localefiles
yarn alinea localefiles
Extract Translatable Strings from Files(alias: scan-file)
Extract translateable strings from files.
npm alinea scanfile
pnpm alinea scanfile
yarn alinea scanfile
Recursively scan translations(alias: scan-file-advanced)
Launches an advanced recursive scan of translations.
npm alinea scanfileadvanced
pnpm alinea scanfileadvanced
yarn alinea scanfileadvanced
Update Translation Files
Updates translation files.
npm alinea translations
pnpm alinea translations
yarn alinea translations
Recommended Workflow
  1. 1

    Create Local Files

    Create locale files for translations.

    localefiles
  2. 2

    Extract Translatable Strings from Files

    Extract translateable strings from files.

    scanfile
  3. 3

    Recursively scan translations

    Launches an advanced recursive scan of translations.

    scanfileadvanced
  4. 4

    Update Translation Files

    Updates translation files.

    translations