There is actually a way to retrieve all translations via the core API and there is a way to retrieve the translations in the Kirby front-end via the site->translations() API.
Yet, trying to use the site’s translations function via the kql API (query: site.translations
), it responds with the error, that this function is not allowed in the context of the API.
I’m able to run query: kirby.translations
but I’m not sure what I’m looking at here with that result.
"translations": [
"bg",
"ca",
"cs",
"da",
"de",
"el",
"en",
"es_419",
"es_ES",
"fa",
"fi",
"fr",
"hu",
"id",
"it",
"ko",
"lt",
"nb",
"nl",
"pl",
"pt_BR",
"pt_PT",
"ru",
"sk",
"sv_SE",
"tr"
]
So, my question is, is there even a way to get all translations via the kql plugin?
To clarify I don’t mean a language version of the page content, but the static translation strings.