Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6238163

i18n: Java Web Start's Resourcebundle doesn't take different articles into account

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P4
    • 6
    • 5.0u1
    • deploy
    • 5.0
    • 5.0
    • generic
    • generic

    Description

      This is both an i18n and l10n issue. If you start a signed application by Java Web Start, you get the following message:
      Do you want to trust the signed Application distributed by "..."?

      In a german environment the same message is called:
      Soll das signierte Anwendung, das von "..." übertragen wird, akzeptiert werden?
      (see the attached screenshot called Image1.png)

      This message is wrong. The correct message must be:
      Soll die signierte Anwendung, die von "..." übertragen wird, akzeptiert werden?

      The same problem appears for extensions (see the attached screenshot called Image2.png).

      In english there is only one article, it is called "the". But in german, three different articles are used which are dependent on the subject, the german articles are called "der", "die" and "das". In other languages like french, this also might be an issue.

      The correct translation can't be done with the current templates, because they don't take a different article into account => i18n.

      The class com.sun.deploy.resources.Deployment contains the english templates:

      "security.dialog.text0", "Do you want to trust the signed {0} distributed by \"{1}\"?\n\nPublisher authenticity verified by: \"{2}\""

      "security.dialog.text0a", "Do you want to trust the signed {0} distributed by \"{1}\"?\n\nPublisher authenticity can not be verified."

      The class com.sun.deploy.resources.Deployment_de contains the german templates:

      "security.dialog.text0", "Soll das signierte {0}, das von \"{1}\" \374bertragen wird, akzeptiert werden?\n\nAuthentizit\344t des Herausgebers \374berpr\374ft durch: \"{2}\""

      "security.dialog.text0a", "Soll das signierte {0}, das von \"{1}\" \374bertragen wird, akzeptiert werden?\n\nDie Authentizit\344t des Herausgebers kann nicht \374berpr\374ft werden."

      The {0} token can be replaced with one of the following types
      "trustdecider.code.type.applet", "Applet"
      "trustdecider.code.type.application", "Anwendung"
      "trustdecider.code.type.extension", "Erweiterung"
      "trustdecider.code.type.installer", "Installationsprogramm"

      Some comparisons (look at the article):
      English German
      the applet das Applet
      the application die Anwendung
      the extension die Erweiterung
      the installer das Installationsprogramm

      Dependent on the type, additional information must be added to take the correct article into account.

      Suggestion (l10n):
      "security.dialog.text0", "Soll {4} signierte {0}, {4} von \"{1}\" \374bertragen wird, akzeptiert werden?\n\nAuthentizit\344t des Herausgebers \374berpr\374ft durch: \"{2}\""

      ###@###.### 2005-03-09 14:41:47 GMT
      ###@###.### 2005-03-09 15:48:35 GMT

      Attachments

        Activity

          People

            mafishersunw Margarita Fisher (Inactive)
            jloefflm Johann Löfflmann (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: