Custom MT App

You can translate your content using machine translation engines in Crowdin. If you don’t see the engine you need among the supported MT engines, you can connect your own engine by creating an app.

Creating the Custom MT App

Anyone can create apps that will extend the functionality of Crowdin Enterprise. For detailed instructions, read articles Getting started with Crowdin apps.

The functionality of some apps is implemented using webhook events and some use modules. You’ll need to implement modules for this kind of app. Modules are the functional parts that integrate each app into specific parts of Crowdin Enterprise UI and interact with it. Make sure to use the “custom-mt” module in your app manifest.

Note: Make sure that your app using the same language codes as Crowdin Enterprise supports. If some languages don’t match, set up language mapping.

Request example:

Request body:

{"strings": ["Start", "Next"] }

Query:

  "target": "de"
  "source": "en"
  "jwtToken": "jwt token"

Response example:

{
  "data": {
    "translations": ["Start", "Nächste"]
}

Installing the Custom MT App

Once you create the app, you can install it in Crowdin Enterprise through manifest.json that is under base_url. For this, go to Organization Settings > Apps > click Manual install > enter the manifest > click Install.

Install Crowdin Enterprise app via app manifest

Now, you can connect this MT to your organization:

  1. Open Machine translation at the left menu bar > Add Machine Engine.
  2. Select Create custom engine > select your app > enter it’s name, as it will be displayed in the projects.
  3. Now it’s added to your organization, you can use it for your projects.

Once it’s connected you can use it to pre-translate content or show translation suggestions in the editor.

War dieser Artikel hilfreich?