# <l10n:forward> Tag

This tag searches for a localized version of the page URL based on the current locale and forwards to that page. If no locale is set, this tag uses the locale from the HTTP request headers. The behavior of this tag is similar to the jsp:forward tag except for the locale.

## Syntax

<tagName attribute="value" />

## Attributes

page

Required (String) - Path to the resource, which is relative to the current page or absolute with respect to the Web application context-root.

language

Optional (String) - Language code.

country

Optional (String) - Country code.

variant

Optional (String) - Language variant. For example, "us" (United States) is a variant of English (en).

## Example

    <l10n:forward page="/l10n_content/foo.jsp" language="en" variant="gb" />

Related Topics

<l10n:include> Tag

<l10n:resolve> Tag

<i18n:getMessage> Tag

<i18n:localize> Tag

##