App MT Personalizzata

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

Chiunque può creare app che estenderanno la funzionalità di Crowdin Imprese. 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. I moduli sono le parti funzionali che integrano ogni app in parti specifiche dell’UI di Crowdin IMprese e vi interagiscono. 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

Una volta creata l’app, puoi installarla su Crowdin Imprese tramite manifest.json, sotto base_url. Per farlo, vai alle Impostazioni dell’Organizzazione > App > clicca Installazione manuale > inserisci il manifesto > clicca Installa.

Installa l'app di Crowdin Imprese tramite manifesto dell'app

Ora puoi connettere questa MT alla tua organizzazione:

  1. Apri la Traduzione automatica nella barra dei menu sinistra > Aggiungi Motore Automatico.
  2. Seleziona Crea motore personalizzato > seleziona la tua app > inseriscine il nome, poiché sarà mostrato nei progetti.
  3. Ora viene aggiunto alla tua organizzazione, puoi usarlo per i tuoi progetti.

Una volta connesso, puoi usarlo per pre-tradurre i contenuti o mostrare suggerimenti di traduzione nell’editor.

Questo articolo è stato utile?