YAML files

The plain YAML files with string keys and values. Weblate also extract strings from lists or dictionaries.

Weblate currently supports several variants of YAML translations:

Example of a YAML file:

weblate:
  hello: ""
  orangutan: ""
  try: ""
  thanks: ""
Supported features

File extensions

.pyml, .yaml, .yml

Linguality ⓘ

Both monolingual and bilingual

Supports plural ⓘ

No

Supports descriptions ⓘ

No

Supports explanation ⓘ

No

Supports context ⓘ

No

Supports location ⓘ

No

Supports flags ⓘ

No

API identifier

yaml

Supports read-only strings ⓘ

No

Supports removing obsolete strings ⓘ

No

Weblate configuration

Typical Weblate Component configuration

File mask

translations/messages.*.yml

Monolingual base language file

translations/messages.en.yml

Template for new translations

Empty

File format

YAML file

File format parameters

File format parameters with the pattern yaml_* can be used to configure the behavior of the YAML format.