TOML

Shtuar në versionin 5.15.

Shënim

Support for this format is under development. Some features might not yet be available and the behavior can change between releases. Feedback from testing is welcome.

TOML is a generic format like Kartela YAML or Kartela JSON 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.

Shembull kartele:

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"
Supported features

File extensions

.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

Formësim Weblate-i

Typical Weblate Component configuration

Maskë kartele

langs/*.toml

Kartelë njëgjuhëshe gjuhe bazë

langs/en.toml

Gjedhe për përkthime të reja

Empty

Format kartelash

TOML file