arya-blue
luna-amber
luna-blue
luna-green
luna-pink
nova-dark
nova-light
saga-blue
vela-blue
Localized

Localized allows you to include large content blocks based on the View Locale or provided Locale with fallbacks to default content.
It's not recommended to use Localized for small messages as labels or headers. There you should use resource bundles.

Files should be put in the WEB-INF/pfe-localized folder.
Files used in this demo can be found in our GitHub repo.

Files should be named {name}, {name}_{language} or {name}_{language}_{country}. Language and country should match those is the set view locale or the provided locale. See also Locale documentation.

Components and more
Documentation pe:localized
Attributes (move mouse over the names to see data types)
Name Description
bindingAn EL expression referring to a server side UIComponent instance in a backing bean.Default is generated.
escapeWhether to HTML-escape the content.Default is true.
evalElWhether to evaluate EL in the content.Default is false.
folderOptional subfolder for the content file.
idUnique identifier of the component in a namingContainer.Default is generated.
localeLocale for the content (Locale instance or string).
markdownWhether to render content as Markdown.Default is false.
nameName of the localized content file (without locale suffix).
renderedBoolean value to specify the rendering of the component, when set to false component will not be rendered.Default is true.
PrimeFaces Extensions Showcase - © 2011-2025,PrimeFaces: 16.0.0-SNAPSHOT,PrimeFaces Extensions: 16.0.0-SNAPSHOT,JSF: Apache MyFaces Core 4.0 - Impl 4.0.3,Server: Apache Tomcat (TomEE)/10.1.52 (10.1.4),Build time: 2026-03-10 11:37