Shipeasy
Translations

CLI reference

Every `shipeasy i18n` command for scanning, drafting, and publishing translations.

npm install -g @shipeasy/cli
shipeasy login

i18n

shipeasy i18n <subcommand>
SubcommandWhat it does
install-loaderInject the Shipeasy i18n loader script into your project
scan [paths...]Find translatable strings in source files (wrapped t('key') calls + unwrapped JSX text)
push <file>Push key/value pairs from a JSON file to the i18n profile (existing keys skipped)
publishPublish a profile chunk to the CDN (rebuild KV manifest, purge cache)
validate [paths...]Check that all t('key', …) references in code exist on the server
profiles <subcommand>Manage i18n locale profiles
# Discover untranslated strings in your repo
shipeasy i18n scan ./apps/web

# Push a flat key map you already have
shipeasy i18n push ./en.json

# Translate to FR / DE / JA via AI
shipeasy i18n profiles draft --locales fr,de,ja

# Publish approved drafts to the CDN
shipeasy i18n publish

codemod — bulk source rewrites

shipeasy codemod <subcommand>

The codemod command (top-level, not under i18n) automates extracting hardcoded strings into t('key') calls. Useful when retrofitting an existing codebase.

shipeasy codemod --help

See also

On this page