CLICommands
i18n
snug i18n <COMMAND>Localization and translation management.
Subcommands
| Command | What it does |
|---|---|
project | Project administration |
locale | Locale administration |
upload | Upload a locale strings file |
approve | Approve draft/pending translations for a locale |
publish | Publish approved translations into an active version |
rollback | Roll back a locale to a prior active version |
resolve | Resolve a single key |
resolve-batch | Resolve many keys in one request |
bundle | Export an active locale bundle |
report | Missing-key report |
telemetry | Report a missing-key telemetry event |
experiment | Experiment administration |
Run snug i18n <command> --help for that command's own options.
The global options apply everywhere.
Examples
snug i18n project create --name lore-studio --base-locale en-US
snug i18n project list
snug i18n project get --project-id <id>
snug i18n locale add --project-id <id> --locale es-ES --display-name "Spanish (Spain)" --fallback en-US
snug i18n locale list --project-id <id>
snug i18n upload --project-id <id> --locale es-ES --file strings.json --mode replace
snug i18n approve --project-id <id> --locale es-ES
snug i18n publish --project-id <id> --locale es-ES
snug i18n resolve --project-id <id> --locale fr-CA --key checkout.title
snug i18n resolve-batch --project-id <id> --locale es-ES --key checkout.title --key inventory.item_count
snug i18n bundle --project-id <id> --locale es-ES --output bundle.json
snug i18n report --project-id <id> --missing
snug i18n telemetry --project-id <id> --locale es-ES --key quest.reward --caller web
snug i18n experiment create --project-id <id> --file variants.json
snug i18n rollback --project-id <id> --locale es-ES --version 6Next
- i18n guide - what the service does and when to reach for it.
- API reference - every endpoint these commands call.
- CLI reference - global options, output modes, and exit codes.