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.