Browse our Products

If so you can download any of the below versions for testing. The product will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the product to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.

Docs Swagger Examples Blog Support Release Notes Dashboard

Installation

The package is available at nuget.org and it can be installed via package manager console by executing following command:

PM> NuGet\Install-Package GroupDocs.Translation-Cloud

Version NuGet NuGet-GroupDocsCloud


System Requirements

GroupDocs.Translation Cloud is an on-demand service, meaning it has no specific device or OS requirements. It can be accessed using any programming language that supports HTTPS requests.

Requirement       Details
Programming Languages       .NET, Java, PHP, JavaScript (AJAX), Ruby, Python, Kotlin, Go, Node.js, C++, and more.
Third-party REST Clients       Compatible with cURL, Postman, and other REST clients.
Internet Access       A device with an active internet connection is required.
Firewall Access       Ensure the application is not blocked by a firewall for seamless operation.

Note: GroupDocs.Translation Cloud works across all devices and operating systems, as long as they support HTTPS and have internet access.


Getting Started

1. Sign Up and Account Setup

  1. Create an Account: Go to GroupDocs Cloud API.

    • If you’re already registered, sign in with your credentials.
    • If not, click Don’t have an account? Sign Up and follow the steps.
  2. Subscription Plans: Review subscription plans and free-tier limits.

  3. Privacy & Security: GroupDocs values your privacy. Refer to our Privacy Policy and Terms of Service for more information.


2. Get an Access Token

GroupDocs uses JWT authentication for secure data transfer. To get your access token:

  1. Obtain Client ID and Secret:

    • Sign in to the GroupDocs Cloud API Dashboard.
    • Navigate to Applications, create storage for your files, provide an application name (e.g., HelloWorld), and copy the Client ID and Client Secret.
  2. Request Access Token: Use the following cURL command:

    curl --location --request POST 'https://id.groupdocs.cloud/connect/token' \
      --data-urlencode 'grant_type=client_credentials' \
      --data-urlencode 'client_id=CLIENT-ID-VALUE' \
      --data-urlencode 'client_secret=CLIENT-SECRET-VALUE'
    

    The response will include your access token:

    {
       "access_token": "YOUR_ACCESS_TOKEN",
       "expires_in": 3600,
       "token_type": "Bearer"
    }
    

3. Translate Text Using GroupDocs.Translation API

Now that you have your access token, follow these steps to translate text:

  1. Send Text for Translation: Use the cURL command to send a translation request from English to German:

    curl --location --request POST 'https://api.groupdocs.cloud/v2.0/translation/text' \
    --header 'Content-Type: application/json' \
    --header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
    --data '{
       "sourceLanguage": "en",
       "targetLanguages": ["de"],
       "texts": ["Hello, world! I can read this text in my language."]
    }'
    

    You will receive a unique request ID:

    {
       "status": 202,
       "message": "Starting translation",
       "id": "cb87bd7c-4660-4044-88c7-2b30edb44a4d"
    }
    
  2. Retrieve Translated Text: Use the unique request ID to fetch the translated text:

    curl --location 'https://api.groupdocs.cloud/v2.0/translation/text/cb87bd7c-4660-4044-88c7-2b30edb44a4d' \
    --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'
    

    The translated text will be returned:

    {
       "status": 200,
       "message": "Text translated successfully",
       "translations": {
          "de": ["Hallo, Welt! Ich kann diesen Text in meiner Sprache lesen."]
       }
    }
    

All URIs are relative to https://api.groupdocs.cloud/v2.0/translation

Class       MethodHTTP requestDescription
TranslationApi       autoPostPOST /autoTranslate any supported file
TranslationApi       csvPostPOST /csvTranslate CSV and TSV files
TranslationApi       documentPostPOST /documentTranslate Microsoft Word documents, rtf, txt, odt
TranslationApi       documentRequestIdGetGET /document/{requestId}Return document translation status. Also return URLs for downloading of translated document if translation was successful
TranslationApi       documentTrialPostPOST /document/trialTrial translate Microsoft Word documents, rtf, txt, odt without conversation. Translate only first page or 1000 symbols.
TranslationApi       hcGetGET /hcHealth check for all services.
TranslationApi       htmlPostPOST /htmlTranslate HTML files
TranslationApi       hugoGetGET /hugoGet hugo syntax structure from markdown file
TranslationApi       hugoPostPOST /hugoRun hugo syntax structure analyzing from markdown file
TranslationApi       imageToFilePostPOST /image-to-fileTranslate image or scanned pdf and return file
TranslationApi       imageToTextPostPOST /image-to-textTranslate text on image or scanned pdf
TranslationApi       languagesGetGET /languagesReturn list of available language pairs
TranslationApi       markdownPostPOST /markdownTranslate Markdown files
TranslationApi       pdfPostPOST /pdfTranslate pdf files
TranslationApi       pdfTrialPostPOST /pdf/trialTrial pdf translation. Translate only first page without conversion to another format.
TranslationApi       presentationPostPOST /presentationTranslate Microsoft PowerPoint presentations, odp
TranslationApi       resxPostPOST /resxTranslate RESX files
TranslationApi       spreadsheetPostPOST /spreadsheetTranslate Microsoft Excel workbooks, ods
TranslationApi       textPostPOST /textTranslate text
TranslationApi       textRequestIdGetGET /text/{requestId}Return text translation status. Also return translated text if translation was successful
TranslationApi       textTrialPostPOST /text/trialTrial translate text. Translate only 1000 symbols.

Documentation for Models

CloudFileResponse, CloudHugoResponse, CloudTextResponse, CsvFileRequest, FileRequest, HealthCheckStatus, HtmlFileRequest, HttpStatusCode, HugoRequest, ImageToFileRequest, ImageToTextRequest, LanguagePairData, MarkdownFileRequest, PdfFileRequest, PresentationFileRequest, ResxFileRequest, SpreadsheetFileRequest, StatusResponse, StringStringTuple, TextDocumentFileRequest, TextRequest, UrlFileInfo, WorksheetData

GroupDocs.Translation Cloud SKDs

GitHub

GitHub GitHub GitHub GitHub

Package Manager

NuGet Maven PyPI Android


Docs Swagger Examples Blog Support Release Notes Dashboard


groupdocs-net-rest-api nuget sdk net-sdk cloud rest rest-api cloud-api mit jwt oauth groupdocs-total-cloud groupdocs-translation-cloud document-automation document automation cloud-document doc docx docm rtf odt xls xlsx xlsm csv tsv ods ppt pptx pptm odp pdf md markdown translate translator multi-lingual language language-pair translation-pair json paragraph header footer footnote endnote image caption table pivot cells charts master slide notes comments frames convert conversion converter french english german deutsch chinese spanish italian russian arabic portuguese polish ukrainian vietnamese indonesian hindi greek dutch hungarian swedish turkish japanese korean czech finnish irish slovak farsi persian hebrew azerbaijani thai romanian malay bulgarian english-to-french french-to-english english-to-german german-to-english english-to-deutsch deutsch-to-english english-to-chinese chinese-to-english english-to-spanish spanish-to-english english-to-italian italian-to-english english-to-russian russian-to-english english-to-arabic arabic-to-english english-to-portuguese portuguese-to-english english-to-polish polish-to-english english-to-ukrainian ukrainian-to-english english-to-vietnamese vietnamese-to-english english-to-indonesian indonesian-to-english english-to-hindi hindi-to-english english-to-greek greek-to-english english-to-dutch dutch-to-english english-to-hungarian hungarian-to-english english-to-swedish swedish-to-english english-to-turkish turkish-to-english english-to-japanese japanese-to-english english-to-korean korean-to-english english-to-czech czech-to-english english-to-finnish finnish-to-english english-to-irish irish-to-english english-to-slovak slovak-to-english english-to-farsi farsi-to-english english-to-persian persian-to-english english-to-hebrew hebrew-to-english english-to-azerbaijani azerbaijani-to-english english-to-thai thai-to-english english-to-romanian romanian-to-english english-to-malay malay-to-english english-to-bulgarian bulgarian-to-english french-to-german german-to-french french-to-deutsch deutsch-to-french french-to-italian italian-to-french french-to-arabic arabic-to-french


 English