Upgrading Portlet Language Key Hooks

You can upgrade your portlet language key hooks to Liferay Portal CE 7.0 by following these steps:

  1. Create a new module based on the Blade sample resource-bundle (Gradle or Maven project).

    Here are the module folder structure’s main files:

    • src/main/java/[resource bundle path]ResourceBundleLoader extension goes here
    • src/main/resources/content
      • Language.properties
      • Language_xx.properties
  2. Copy your language properties files into module folder src/main/resources/content/.

  3. In your bnd.bnd file, specify OSGi manifest headers that target the portlet module’s resource bundle, but prioritize yours.

  4. Deploy your module.

Your portlet language key customizations are deployed in your new module on Liferay Portal CE 7.0.

Related Topics

Overriding a Module’s Language Keys

Upgrading Core Language Key Hooks

Resolving a Plugin’s Dependencies

Upgrading the Liferay Maven Build

0 (0 Votes)
Upgrading Core Language Key Hooks Previous