Derby
  1. Derby
  2. DERBY-2127

Hard coded words in the messages which will not get translated in other languages

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Duplicate
    • Affects Version/s: 10.2.1.6
    • Fix Version/s: None
    • Component/s: Localization
    • Labels:
      None

      Description

      Connection refused: connect' in message 08001
      TABLE/VIEW in ERROR 2850C
      FUNCTION in ERROR 2850A

      1. 1.JPG
        6 kB
        Manjula Kutty
      2. test06b.jpg
        7 kB
        Manjula Kutty
      3. test06d.jpg
        6 kB
        Manjula Kutty

        Issue Links

          Activity

          Gavin made changes -
          Workflow jira [ 12391062 ] Default workflow, editable Closed status [ 12799699 ]
          Kathey Marsden made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Knut Anders Hatlen made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Duplicate [ 3 ]
          Hide
          Knut Anders Hatlen added a comment -

          Triaged for 10.5.2.

          The 08001 message looks OK since the unlocalized part is the message of the underlying exception, not a hard-coded string as the bug summary says.

          The 2850* messages were handled in DERBY-1825.

          Setting resolution to duplicate.

          Show
          Knut Anders Hatlen added a comment - Triaged for 10.5.2. The 08001 message looks OK since the unlocalized part is the message of the underlying exception, not a hard-coded string as the bug summary says. The 2850* messages were handled in DERBY-1825 . Setting resolution to duplicate.
          Knut Anders Hatlen made changes -
          Link This issue duplicates DERBY-1825 [ DERBY-1825 ]
          Andrew McIntyre made changes -
          Fix Version/s 10.2.3.0 [ 12312215 ]
          Hide
          Andrew McIntyre added a comment -

          Unsetting Fix Version for unassigned issues.

          Show
          Andrew McIntyre added a comment - Unsetting Fix Version for unassigned issues.
          Rick Hillegas made changes -
          Fix Version/s 10.2.2.0 [ 12312027 ]
          Fix Version/s 10.2.3.0 [ 12312215 ]
          Hide
          Rick Hillegas added a comment -

          Reassigning to 10.2.3.0.

          Show
          Rick Hillegas added a comment - Reassigning to 10.2.3.0.
          Hide
          Myrna van Lunteren added a comment -

          Of course, table, view and function are SQL Keywords.
          But, they're also just words.
          In this case, the error is not reflecting the use of the phrase Table/View as an sql keyword, it is just term describing the type of object on which the grant is choking or useful info on the object that can't be used because of insufficient permissions granted.
          Table, View and Function get translated all the time in the error messages.
          I think it can be translated in this case.

          Show
          Myrna van Lunteren added a comment - Of course, table, view and function are SQL Keywords. But, they're also just words. In this case, the error is not reflecting the use of the phrase Table/View as an sql keyword, it is just term describing the type of object on which the grant is choking or useful info on the object that can't be used because of insufficient permissions granted. Table, View and Function get translated all the time in the error messages. I think it can be translated in this case.
          Hide
          Manjula Kutty added a comment -

          For Example I found the "TABLE/VIEW ' is hardcoded in org.apache.derby.iapi.sql.dictionary.TableDescriptor;

          Show
          Manjula Kutty added a comment - For Example I found the "TABLE/VIEW ' is hardcoded in org.apache.derby.iapi.sql.dictionary.TableDescriptor;
          Hide
          Daniel John Debrunner added a comment -

          For 2805C and 2850A I would say that is correct, SQL keywords should not be translated.

          Show
          Daniel John Debrunner added a comment - For 2805C and 2850A I would say that is correct, SQL keywords should not be translated.
          Hide
          Manjula Kutty added a comment -

          While doing some localization testing I came to notice those above said words are not getting translated at all. They appear in English on other locale machines.

          Show
          Manjula Kutty added a comment - While doing some localization testing I came to notice those above said words are not getting translated at all. They appear in English on other locale machines.
          Hide
          Daniel John Debrunner added a comment -

          Can you expand on the issue please, I'm not sure what problem you are seeing?

          Show
          Daniel John Debrunner added a comment - Can you expand on the issue please, I'm not sure what problem you are seeing?
          Manjula Kutty made changes -
          Attachment test06d.jpg [ 12346061 ]
          Manjula Kutty made changes -
          Attachment test06b.jpg [ 12346059 ]
          Manjula Kutty made changes -
          Field Original Value New Value
          Attachment 1.JPG [ 12346058 ]
          Hide
          Manjula Kutty added a comment -

          Please look at the screen shtos attached

          Show
          Manjula Kutty added a comment - Please look at the screen shtos attached
          Manjula Kutty created issue -

            People

            • Assignee:
              Unassigned
              Reporter:
              Manjula Kutty
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development