> ## 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 Translation

> Push translation files to a workspace

Upload local template translation JSON files to a workspace. Reads all `.json` files from the input directory and pushes them. Use `--commit=true` to also finalize the changes immediately, or use the [`translation commit`](/reference/cli-translation-commit) command separately.

## Syntax

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

## Flags

| Flag                          | Description                                                                                                       | Default                  |
| ----------------------------- | ----------------------------------------------------------------------------------------------------------------- | ------------------------ |
| `-h, --help`                  | Show help for the command                                                                                         | –                        |
| `-c, --commit string`         | Promote changes from draft to live after pushing (true/false)                                                     | `false`                  |
| `-m, --commit-message string` | Message describing the changes being committed                                                                    | –                        |
| `-d, --dir string`            | Directory containing translation JSON files                                                                       | `./suprsend/translation` |
| `-j, --json string`           | Translations as a JSON object mapping locale codes (without .json extension) to their translation content objects | –                        |

## Example

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

# Push translations from custom directory
suprsend translation push --dir dev-environment/translations

# Push translations and commit them
suprsend translation push --commit=true --commit-message "Updated French translations"

# Push translations to production workspace
suprsend translation push --workspace production

# Push translations inline via JSON
suprsend translation push --json '{"en":{"key":"value"},"fr":{"key":"valeur"}}'
```
