TOML

Added in version 5.15.

TOML is a generic format like File YAML or File JSON and can be used to localize applications.

Weblate supporta TOML in diverse varianti:

TOML file

Plain TOML file without support for plurals.

go-i18n TOML file

go-i18n variant with plurals support.

Example file:

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"
[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"
Funzionalità supportate

Estensioni dei file

.toml

Linguality ⓘ

Monolingual

Supports plural ⓘ

No

Supports descriptions ⓘ

No

Supports explanation ⓘ

No

Supports context ⓘ

No

Supports location ⓘ

No

Supports flags ⓘ

No

API identifier

toml

Supports read-only strings ⓘ

No

Supports removing obsolete strings ⓘ

No

Configurazione Weblate

Typical Weblate Component configuration

Maschera del file

langs/*.toml

File di lingua a base monolingue

langs/en.toml

Modello per le nuove traduzioni

Empty

Formato file

TOML file