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

        Ken Fyten created issue -
        Ken Fyten made changes -
        Field Original Value New Value
        Estimated Complexity Low
        Salesforce Case []
        Component/s Components [ 10012 ]
        Description In order to support German language localization we need to add German translation resource files as specified below:

        ICEfaces
        icefaces/component/src/com/icesoft/faces/resources/messages_de.properties

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

        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

        Ken Fyten made changes -
        Salesforce Case []
        Fix Version/s 1.8 [ 10161 ]
        Fix Version/s 1.8RC1 [ 10143 ]
        Assignee Ken Fyten [ ken.fyten ] Patrick Corless [ patrick.corless ]
        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.
        Ken Fyten made changes -
        Attachment messages_de.properties [ 11509 ]
        Ken Fyten made changes -
        Salesforce Case []
        Fix Version/s 1.8RC1 [ 10143 ]
        Fix Version/s 1.8 [ 10161 ]
        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
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #18315 Tue Feb 10 07:52:10 MST 2009 patrick.corless ICE-3993 - addition of new German translaction file. Also removed deplicate .jspx content for each language type and replaced with normal message bundle lookup.
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/samples/component-showcase/jsp/web/WEB-INF/includes/content/navigation.jspx
        Commit graph MODIFY /icefaces/trunk/icefaces/samples/component-showcase/facelets-enh/web/WEB-INF/includes/templates/page-template.jspx
        Commit graph MODIFY /icefaces/trunk/icefaces/samples/component-showcase/facelets-enh/src/org/icefaces/application/showcase/view/jaxb/Application.java
        Commit graph DEL /icefaces/trunk/icefaces/samples/component-showcase/facelets-enh/src/org/icefaces/application/showcase/view/jaxb/resources/application_structure_es.xml
        Commit graph MODIFY /icefaces/trunk/icefaces/samples/component-showcase/common-src/org/icefaces/application/showcase/view/resources/messages_es.properties
        Commit graph ADD /icefaces/trunk/icefaces/samples/component-showcase/common-src/org/icefaces/application/showcase/view/resources/messages_de.properties
        Commit graph MODIFY /icefaces/trunk/icefaces/samples/component-showcase/common-src/org/icefaces/application/showcase/view/resources/messages_en.properties
        Commit graph ADD /icefaces/trunk/icefaces/samples/component-showcase/common-web/WEB-INF/includes/content/footer.jspx
        Commit graph MODIFY /icefaces/trunk/icefaces/samples/component-showcase/common-web/WEB-INF/includes/examples/custom/outputResource.jspx
        Commit graph DEL /icefaces/trunk/icefaces/samples/component-showcase/common-web/WEB-INF/includes/content/en
        Commit graph ADD /icefaces/trunk/icefaces/samples/component-showcase/common-web/WEB-INF/includes/content/header.jspx
        Commit graph MODIFY /icefaces/trunk/icefaces/samples/component-showcase/facelets/src/org/icefaces/application/showcase/facelets/navigation/NavigationBean.java
        Commit graph MODIFY /icefaces/trunk/icefaces/samples/component-showcase/common-src/org/icefaces/application/showcase/util/LocaleBean.java
        Commit graph ADD /icefaces/trunk/icefaces/samples/component-showcase/common-web/WEB-INF/includes/content/languageThemeControl.jspx
        Commit graph MODIFY /icefaces/trunk/icefaces/samples/component-showcase/facelets-enh/src/org/icefaces/application/showcase/view/builder/ApplicationBuilder.java
        Commit graph DEL /icefaces/trunk/icefaces/samples/component-showcase/facelets-enh/src/org/icefaces/application/showcase/view/jaxb/resources/application_structure_en.xml
        Commit graph ADD /icefaces/trunk/icefaces/samples/component-showcase/common-web/WEB-INF/includes/content/splash.jspx
        Commit graph ADD /icefaces/trunk/icefaces/samples/component-showcase/common-web/WEB-INF/includes/content/themes.jspx
        Commit graph MODIFY /icefaces/trunk/icefaces/samples/component-showcase/common-web/WEB-INF/includes/examples/custom/dataExporter.jspx
        Commit graph MODIFY /icefaces/trunk/icefaces/samples/component-showcase/jsp/web/showcase.jspx
        Commit graph MODIFY /icefaces/trunk/icefaces/samples/component-showcase/facelets/web/WEB-INF/includes/templates/page-template.jspx
        Commit graph DEL /icefaces/trunk/icefaces/samples/component-showcase/common-web/WEB-INF/includes/content/es
        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.
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        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.
        Mark Collette made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Ken Fyten made changes -
        Assignee Patrick Corless [ patrick.corless ] Ken Fyten [ ken.fyten ]
        Ken Fyten made changes -
        Salesforce Case []
        Fix Version/s 1.8 [ 10161 ]
        Fix Version/s 1.8RC1 [ 10143 ]
        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?
        Micha Kiener made changes -
        Attachment messages_de.properties [ 11538 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #18416 Tue Feb 24 11:15:17 MST 2009 mark.collette ICE-3993 : Add German language resource file for ICEfaces Component Showcase
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/samples/component-showcase/common-src/org/icefaces/application/showcase/view/resources/messages_de.properties
        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
        Mark Collette made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 1.8RC2 [ 10163 ]
        Fix Version/s 1.8 [ 10161 ]
        Ken Fyten made changes -
        Fix Version/s 1.8 [ 10161 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Ken Fyten [ ken.fyten ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: