Liferay.Language.get(key) doesn't look up in portlet context language resources
Affects versions
Labels
None
Description
Environment
LR r.78132
Activity
Show:
Raymond Augé July 28, 2010 at 11:52 AM
This issue has been addressed since
committed 2007-09-10
svn://svn.liferay.com/repos/public/portal/trunk@9261
Minded Security S.r.l. June 15, 2010 at 3:40 PM
Details about this issue can be found here:
Inactive
Details
Assignee
SE SupportSE SupportReporter
Jakub LiskaJakub LiskaBranch Version/s
5.2.x5.1.x
Details
Details
Assignee
SE Support
SE SupportReporter
Jakub Liska
Jakub LiskaBranch Version/s
5.2.x
5.1.x
Zendesk Support
Linked Tickets
Zendesk Support
Linked Tickets
Zendesk Support

Linked Tickets
Created April 14, 2011 at 5:21 AM
Updated January 18, 2024 at 7:52 PM
Resolved January 18, 2024 at 5:16 PM
The problem is, that Liferay.Language.get( key ) ajax request hits LanguageServlet then LanguageImpl._get( ) and LanguageResources.getMessage( ) where it has only Portal language resources available, but not Portlet resources ... As a result, one have to store all portlet relevant localization messages into Portal language resources, which is very inconvenient.