Transifex

  • Documentation
  • File formats
  • Java XML Properties

Java XML Properties

  • File extensions: .xml
  • i18n_type: PROPERTIESXML

XML Java Properties files are one of the formats used in Java applications for internationalization purposes as an alternative to the .properties files. The format is relatively simple:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE properties SYSTEM "[http://java.sun.com/dtd/properties.dtd](http://java.sun.com/dtd/properties.dtd)">
<properties>
  <entry key="hello">Hello</entry>
  <entry key="world">world</entry>
</properties>

Translations downloaded from Transifex will use the source strings for any empty translation strings and will have the relevant entries commented out.