TOML¶
Afegit a la versió 5.15.
TOML és un format genèric com Fitxers YAML o Fitxers JSON i es pot utilitzar per localitzar aplicacions.
Weblate supports TOML in several variants:
- TOML file
Fitxer TOML senzill sense suport per a plurals.
- go-i18n TOML file
variant go-i18n amb suport de plurals.
Vegeu també
Fitxer d’exemple:
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 |
|
|---|---|
Lingualitat ⓘ |
Monolingual |
Supports plural ⓘ |
|
Supports descriptions ⓘ |
|
Admet l’explicació ⓘ |
|
Supports context ⓘ |
|
Supports location ⓘ |
|
Supports flags ⓘ |
|
API identifier |
|
Admet cadenes de només lectura ⓘ |
|
Supports removing obsolete strings ⓘ |
|
Configuració del Weblate¶
Placa web típica Configuració dels components |
|
|---|---|
Filtre de fitxers |
|
Fitxer de llengua base monolingüe |
|
Plantilla per a traduccions noves |
«Buit». |
Format de fitxer |
TOML file |