Skip to main content

Update Key

Updates Key.

Request type: POST

API Endpoint

https://api.translized.com/term/update

Parameters

ParamTypeRequiredDescription
projectIdStringTrueId of your project
termKeyStringTrueKey of key to update
translationStringFalseTranslation. If defined languageCode is required
languageCodeStringFalseCode of language for translation. If defined translation is required
contextStringFalseContext of key

Example requests

curl -X POST -H "Content-Type: application/json" \
-H "api-token: 42cf5fec-a74c-4a53-8ebc-86a4e52b7ce6" \
-d "{"projectId":"A3KJtLw4mt", "termKey":"Api.test", "translation":"API TEST", "languageCode": "en"}" \
https://api.translized.com/term/update
info
  • projectId can be found inside your project's settings. (Translized App > Your Project > Settings )
  • List of all supported languages with languageCode values can be found in our Supported Languages section.
  • Key context is not required but it is good way to describe where or how key will be used.

Example response

{
"result": {
"key": "Api.test",
"value": [
{
"code": "en",
"translation": "API TEST"
}
{
"code": "de",
"translation": "Anmelden 1"
},
{
"code": "fr",
"translation": "S'inscrire"
}
]
}
}