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

          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
          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?
          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 -

          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 -

          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
          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
          Rick Hillegas added a comment -

          Reassigning to 10.2.3.0.

          Show
          Rick Hillegas added a comment - Reassigning to 10.2.3.0.
          Hide
          Andrew McIntyre added a comment -

          Unsetting Fix Version for unassigned issues.

          Show
          Andrew McIntyre added a comment - Unsetting Fix Version for unassigned issues.
          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.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development