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

# Get Translation

> Get translations

Retrieve all template translations from a workspace. Returns translation content keyed by locale code. Use `--mode` to switch between draft and live versions.

## Syntax

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

## Flags

| Flag                  | Description                      | Default |
| --------------------- | -------------------------------- | ------- |
| `-h, --help`          | Show help for the command        | –       |
| `--mode string`       | Version mode (`draft` or `live`) | `live`  |
| `-o, --output string` | Output format (`json`, `yaml`)   | `json`  |

<Tip>
  Use `-o json` for machine-readable JSON output, `-o yaml` for YAML.
</Tip>

## Example

```bash theme={"system"}
# Get all translations
suprsend translation get

# Get draft translations
suprsend translation get --mode draft

# Get translations in YAML format
suprsend translation get --output yaml

# Get translations from production workspace
suprsend translation get --workspace production
```
