Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-2075

provide the possibility to display or log missing labels

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: 7.0.0, 6.5.4
    • Fix Version/s: 7.0.1
    • Component/s: Components
    • Security Level: Jimmy
    • Labels:

      Description

      sometime during bigger translation tasks I18N labels might get lost and the ui does not reflect missing labels right now.
      for debugging purposes it would be good to enable some kind of logging or default ERROR.

      this could be achieved by making the LabelLoader class configurable in Labels.class so that the getLabel(...) methods can be overridden to return
      a default indicating a missing label if the value would be null (or write a log for failed missing label properties)

      this would help for this case:
      missing label bla: <label value="${c:l('bla')}"></label>
      e.g. output: -> missing label bla: [ERROR missing label 'bla']

      in case of getSegmentedLabels... it would help to provide some mechanism to achieve the same with the nested filtered maps
      for this case:
      missing label bla: <label value="${labels.bla}"></label>
      e.g. output: -> missing label bla: [missing 'bla']

        Attachments

          Activity

            People

            Assignee:
            jumperchen jumperchen
            Reporter:
            cor3000 cor3000
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: