Geronimo
  1. Geronimo
  2. GERONIMO-4763

i18n properties files should be converted to ascii at build time.

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.5, 2.2
    • Fix Version/s: 2.2
    • Component/s: usability
    • Security Level: public (Regular issues)
    • Labels:
      None

      Description

      Current i18n properties files are stored in source code repo after they are converted to ascii from native offline. It's very hard to contribute new translations.

      We should keep native characters in source code while convert them to ascii at build time. maven plugin native2ascii-maven-plugin could be used here:

      <plugin>
                      <groupId>org.codehaus.mojo</groupId>
                      <artifactId>native2ascii-maven-plugin</artifactId>
                      <version>1.0-alpha-1</version>
                      <configuration>
                          <dest>target/classes</dest>
                          <src>src/main/resources</src>
                      </configuration>
                      <executions>
                          <execution>
                              <id>native2ascii-utf8</id>
                              <goals>
                                  <goal>native2ascii</goal>
                              </goals>
                              <configuration>
                                  <encoding>UTF8</encoding>
                                  <includes>
                                      ConsoleResources_jp.properties,
                                      ConsoleResources_zh*.properties
                                  </includes>
                              </configuration>
                          </execution>
                      </executions>
                  </plugin>
      
      1. G4763_fix_IBM_SDK.patch
        1.0 kB
        Shawn Jiang
      2. G4763_fix_inactive_profiles.patch
        3 kB
        Shawn Jiang
      3. G4763_mv_i18n_trunk.bat
        2 kB
        Shawn Jiang
      4. G4763_trunk.patch
        547 kB
        Shawn Jiang

        Activity

          People

          • Assignee:
            Ivan
            Reporter:
            Shawn Jiang
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development