Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Change the Language file folder structure / name in custom osgi module
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
Its working by changing bnd file provide-capability property.
Provide-Capability:\
liferay.resource.bundle;\
resource.bundle.base.name="custom.messages"
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™