# $orderPage->translation()

> Returns a single translation by language code If no code is specified the current translation is returned

- Source: `src/Cms/ModelWithContent.php#L756` <https://github.com/getkirby/kirby/blob/6.0.0-beta.1/src/Cms/ModelWithContent.php#L756>
- Inherited from Kirby, not part of the Merx API. See <https://getkirby.com/docs/reference>.

```php
$orderPage->translation(null|string $languageCode = null): Kirby\Content\Translation
```

## Parameters

| Name | Type | Default |
| --- | --- | --- |
| `$languageCode` | `null\|string` | `null` |

## Return type

`Kirby\Content\Translation`

## Exceptions

| Type | Description |
| --- | --- |
| `NotFoundException` | If the language does not exist |

## Parent class

`Wagnerwagner\Merx\OrderPage` inherited from `Kirby\Cms\ModelWithContent`
