Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-128065

Simplify adding and overriding language keys for a target module

    Details

    • Type: Feature Request
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Dev Tools > Workspace
    • Labels:
      None

      Description

      If I am extending a module (target module) and I want to add language keys and/or override language keys in the target module, I have to specify a Provide Capability header that is complicated and hard to debug. Using the header is described in the section Prioritizing Your Module's Resource Bundle in Overriding a Module's Language Keys

      It would be helpful to have a build time syntax that allows my module to do all these things
      1. Use a target module's language keys (that is, ones that I haven't overwritten).
      2. Override and/or extend a target module's language keys.

      In all cases we want our extension module (not the target module) language keys to take priority.

      For example, I create module B to do these things:
      1. Override parts of module A (the target module), including some language keys.
      2. Extend module A with some additional UI components, that have additional language keys.

      Module B should be able to use module A language keys, override module A language keys, and use additional language keys.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              james.hinkey James Hinkey
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:

                  Packages

                  Version Package