Flat XML files¶
See also
Changed in version 5.13: The tag and attribute names can now be customized using File format parameters.
Example of flat XML files:
<?xml version='1.0' encoding='UTF-8'?>
<root>
<str key="hello_world">Hello World!</str>
<str key="resource_key">Translated value.</str>
</root>
<?xml version='1.0' encoding='UTF-8'?>
<dictionary>
<entry name="hello_world">Hello World!</entry>
<entry name="resource_key">Translated value.</entry>
</dictionary>
File extensions |
|
|---|---|
Linguality ⓘ |
Monolingual |
Supports plural ⓘ |
|
Supports descriptions ⓘ |
|
Supports explanation ⓘ |
|
Supports context ⓘ |
|
Supports location ⓘ |
|
Supports flags ⓘ |
|
API identifier |
|
Supports read-only strings ⓘ |
|
Weblate configuration¶
Typical Weblate Component configuration |
|
|---|---|
File mask |
|
Monolingual base language file |
|
Template for new translations |
Empty |
File format |
Flat XML file |