# <l10n:include> Tag

This tag searches for a localized version of the page URL based on the current locale and includes that page. If there is no locale set, this tag uses the local from the HTTP request headers. The behavior of this tag is similar to the jsp:include 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:include page="/l10n_content/foo.jsp" language="en" variant="gb" />

Related Topics

<l10n:forward> Tag

<l10n:resolve> Tag

<i18n:getMessage> Tag

<i18n:localize> Tag