Rivier/ Reference/ language

Language text translate

post/language/translate

Translate up to 200 texts into one language, keeping placeholders and markup, with the project's term list. A translation already made for the same words is read back and costs nothing; the rest is held against the project's spending limits.

Before you call

Credential
Authorization: Bearer $KEY
Scope
language:write
Mcp
rivier_language_translate
Graphql
Mutation.languageTextTranslate
Sdk
language.text.translate
Cli
language text translate

Request bodyapplication/json, required

  • textslist of stringrequired
  • tostringrequired
    At most 12 characters.
  • fromstring or auto
  • glossaryIdstring (uuid)
  • tonestring
    At most 200 characters.
  • purposestring
    At most 60 characters.

Responses

  • 200application/json
    Success
    • 400application/json
      The request was malformed
      • errorstringrequired
      • messagestring
    • 401application/json
      No valid credential
      • errorstringrequired
      • messagestring
    • 403application/json
      The credential lacks the scope, origin or address
      • errorstringrequired
      • messagestring
    • 429application/json
      Over the key's rate limit; see Retry-After
      • errorstringrequired
      • messagestring

    This page as Markdown