Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

multi language liferay jsf portlet

  Asked By: Diane    Date: Sep 06    Category: Java    Views: 1899
  

I create liferay jsf portlet. It is working correctly but I have a problem.
I use multi resuorce boundle for supporting multi language portlet but it doesn't work.
I write following configuration:


messages.properties
messages_fa.properties
messages_fr.properties


Faces-confog.xml
<application>
<locale-config>
<default-locale>en</default-locale>
<supported-locale>fa</supported-locale>
<supported-locale>en</supported-locale>
<supported-locale>fr</supported-locale>
</locale-config>
<view-handler>com.sun.facelets.FaceletPortletViewHandler</view-handler>
</application>


Use in my pages:
<f:loadBundle basename="Language" var="msgs"/>

But when a change the language in liferay language portlet my portlet language doesn't change.

If everybody have a solution please reploy to me.

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on multi language liferay jsf portlet Or get search suggestion and latest updates.




Tagged: