# Translation
> A translation entry that can include a chat message, title, sound, and commands. Can be sent to individual players or broadcast to all.
`gg.lode.observerapi.api.data`
---
## Signature
```java
public record Translation(@Nullable String tellraw, @Nullable Title title, @Nullable SoundTranslation soundTranslation, List<String> commands)
```
---
## Methods
### tellraw
```java
public @Nullable String tellraw()
```
**Returns:** `@Nullable String` - the MiniMessage chat message, or `null`. Prefix with `<center>` for centered text.
---
### title
```java
public @Nullable Title title()
```
**Returns:** `@Nullable Title` - the title/subtitle display, or `null`
---
### soundTranslation
```java
public @Nullable SoundTranslation soundTranslation()
```
**Returns:** `@Nullable` [[SoundTranslation]] - the sound to play, or `null`
---
### commands
```java
public List<String> commands()
```
**Returns:** `List<String>` - commands to execute alongside the translation
---
### send
```java
public void send(Player player)
```
Sends this translation to a single player (chat message, title, and sound).
| Parameter | Type | Description |
|-----------|------|-------------|
| `player` | `Player` | The player to send to |
---
### broadcast
```java
public void broadcast()
```
Broadcasts this translation to all online players and executes any associated commands.
---
### broadcastExcept
```java
public void broadcastExcept(Player... except)
```
Broadcasts this translation to all online players except the specified players.
| Parameter | Type | Description |
|-----------|------|-------------|
| `except` | `Player...` | Players to exclude from the broadcast |
---
## Related Pages
- [[SoundTranslation]]
- [[ITranslationManager]]