TOML¶
Added in version 5.15.
Notă
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 Fișiere YAML or Fișiere 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.
Vezi și
Exemplu de fișier:
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"
File extensions |
|
|---|---|
Linguality ⓘ |
Monolingual |
Supports plural ⓘ |
|
Supports descriptions ⓘ |
|
Supports explanation ⓘ |
|
Supports context ⓘ |
|
Supports location ⓘ |
|
Supports flags ⓘ |
|
API identifier |
|
Supports read-only strings ⓘ |
|
Configurație Weblate¶
Tipic Weblate Configurația componentei |
|
|---|---|
Mască de fișier |
|
Fișier de limbă de bază monolingvă |
|
Șablon pentru traduceri noi |
Gol |
Format fișier |
TOML file |