Upgrading Core Language Key Hooks

Here are the steps for upgrading a core language key hook to Liferay DXP 7.0.

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

    Here are the main parts of the module folder structure:

    • src/main/java/[resource bundle path] → Custom resource bundle class goes here
    • src/main/resources/content
      • Language.properties
      • Language_xx.properties
  2. Copy all your plugin’s language properties files into the module folder src/main/resources/content/.

  3. Create a resource bundle loader.

  4. Deploy your module.

Your core language key customizations are deployed to Liferay DXP 7.0.

Overriding Global Language Keys

Upgrading Portlet Language Key Hooks

Resolving a Plugin’s Dependencies

Upgrading the Liferay Maven Build

¿Fue útil este artículo?
Usuarios a los que les pareció útil: 0 de 0