Return to documentation
Alinea CLI overview: how it works
The i18n scan automates migration to next-intl with 4 commands.
Automatic extraction
The script scans your codebase and detects all translated texts: JSX, objects, tables, assignments, etc.
Smart Transformation
Automatic replacement of text with keys and injection of next-intl (useTranslations, getTranslations).
Structured generation
Creating JSON files organized by namespace (Common, Data, Button, etc.).
Intuitive CLI
Simple commands to create locales, scan and translate automatically.
Available orders
localfiles
Create local files for translations
scanfile
Extract translatable strings from files
scanfileadvanced
Advanced recursive scanner for translations
translations
Update translation files