Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Liferay jsf (primefaces) portlet localization problem
Hi,
I have a jsf portlet localization problem..
In src/main/resources directory:
Language_hu.properties
Language_en.properties
My faces.config file:
<application>
  <locale-config>
    <default-locale>hu</default-locale>
    <supported-locale>en</supported-locale>
  </locale-config>
  <resource-bundle>
    <base-name>Language</base-name>
    <var>msg</var>
  </resource-bundle>
  <message-bundle>Language</message-bundle>
</application>
porlet.xml :
<supported-locale>hu</supported-locale> <supported-locale>en</supported-locale> <resource-bundle>Language</resource-bundle>
lifarey-hook.xml:
<hook> <language-properties>Language_hu.properties</language-properties> </hook>
I got this error:
Can't find bundle for base name Language, locale hu_HU