Java XML Properties

Information about how Transifex handles the Java XML Properties (.xml) file format.

Nina avatar
Written by Nina
Updated over a week ago

File Extension(s)

.xml

i18n type(s)

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 have the relevant entries commented out.


Parser Behavior

The following table outlines what occurs to strings when using the API, CLI, or UI to manipulate translation files depending on download mode.

*The results are compatible with parser version 1.

๐Ÿ“ Note: Proofreading must be enabled for this logic to take effect. To learn how to enable proofreading, click here.


Additional Information


๐Ÿ’กTip

Looking for more help? Get support from our Transifex Community Forum!

Find answers or post to get help from Transifex Support and our Community.

Did this answer your question?