File XML piatti

Vedi anche

Flat XML

Cambiato nella versione 5.13: The tag and attribute names can now be customized using Parametri del formato file.

Esempio di file XML flat:

<?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>
Funzionalità supportate

Estensioni dei file

.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

Supports removing obsolete strings ⓘ

No

Configurazione Weblate

Typical Weblate Component configuration

Maschera del file

locale/*.xml

File di lingua a base monolingue

locale/en.xml

Modello per le nuove traduzioni

Empty

Formato file

Flat XML file