# TOML

#### Versionadded
Added in version 5.15.

TOML is a generic format like [YAML files](https://docs.weblate.org/no/latest/formats/yaml.md) or [JSON files](https://docs.weblate.org/no/latest/formats/json.md) and can be used to localize applications.

Weblate supports TOML in several variants:

TOML file
: Plain TOML file without support for plurals.

go-i18n TOML file
: go-i18n variant with plurals support.

#### SEE ALSO
* [TOML](https://docs.translatehouse.org/projects/translate-toolkit/en/latest/formats/toml.html)
* [Updating target-language files](https://docs.weblate.org/no/latest/devel/integration.md#updating-target-files)

Example file:

```toml
hello = "Ahoj světe!\n"
orangutan = "Orangutan má %d banán.\n"
thanks = "Děkujeme za použití Weblate."
try = "Zkus Weblate na <https://demo.weblate.org/>!\n"
```

```toml
[hello]
other = "Ahoj světe!\n"

[orangutan]
one = "Orangutan má %d banán.\n"
other = "Orangutan má %d banány.\n"

[thanks]
other = "Děkujeme za použití Weblate."

[try]
other = "Zkus Weblate na <https://demo.weblate.org/>!\n"
```

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

#### Supported features

| File extensions                                                                                      | `.toml`     |
|------------------------------------------------------------------------------------------------------|-------------|
| Linguality [ⓘ](https://docs.weblate.org/no/latest/formats.md#bimono)                                   | Monolingual |
| Supports plural [ⓘ](https://docs.weblate.org/no/latest/formats.md#format-plurals)                      | `No`        |
| Supports descriptions [ⓘ](https://docs.weblate.org/no/latest/formats.md#format-description)            | `No`        |
| Supports explanation [ⓘ](https://docs.weblate.org/no/latest/formats.md#format-explanation)             | `No`        |
| Supports context [ⓘ](https://docs.weblate.org/no/latest/formats.md#format-context)                     | `No`        |
| Supports location [ⓘ](https://docs.weblate.org/no/latest/formats.md#format-location)                   | `No`        |
| Supports flags [ⓘ](https://docs.weblate.org/no/latest/formats.md#format-flags)                         | `No`        |
| API identifier                                                                                       | `toml`      |
| Supports read-only strings [ⓘ](https://docs.weblate.org/no/latest/formats.md#read-only-strings)        | `No`        |
| Supports removing obsolete strings [ⓘ](https://docs.weblate.org/no/latest/formats.md#obsolete-strings) | `No`        |
<!-- AUTOGENERATED END: format-features toml -->

## Weblate configuration

|                                | Typical Weblate [Component configuration](https://docs.weblate.org/no/latest/admin/projects.md#component)   |
|--------------------------------|----------------------------------------------------------------------------------------------------|
| File mask                      | `langs/*.toml`                                                                                     |
| Monolingual base language file | `langs/en.toml`                                                                                    |
| Template for new translations  | Empty                                                                                              |
| File format                    | TOML file                                                                                          |
