Flat XML files

Se også

Flat XML

Endret i 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>
Supported features

File extensions

.xml

Linguality

Monolingual

Supports plural

No

Supports descriptions

No

Supports explanation

No

Supports context

No

Supports location

No

Supports flags

Yes

API identifier

flatxml

Supports read-only strings

No

Weblate-oppsett

Typical Weblate Komponentoppsett

Filmaske

locale/*.xml

Ettspråklig basis-språkfil

locale/en.xml

Mal for nye oversettelser

Empty

Filformat

Flat XML file