# $orderPage->urlForLanguage()

> Builds the Url for a specific language

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

```php
$orderPage->urlForLanguage(string|null $language = null, null|array $options = null): string
```

## Parameters

| Name | Type | Default |
| --- | --- | --- |
| `$language` | `string\|null` | `null` |
| `$options` | `null\|array` | `null` |

## Return type

`string`

## Parent class

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