ICEfaces
  1. ICEfaces
  2. ICE-3993

Add German language resource file for ICEfaces Component Showcase

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.8RC2, 1.8
    • Component/s: Sample Apps
    • Labels:
      None
    • Environment:
      All
    • Affects:
      Sample App./Tutorial

      Description

      In order to support German language localization in the Component Showcase sample app. we need to add German translation resource file as specified below:

      ICEfaces Component Showcase
      icefaces/samples/component-showcase/common-src/org/icefaces/application/showcase/view/resources/messages_de.properties

      1. messages_de.properties
        49 kB
        Micha Kiener
      2. messages_de.properties
        43 kB
        Ken Fyten

        Activity

        Hide
        Micha Kiener added a comment -

        I'm working on the German translation and will provide the messages_de.properties file begin of next week.

        Show
        Micha Kiener added a comment - I'm working on the German translation and will provide the messages_de.properties file begin of next week.
        Hide
        Ken Fyten added a comment -

        German resource file attached.

        Show
        Ken Fyten added a comment - German resource file attached.
        Hide
        Ken Fyten added a comment -

        User contributed corrections to the attached resource file:

        Manual Klein reports that he found two errors:
        tabbedHeadings.source.iframeMessage = Iframe wird nicht unterstürzt. Nutzen Sie diesen Link um den Quellcode zu sehen.
        unterstürzt is wrong, correct is unterstützt

        page.panelTabSet.example.icePdf.description = Die führende Lösung zum Java PDF Dokumenteb Rendering...
        Dokumenteb is wrong, correct is Dokumenten

        Show
        Ken Fyten added a comment - User contributed corrections to the attached resource file: Manual Klein reports that he found two errors: tabbedHeadings.source.iframeMessage = Iframe wird nicht unterstürzt. Nutzen Sie diesen Link um den Quellcode zu sehen. unterstürzt is wrong, correct is unterstützt page.panelTabSet.example.icePdf.description = Die führende Lösung zum Java PDF Dokumenteb Rendering... Dokumenteb is wrong, correct is Dokumenten
        Hide
        Patrick Corless added a comment -

        Added new German language bundle to component showcase with two corrections sent by contributor. Also updated duplicated page content that where duplicated for each language but had now local specific text. These files where flattened and local specific text was moved into message bundles.

        Show
        Patrick Corless added a comment - Added new German language bundle to component showcase with two corrections sent by contributor. Also updated duplicated page content that where duplicated for each language but had now local specific text. These files where flattened and local specific text was moved into message bundles.
        Hide
        Mark Collette added a comment -

        For message.properties files, used in JSF applications, there are special file format limitations that have to be taken into account. One of them is that you can't really use non-ASCII characters, but should instead use Unicode escape sequences. For example, instead of using "á" (a/), you would have to give "\u00E1". The German translation needs to be modified, to work around this limitation.

        Show
        Mark Collette added a comment - For message.properties files, used in JSF applications, there are special file format limitations that have to be taken into account. One of them is that you can't really use non-ASCII characters, but should instead use Unicode escape sequences. For example, instead of using "á" (a/), you would have to give "\u00E1". The German translation needs to be modified, to work around this limitation.
        Hide
        Micha Kiener added a comment - - edited

        According to the specification ( http://java.sun.com/j2se/1.4.2/docs/api/java/util/Properties.html ), a properties file should always be loaded with ISO 8859-1 character encoding, however there might be OS dependent changes to that, so I tried to provide an escaped file instead.
        Can you please take a look at it and tell me if it is working now?

        Show
        Micha Kiener added a comment - - edited According to the specification ( http://java.sun.com/j2se/1.4.2/docs/api/java/util/Properties.html ), a properties file should always be loaded with ISO 8859-1 character encoding, however there might be OS dependent changes to that, so I tried to provide an escaped file instead. Can you please take a look at it and tell me if it is working now?
        Hide
        Mark Collette added a comment -

        I changed my IntelliJ settings to save .properties files in ISO-8859-1, instead of "System Default", and the original file was modified to work properly. But, since any subsequent editing by anyone with the incorrect settings in their editor could potentially break it again, I think that using the newly contributed version that uses explicit escaping is probably best, in a defensive programming sort of way.

        Subversion 18416
        icefaces\samples\component-showcase\common-src\org\icefaces\application\showcase\view\resources\messages_de.properties

        Show
        Mark Collette added a comment - I changed my IntelliJ settings to save .properties files in ISO-8859-1, instead of "System Default", and the original file was modified to work properly. But, since any subsequent editing by anyone with the incorrect settings in their editor could potentially break it again, I think that using the newly contributed version that uses explicit escaping is probably best, in a defensive programming sort of way. Subversion 18416 icefaces\samples\component-showcase\common-src\org\icefaces\application\showcase\view\resources\messages_de.properties

          People

          • Assignee:
            Unassigned
            Reporter:
            Ken Fyten
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: