Liferay Tips
Sunday, December 12, 2010
How to set Locale in VM file
For setting locale in vm file we have to use LocaleUtil class thus by writing this piece of code we can set locale :
#set ($locale=$localeUtil.fromLanguageId("fr_FR"))
#set($abc=$themeDisplay.setLocale($locale))
1 comment:
Ugandhar
March 12, 2013 at 12:53 AM
Good one.. thanks for the input
Reply
Delete
Replies
Reply
Add comment
Load more...
Home
Subscribe to:
Post Comments (Atom)
Good one.. thanks for the input
ReplyDelete