Theme
arya
luna-amber
luna-blue
luna-green
luna-pink
nova-dark
nova-light
saga
vela
Localized
Inline. Not recommended, as it will be hard to add languages to an application, but could be useful if you have a small set of languages. Also, facets allow you to use components.
Vast en zeker
Snack between lunch and dinner
Source

                <pe:localized locale="nl_NL">
    <f:facet name="nl_BE">Zeker en vast</f:facet>
    <f:facet name="nl">Vast en zeker</f:facet>
</pe:localized>
<hr/>
<pe:localized>
    <f:facet name="nl_BE">Vieruurtje</f:facet>
    <f:facet name="nl">Snack tussen lunch en avondeten</f:facet>
    <f:facet name="default">Snack between lunch and dinner</f:facet>
</pe:localized>
            
Components and more
Documentation pe:localized
Attributes (move mouse over the names to see data types)
Name Description
id Unique identifier of the component in a namingContainer.
rendered Boolean value to specify the rendering of the component, when set to false component will not be rendered.
name Name of the content file, relative to /WEB-INF/pfe-localized/ and optional folder (attribute). If `null`, content is expected in facets.
folder Folder of the content file, relative to /WEB-INF/pfe-localized/ (optional, if `null` root will be used).
locale String or java.util.Locale representing user locale. Default is a locale specified in view root.
escape Boolean value to specify if the content needs to be escaped. Escaping is done before Markdown is applied. Default is true.
evalEl Boolean value to specify if the content needs to EL evaluated. Default is false.
markdown Boolean value to specify if Markdown needs to be applied on the content. Default is false.
PrimeFaces Extensions Showcase - © 2011-2023,PrimeFaces: 13.0.0,PrimeFaces Extensions: 13.0.1,JSF: Apache MyFaces JSF-2.3 Core Impl 2.3.10,Server: jetty/9.4.36.v20210114,Build time: 2023-09-11 19:07