glassfish
  1. glassfish
  2. GLASSFISH-18128

Unlocalized message in the output of the commands in ko and zh_CN locales

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.2_b16
    • Fix Version/s: 3.1.2_b19
    • Component/s: l10n
    • Labels:
      None
    • Environment:

      Server OS: Windows 2008 R2 x64 KO w/JDK1.7.0 32bit
      Bundle: glassfish-3.1.2-web-b16-windows-ml.exe
      Checked Locales: ko and zh_CN

      Description

      Unlocalized message when execute commands in ko and zh_CN locales

      To reproduce:
      1. After installed GF completely, open terminal window and execute commands, like
      asadmin list-domains
      asadmin list-backups
      asadmin login
      asadmin start-database
      asadmin stop-database
      asadmin create-domain
      asadmin delete-domain

      — All of the output will be displayed in English.

      — In step 1, the output of the commands were included in the file \com\sun\enterprise\admin\cli\optional\LocalStrings_ko.properties(cli-optional-l10n.jar), and those message were localized correctly in the properties file. It seems in Non-EN locale(ko), GF get the message from cli-optional.jar, not cli-optional-l10n.jar

      2. Execute command "asadmin stop-domain", the message was localized correctly.

      — The localized message was included in the file \com\sun\enterprise\admin\cli\LocalStrings_ko.properties(admin-cli-l10n.jar)

      3. Repeat Step 1 and Step 2 in the OEL 5 x86 zh_CN locale with bundle ogs-3.1.2-b16-unix-ml.sh, this issue is reproducible.

      Attached screen shot for your reference.

      1. report.all.html
        481 kB
        sunny-gui
      1. unlocalized_strings.jpg
        288 kB

        Issue Links

          Activity

          sunny-gui created issue -
          gmurr made changes -
          Field Original Value New Value
          Tags l10n 3_1_2-review l10n
          sunny-gui made changes -
          Attachment report.all.html [ 48983 ]
          gmurr made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 3.1.2_b19 [ 15333 ]
          Resolution Fixed [ 1 ]
          sunny-gui made changes -
          Link This issue blocks GLASSFISH-18090 [ GLASSFISH-18090 ]
          sunny-gui made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              gmurr
              Reporter:
              sunny-gui
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: