<a id="flatxml"></a>

# Obične XML datoteke

<a id="index-0"></a>

#### SEE ALSO
[Flat XML](https://docs.translatehouse.org/projects/translate-toolkit/en/latest/formats/flatxml.html)

#### Versionchanged
Promijenjeno u verziji 5.13: The tag and attribute names can now be customized using [Parametri formata datoteke](https://docs.weblate.org/hr/latest/formats.md#file-format-params).

Example of flat XML files:

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

```xml
<?xml version='1.0' encoding='UTF-8'?>
<dictionary>
  <entry name="hello_world">Hello World!</entry>
  <entry name="resource_key">Translated value.</entry>
</dictionary>
```

<!-- AUTOGENERATED START: format-features flatxml -->
<!-- This section is automatically generated by `./manage.py list_format_features`. Do not edit manually. -->

#### Podržane funkcije

| Datotečni sufiks                                                                                           | `.xml`       |
|------------------------------------------------------------------------------------------------------------|--------------|
| Jezičnost [ⓘ](https://docs.weblate.org/hr/latest/formats.md#bimono)                                          | Jednojezične |
| Podržava množinu [ⓘ](https://docs.weblate.org/hr/latest/formats.md#format-plurals)                           | `No`         |
| Podržava opise [ⓘ](https://docs.weblate.org/hr/latest/formats.md#format-description)                         | `No`         |
| Podržava objašnjenja [ⓘ](https://docs.weblate.org/hr/latest/formats.md#format-explanation)                   | `No`         |
| Podržava kontekst [ⓘ](https://docs.weblate.org/hr/latest/formats.md#format-context)                          | `No`         |
| Podržava mjesto [ⓘ](https://docs.weblate.org/hr/latest/formats.md#format-location)                           | `No`         |
| Podržava oznake [ⓘ](https://docs.weblate.org/hr/latest/formats.md#format-flags)                              | `Yes`        |
| Identifikator API-ja                                                                                       | `flatxml`    |
| Podržava izraze koji su samo-za-čitanje [ⓘ](https://docs.weblate.org/hr/latest/formats.md#read-only-strings) | `No`         |
| Supports removing obsolete strings [ⓘ](https://docs.weblate.org/hr/latest/formats.md#obsolete-strings)       | `No`         |
<!-- AUTOGENERATED END: format-features flatxml -->

## Weblate konfiguracija

|                                       | Typical Weblate [Konfiguracija komponente](https://docs.weblate.org/hr/latest/admin/projects.md#component)   |
|---------------------------------------|-----------------------------------------------------------------------------------------------------|
| Maska datoteke                        | `locale/*.xml`                                                                                      |
| Jednojezična datoteka osnovnog jezika | `locale/en.xml`                                                                                     |
| Predložak za nove prijevode           | Empty                                                                                               |
| Format datoteke                       | Flat XML file                                                                                       |
