Upgrading Customization Plugins
Step 6 of 11
You can upgrade your portlet language key hooks to Liferay DXP 7.2 by following these steps:
-
Create a new module based on the Blade sample
resource-bundle
project (Gradle or Maven).Here are the module folder structure’s main files:
src/main/java/[resource bundle path]
→ResourceBundleLoader
extension goes heresrc/main/resources/content
Language.properties
Language_xx.properties
- …
-
Copy your language properties files into module folder
src/main/resources/content/
. -
In your
bnd.bnd
file, specify OSGi manifest headers that target the portlet module’s resource bundle, but prioritize yours.
Your portlet language key customizations are deployed in your new module on Liferay DXP 7.2.