SonarQube Plugins
  1. SonarQube Plugins
  2. SONARPLUGINS-678

Rule : Labels Internationalization - Issue

    Details

    • Number of attachments :
      0

      Description

      Rule : Labels Internationalization

      Line of code:
      <fmt:message key="TAXE.label.Province">Province</fmt:message>
      Labels Internationalization : Labels should be defined in the resource bundle

      This is what has been done in our example, Province is the value by default

        Activity

        Hide
        Matthijs Galesloot added a comment -

        The requirement of Labels Internationalization implies that the key attribute is required in the message tag. Content in the message tag may be provided but is not required.

        I suggest to use the check "Attribute Required" with the parameter "fmt:message.key", or "message.key".

        Show
        Matthijs Galesloot added a comment - The requirement of Labels Internationalization implies that the key attribute is required in the message tag. Content in the message tag may be provided but is not required. I suggest to use the check "Attribute Required" with the parameter "fmt:message.key", or "message.key".
        Hide
        Matthijs Galesloot added a comment -

        Workaround is provided, see comment.

        Show
        Matthijs Galesloot added a comment - Workaround is provided, see comment.

          People

          • Assignee:
            Matthijs Galesloot
            Reporter:
            Frederic Lenvers
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: