Details
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>