Allow to redirect readers to the default language if translation doesn't exist

Description

It should be configurable to redirect readers to the default language if a page is not yet translated.

On a error404.vm this should be possible:

1 2 3 4 #if ($page.alternativeUrl) This page is not available in $languages.current.name.<br/> Try <a href="$page.alternativeUrl">original language</a>. #end

Initial implementation:
$page.alternativeUrl is null, if the translation exists. Else, it contains the URL of the default language.

Environment

None

Status

Assignee

Maximilian Hilbert (K15t)

Reporter

Nils Bier (K15t)

Labels

Participants

None

Deployment

None

Components

Sprint

None

Fix versions

Priority

Major