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.
If you experience errors, when you try to download a file, make sure your network policies (enforced by your company or ISP) allow downloading ZIP and/or MSI files.

Requirements
Building the API client library requires:
- Java 1.8+
- Maven (3.8.3+)/Gradle (7.2+)
Installation
To install the API client library to your local Maven repository, simply execute:
To deploy it to a remote Maven repository instead, configure the settings of the repository and execute:
Refer to the OSSRH Guide for more information.
Maven users
Add this dependency to your project’s POM:
<dependency>
<groupId>com.groupdocs</groupId>
<artifactId>GroupDocs-translation-cloud-Android</artifactId>
<version>24.5</version>
<scope>compile</scope>
</dependency>
Gradle users
Add this dependency to your project’s build file:
repositories {
mavenCentral() // Needed if the 'GroupDocs-translation-cloud' jar has been published to maven central.
mavenLocal() // Needed if the 'GroupDocs-translation-cloud' jar has been published to the local maven repo.
}
dependencies {
implementation "com.groupdocs:GroupDocs-translation-cloud-Android:24.5"
}
Others
At first generate the JAR by executing:
Then manually install the following JARs:
target/GroupDocs-translation-cloud-Android-24.5.jartarget/lib/*.jar
Getting Started
Please follow the installation instruction and execute the following Java code:
// Import classes:
import com.groupdocs.ApiClient;
import com.groupdocs.ApiException;
import com.groupdocs.Configuration;
import com.groupdocs.auth.*;
import com.groupdocs.models.*;
import org.openapitools.client.api.TranslationApi;
public class Example {
public static void main(String[] args) {
String basePath = "https://api.groupdocs.cloud/v2.0/translation";
String cliendId = "YOUR_CLIENT_ID";
String clientSecret = "YOUR_CLIENT_SECRET";
ApiClient defaultClient = new ApiClient(basePath, cliendId, clientSecret, null);
TranslationApi apiInstance = new TranslationApi(defaultClient);
TextRequest request = new TextRequest();
request.setSourceLanguage("en");
request.addTargetLanguagesItem("de");
request.addTextsItem("Text to translate");
try {
CloudTextResponse cloudTextResponse = apiInstance.textRequestIdGet(apiInstance.textPost(request).getId());
System.out.println(cloudTextResponse);
} catch (ApiException e) {
System.err.println("Exception when calling TranslationApi#autoPost");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Documentation for API Endpoints
All URIs are relative to https://api.groupdocs.cloud/v2.0/translation
| Class | Method | HTTP request | Description |
|---|
TranslationApi | autoPost | POST /auto | Translate any supported file |
TranslationApi | csvPost | POST /csv | Translate CSV and TSV files |
TranslationApi | documentPost | POST /document | Translate Microsoft Word documents, rtf, txt, odt |
TranslationApi | documentRequestIdGet | GET /document/{requestId} | Return document translation status. Also return URLs for downloading of translated document if translation was successful |
TranslationApi | documentTrialPost | POST /document/trial | Trial translate Microsoft Word documents, rtf, txt, odt without conversation. Translate only first page or 1000 symbols. |
TranslationApi | hcGet | GET /hc | Health check for all services. |
TranslationApi | htmlPost | POST /html | Translate HTML files |
TranslationApi | hugoGet | GET /hugo | Get hugo syntax structure from markdown file |
TranslationApi | hugoPost | POST /hugo | Run hugo syntax structure analyzing from markdown file |
TranslationApi | imageToFilePost | POST /image-to-file | Translate image or scanned pdf and return file |
TranslationApi | imageToTextPost | POST /image-to-text | Translate text on image or scanned pdf |
TranslationApi | languagesGet | GET /languages | Return list of available language pairs |
TranslationApi | markdownPost | POST /markdown | Translate Markdown files |
TranslationApi | pdfPost | POST /pdf | Translate pdf files |
TranslationApi | pdfTrialPost | POST /pdf/trial | Trial pdf translation. Translate only first page without conversion to another format. |
TranslationApi | presentationPost | POST /presentation | Translate Microsoft PowerPoint presentations, odp |
TranslationApi | resxPost | POST /resx | Translate RESX files |
TranslationApi | spreadsheetPost | POST /spreadsheet | Translate Microsoft Excel workbooks, ods |
TranslationApi | textPost | POST /text | Translate text |
TranslationApi | textRequestIdGet | GET /text/{requestId} | Return text translation status. Also return translated text if translation was successful |
TranslationApi | textTrialPost | POST /text/trial | Trial 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

Package Manager

