This tag searches for a localized version of the page URL based on the current locale and resolves the URL to a localized version. If there is no locale set, this tag uses the locale from the HTTP request headers. The localized URL is always absolute.
<tagName attribute="value" />
id
Optional (String) - Stores the absolute URL generated. If this attribute is not used, the URL is printed to the JSP.
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).
<l10n:resolve page="/l10n_content/foo.jsp" language="en" variant="gb" />