Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-21240

Allow translation of menu items declared in extensions

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 4.7
    • Fix Version/s: None
    • Component/s: Internationalisation
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      Developer Doc
    • Funding Source:
      Contributed Code
    • Verified?:
      No

      Description

      We should be able to translate menu items declared by extensions in the extension.

      The problem is that the menu is displayed and translated by core which has no way to know where the menu item come from.

      We could add a new column in the menu table containing the extension (domain) so that core could use the ts() function with the appropriate domain.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              samuelsov Samuel Vanhove
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: