Skip to content

Kirby 4.5.0

POST /api/languages

Create a language

Post parameters

Parameter Type Required Description
code string required Needs to be a unique language code (de, fr, ch, etc.)
name string If not passed, the code will be used as name
locale string PHP locale string
direction string ltr or rtl. ltr will be used as default.
url string Custom URL path setting for the language. If not set, the language code will be used as URL path.