Skip to main content

Set Up a Custom Translation Integration in Knak

This guide shows how to set up a custom translation integration in Knak. You will create API access, configure webhooks, and connect your translation tool.

Updated today

Before You Start

  • Access to Knak Admin settings

  • A translation tool that supports API workflows

  • Basic knowledge of API authentication


Set Up API Access

Create an API Role

  1. Open Knak Builder

  2. Click Admin (top left)

  3. Click Company > Roles > + Create Role

    Roles page and create role button
  1. Add Role Name: API User

  2. Add Role Description (optional)

  3. Add permissions:

    • Request Translations

    • Can Manage API Tokens

    • (Optional) Request Translations for Unapproved Email

  4. Click Create

Create an API User

  1. Click Company > Users > Invite User

Invite user screen
  1. Enter user details:

    • Email

    • First name

    • Last name

  2. Select the API role you created

  3. Click Save User and Send Invite

πŸ’‘ Tip: Use email alias format (example: youremail+api@domain.com)


Set Up Authentication

Use OAuth2 (Open Authorization 2.0) for secure API access.

  • Sign in using your API user

  • Create an OAuth application

  • Grant required permissions

OAuth Application Page with +Create Application button highlighted.

OAuth setup:


Configure the Integration

Create a Webhook

  1. Go to Admin > Integrations > Webhooks

  2. Click Create Webhook

    Webhooks section with create webhook button highlighted.
  3. Enter:

    • Webhook Name

    • Payload URL

  4. Under Subscribed Events, select:

    • asset.translation_requested

    Edit webhook setup screen.

Create a Custom Translation Integration

  1. Go to Admin > Integrations > Platforms

  2. Scroll to Translations

  3. Click Connect on the Custom Translations Integration Tile

  4. After setup, the webhook appears on the integration tile.

    Available webhooks link in integration settings modal.
  5. Optional Settings:

    1. Hide Due Date

      • Hide the due date field

      • Simplify the submission flow

      Hide due date toggle.
    2. Restrict by Brand

      • Select Brand Restricted

      • Choose allowed brands

      • Only selected brands can use the integration.

      Brand restriction setting.

Create Translation Requests

  1. Open an asset

  2. Click Translate tab

  3. Click Translate Now

    Translate tab in an email with the "Translate Now" button highlighted.
  4. Select your custom integration

  5. Select Primary Language of your base asset

  6. Choose target languages

    Language selection screen for translation submission.
  7. Click Submit Request

    Request translation confirmation screen.

Process Translations via API

Follow this workflow:

  1. Create translation requests in Knak using the custom translation integration

  2. Query for translation requests via the API

  3. Fetch metadata for new translation requests via the API

  4. Fetch the translation source file for translation requests via the API

  5. Process the translation source file in your custom translation tool

  6. Upload the translated file to a translation request via the API

  7. View the translated variant of the completed translation request in the Knak editor


Managing Your Integration

  • Go to My Platform Connection to view, edit, or delete the integration.

    Platforms page displaying all platform connections
  • To add another connection, scroll through the Platforms page to get to the Translations section and click Add Another Connection.

Custom Translation platform tile with a red box around button that says "add another connection"

FAQs

What is the language code format for translation requests?

By default, the format for language codes is a 2-character code that indicates the language. Below is a list of the default languages.

Language Code

Language Name

zh

Chinese

es

Spanish

en

English

hi

Hindi

ar

Arabic

pt

Portuguese

ru

Russian

ja

Japanese

de

German

ms

Malay

id

Indonesian

vi

Vietnamese

ko

Korean

fr

French

it

Italian

th

Thai


Need more help? Contact support via live chat using the chat bubble in the bottom right corner or email support@knak.com.

Did this answer your question?