YAML Format

Format

Simpleen supports the YAML format.

---
path: "locale/en"
---
errors:
  messages:
    invalid: 'Validation failed'
    restricted: 'No Permission'

By default all strings are getting translated.

The following data types are not getting translated. They are getting returned in the result unaltered:

  • numbers (1.5, 10)
  • null
  • boolean (false, true)

The metadata (YAML front matter) at the beginning of the YAML file are not getting translated and are returned in the file.