ckanaction

term_translation_update

Create or update a term translation.

You must be a sysadmin to create or update term translations.

PUT
term_translation_update

Authorization

apiTokenHeader
Authorization<token>

CKAN API token

In: header

Request Body

application/json

term?string

the term to be translated, in the original language, e.g. 'fruit'

term_translation?string

the translation of the term, e.g. 'obst'

lang_code?string

the language code of the translation, e.g. 'de'

curl -X PUT "http://localhost:5000/api/3/action/term_translation_update" \  -H "Content-Type: application/json" \  -d '{}'