Fork me on GitHub

Internationalization files

Add your i18n.xls file into src/main/i18n.

Output resource files

Properties

customer.properties
customer_en.properties
invoice.properties
invoice_en.properties

JSON

customer.json
customer_en.json
invoice.json
invoice_en.json

XML

customer.xml
customer_en.xml
invoice.xml
invoice_en.xml

Resource content

Properties content

#Generated file customer.properties
#Sat May 10 01:56:34 CEST 2014
CUSTOMER=Customer
FIRSTNAME=Firstname
LASTNAME=Lastname

JSON content

{
  "CUSTOMER": "Customer",
  "FIRSTNAME": "Firstname",
  "LASTNAME": "Lastname"
}

XML content

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
<properties>
  <comment>Generated file customer.xml</comment>
  <entry key="LASTNAME">Lastname</entry>
  <entry key="CUSTOMER">Customer</entry>
  <entry key="FIRSTNAME">Firstname</entry>
</properties>