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
Language files of a portlet is overriden after deploying a theme
Hi folks. I have a portlet, say portlet P, developed using plugins-sdk -6.2 with a file Language_ar.properties. It contains a property named "video" which is displayed well i.e. فیدیو when I change the language to Arabic. However, after deploying a theme (again built using plugins-sdk-6.2) the Language_ar.properties of portlet P is ignored and "Video" is displayed instead of "فیدیو". The theme contains both Language_en.properties and Language_ar.properties but they don't contain the property "video". The portlet P depends on another portlet, say portlet Q. The portlet Q has been deployed before P. The portlet Q has both Language_ar.properties and Language_en.properties, too. Language_en.properties contains the property "video" with value "Video", but Language_ar.properties of the portlet Q doesn't contain the property "video". Why are the Language files of the portlet Q used instead of the portlet P after deploying the theme?
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™