Use the suprsend category translation pull CLI command to download preference category translation JSON files for each locale from your workspace.
Download preference category translations from a workspace to local JSON files. Creates one file per locale (e.g., es.json, fr.json) in the output directory.
Syntax
suprsend category translation pull [flags]
Flags
Flag
Description
Default
-h, --help
Show help for the command
–
-d, --dir string
Directory to save translation files to
suprsend/preference_categories/translations
-F, --force
Skip directory confirmation prompt, use default path
–
Example
# Pull all translation files to default directorysuprsend category translation pull# Pull translations into custom directory pathsuprsend category translation pull --dir categories/translations# Pull translations from production workspacesuprsend category translation pull --workspace production