Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Alaa Hendi
localization on icefaces portlet
September 3, 2009 1:35 PM
Answer

Alaa Hendi

Rank: Junior Member

Posts: 34

Join Date: February 10, 2009

Recent Posts

Hi
i have icefaces portlet . and my portlet is localized, using i18n from icefaces jsf , for example if u have Germany Locale, then yuor protlet will be in Germany language, and if you have US Locale , then you will have a english _en Locale.....etc
sometimes, i can go to Language portlet from the add application , where you can use your preferred language for all liferay portal ...

The question is:
How can i read from my icefaces portlet what is the language used for all portal??




thnx
Chris Rippe
RE: localization on icefaces portlet
September 4, 2009 12:03 PM
Answer

Chris Rippe

Rank: New Member

Posts: 6

Join Date: September 3, 2009

Recent Posts

You can retrieve the value of language and locale off of the ThemeDisplay object. You can put it on your backing bean and retrieve it.