Flat XML files#

See also

Flat XML

Example of a flat XML file:

<?xml version='1.0' encoding='UTF-8'?>
<root>
  <str key="hello_world">Hello World!</str>
  <str key="resource_key">Translated value.</str>
</root>

Weblate configuration#

Typical Weblate Component configuration

File mask

locale/*.xml

Monolingual base language file

locale/en.xml

Template for new translations

Empty

File format

Flat XML file