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

          Hide
          sunny-gui added a comment -

          Verified in bundle ogs-3.1.2-web-b18-01_17_2012-ml.zip, this issue is reproducible, attached report file for your reference.

          Show
          sunny-gui added a comment - Verified in bundle ogs-3.1.2-web-b18-01_17_2012-ml.zip, this issue is reproducible, attached report file for your reference.
          Hide
          gmurr added a comment -

          Fix will be available in b19

          Show
          gmurr added a comment - Fix will be available in b19
          Hide
          sunny-gui added a comment -

          Verified and fixed in build 20 nightly, here are details.

          Server OS: OEL 6 x64 w/JDK 1.6.0_30 64-bit
          Bundle: ogs-3.1.2-b20_01_29_2012-ml.zip
          Server Locale: ja_JP.UTF-8

          Show
          sunny-gui added a comment - Verified and fixed in build 20 nightly, here are details. Server OS: OEL 6 x64 w/JDK 1.6.0_30 64-bit Bundle: ogs-3.1.2-b20_01_29_2012-ml.zip Server Locale: ja_JP.UTF-8

            People

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

              Dates

              • Created:
                Updated:
                Resolved: