Traduci testi e documenti dalla riga di comando

Interagisci con l’API REST di traduzione direttamente dalla riga di comando o dagli script Bash senza installare alcun software. Traduci testi e documenti da e verso inglese, francese, cinese, spagnolo, tedesco, italiano, russo, arabo, polacco e altre lingue.

  • GroupDocs.Translation Cloud SDK for .NET
  • GroupDocs.Translation Cloud SDK for Java
  • GroupDocs.Translation Cloud SDK for Python
  • GroupDocs.Translation Cloud SDK for Android
Inizia la prova gratuita

GroupDocs.Translation offers real-time machine translation for texts, documents, images and resources. Powerful machine learning algorithms and sophisticated neural networks provide a quality close to that of a professional human translator, but much faster and more cost-effective. Running on a high-performance cloud server hosted by GroupDocs, it can translate PDF, Microsoft Office and OpenOffice documents, Markdown files, images and .NET resources into 46 European, Middle East and Asian languages (across 128 language pairs). The API not only translates text, but also accurately preserves metadata, structure, styles, and layout of documents.

The service provides a versatile and easy-to-use REST API, which can be accessed without installing any software. Just use cURL commands and combine them into scripts for complex tasks. You can also use third party REST API tools like Postman. This allows you to use GroupDocs.Translation on any platform with an internet connection, even those not yet covered by the SDK.

Funzionalità avanzate dell’API REST per la traduzione di documenti

Translates to and from 46 European, Middle East and Asian languages

Traduce tabelle in documenti Word e presentazioni PowerPoint

Traduce intestazioni e piè di pagina nei documenti

Traduce note a piè di pagina e note di chiusura nei documenti di Word

Traduce le didascalie delle immagini nei documenti Word

Traduce cornici di testo, grafici e diapositive nelle presentazioni PowerPoint

Traduce i testi all’interno delle celle del foglio di calcolo

Traduce grafici e tabelle pivot nelle cartelle di lavoro di Excel

Traduce i file Markdown preservando tutta la formattazione Markdown comune

Traduce file da URL e repository pubblici

Converte i risultati in diversi formati senza software aggiuntivo

Esplora API basato sulla raccolta Swagger

Qualsiasi lingua, piattaforma e fornitore di servizi di archiviazione

GroupDocs.Translation è un’API REST che può essere facilmente integrata in qualsiasi applicazione scritta in qualsiasi linguaggio di programmazione in grado di gestire richieste e risposte HTTP. Supporta nativamente tutti i più diffusi servizi di cloud storage come Google Cloud, Drive, DropBox e Amazon S3 per interagire senza dipendenze.

Avvio rapido con l’API REST di traduzione

GroupDocs.Translation Cloud API viene fornito con riferimenti dettagliati per sviluppatori ed esempi di codice live per tutti i principali linguaggi di programmazione per iniziare a lavorare con le funzionalità API in pochissimo tempo. Basta creare un account gratuito su GroupDocs Cloud, ottenere APP SID e informazioni sulla chiave per comunicare con GroupDocs Cloud API e sei pronto per effettuare una richiesta API su qualsiasi piattaforma utilizzando i comandi cURL.

Traduci testo - cURL

  //Get your App SID, App Key and Storage Name at https://dashboard.groupdocs.cloud (free registration is required).
  // Getting token
  curl --location --reqest POST 'https://id.groupdocs.cloud/connect/token' \
      --header 'Content-Type: application/x-www-form-urlencoded' \
      --data-urlencode 'grant_type=client_credentials' \
      --data-urlencode 'client_id=CLIENT-ID-VALUE' \
      --data-urlencode 'client_secret=CLIENT-SECRET-VALUE'
  //response
  {
      "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...BUNNec2iRtStPW2Ywek4iJmYwMbWONQ",
      "expires_in": 3600,
      "token_type": "Bearer"
  }
  // Sending text for translation
  curl --location --request POST 'https://api.groupdocs.cloud/v2.0/translation/text' \
      --header 'Content-Type: application/json' \
      --header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...UV1hLfgNCSQ4VKGCOA' \
      --data '{
          "sourceLanguage": "en",
          "targetLanguages": [
              "de"
          ],
          "texts": [
              "Hello, world! I can read this text in my language."
          ]
      }'
  //response
  {
      "status": 202,
      "message": "Starting translation",
      "id": "a4fc6c6e-81b0-43c8-b62b-b8bb99520ce9"
  }
  //getting translation
  curl --request GET --location 'https://api.groupdocs.cloud/v2.0/translation/text/a4fc6c6e-81b0-43c8-b62b-b8bb99520ce9' \
      --header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...UV1hLfgNCSQ4VKGCOA'	
  //response
  {
      "status": 200,
      "message": "Text translated successfully",
      "translations": {
          "de": [
              "Hallo, Welt! Ich kann diesen Text in meiner Sprache lesen."
          ]
      }
  }	

Supporto e risorse per l'apprendimento

GroupDocs.Translation Cloud offre SDK per i linguaggi e le piattaforme di programmazione più diffusi:

  Italiano