> ## Documentation Index
> Fetch the complete documentation index at: https://docs.suprsend.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Push Preference Translation

> Use the suprsend category translation push CLI command to upload locale JSON files for preference categories to your workspace, one locale or all at once.

Upload local preference category translation files to a workspace. Reads `{locale}.json` files from the input directory. English translations cannot be pushed. Use `--locale` to push a single locale, or omit to push all.

## Syntax

```bash theme={"system"}
suprsend category translation push [flags]
```

## Flags

| Flag                  | Description                                          | Default                         |
| --------------------- | ---------------------------------------------------- | ------------------------------- |
| `-h, --help`          | Show help for the command                            | –                               |
| `-l, --locale string` | Locale code to push, e.g., es, fr (omit to push all) | –                               |
| `-d, --dir string`    | Directory containing translation JSON files          | `suprsend/category/translation` |

## Example

```bash theme={"system"}
# Push all translation files from default directory
suprsend category translation push

# Push translations from custom directory
suprsend category translation push --dir categories/translations

# Push specific locale to production workspace
suprsend category translation push --locale es --workspace production
```

***

## Related documentation

* [Category Translations](/docs/notification-category#category-translations)
* [How to manage Category translations](/docs/managing-notification-categories#managing-category-translations)
