Jednolity plik XML

Zobacz także

Flat XML

Zmienione w wersji 5.13: The tag and attribute names can now be customized using Parametry formatu pliku.

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

Konfiguracja Weblate

Typowy Weblate Konfiguracja komponentu

Maska pliku

locale/*.xml

Jednojęzyczny bazowy plik języka

locale/en.xml

Szablon dla nowych tłumaczeń

Puste

Format pliku

Jednolity plik XML