Message Boards
Change the Language file folder structure / name in custom osgi module
Aravinth Kumar, modified 3 Years ago.
Change the Language file folder structure / name in custom osgi module
Regular Member Posts: 152 Join Date: 6/26/13 Recent Posts
Hi All,
Is that possible to change the language file folder structure / name in custom OSGI Module instead of content.Language like custom.Messages ?
"javax.portlet.resource-bundle=custom.Messages" Language properties are not picking by this way.
Thanks in Advance.
Regards,
Aravinth
Is that possible to change the language file folder structure / name in custom OSGI Module instead of content.Language like custom.Messages ?
"javax.portlet.resource-bundle=custom.Messages" Language properties are not picking by this way.
Thanks in Advance.
Regards,
Aravinth
Aravinth Kumar, modified 3 Years ago.
RE: Change the Language file folder structure / name in custom osgi module
Regular Member Posts: 152 Join Date: 6/26/13 Recent Posts
Its working by changing bnd file provide-capability property.
Provide-Capability:\
liferay.resource.bundle;\
resource.bundle.base.name="custom.messages"