Translate Documents using cURL
Communicate with document translation REST API to precisely translate plain text and contents of Word, Excel & PowerPoint documents in popular business languages without installing any external software.
Start Free Trial
GroupDocs.Translation Cloud for cURL
GroupDocs.Translation Cloud for cURL is a flexible text and documents translation solution to transform text-based content on your cloud-hosted Microsoft Word, Excel and PowerPoint documents across 22 language pairs. Simply use cURL commands to send requests to the REST API, translate English language content from the supported document types to French, German, Chinese, Italian, Spanish, Russian, Arabic, Polish or Portuguese languages, and back again.
The API precisely reads the text within the contents of Word documents (tables, headers, footers, image captions, footnotes, endnotes), PowerPoint presentations (text frames, header, footer, shapes, charts, smartart) and Excel spreadsheets (charts, tables, pivot tables) without affecting the layout and properties of the original source document.
Advanced Document Translation REST API Features
Supports 10 languages and 22 language pairs
Translation of tables in Word & PowerPoint documents
Translation of headers and footers in Word & PowerPoint documents
Translation of footnotes and endnotes in Word document
Translation of image captions in Word documents
Translation of Text Frames, Charts & Slides within PowerPoint Presentations
Translation of cells containing text in Excel workbooks
Translation of charts in Excel workbooks
Translation of tables in Excel workbooks
Translation of pivot tables in Excel workbooks
APIs are secured and require authentication
API explorer based on swagger collection
Any Language, Platform and Storage Service Provider
GroupDocs.Translation for Cloud is a REST based API that can easily be integrated with any language or platform, capable to manage HTTP requests and responses. It supports all popular cloud storage services such as Google Cloud, Drive, DropBox and Amazon S3 to interact without any dependencies.
Translate Word document - cURL
//Get your App SID, App Key and Storage Name at https://dashboard.groupdocs.cloud (free registration is required).
curl -X POST "https://api.groupdocs.cloud/v1.0/translation/document" \
-H "Authorization: Bearer TOKEN" \
-H "Content-Type: application/json" \
-d "'[{\"format\": \"docx\", \"pair\": \"en-fr\", \"name\": \"test.docx\", \"folder\": \"\", \"savepath\": \"\", \"savefile\": \"translated.docx\", \"storage\": \"First Storage\"}]'"
and response
{
"status": "ok",
"message": "word file saved successfully"
}
Quick Start with Document Translation REST API
GroupDocs.Translation Cloud API comes with detailed developer guides and live code examples for all major programming languages to start working with API features in no time. Simply create a free account at GroupDocs Cloud, get APP SID & Key information to communicate with GroupDocs Cloud API and you are ready to make an API request on any platform using cURL commands or the SDKs of your choice.
Translate plain text - cURL
//Get your App SID, App Key and Storage Name at https://dashboard.groupdocs.cloud (free registration is required).
curl -X POST "https://api.groupdocs.cloud/v1.0/translation/text" \
-H "Authorization: Bearer TOKEN" \
-H "Content-Type: application/json" \
-d "'[{\"pair\": \"en-fr\", \"text\": \"Welcome to Paris\"}]'"
//and response
{
"status": "ok",
"message": "Text translated successfully",
"translation": "Bienvenue à Paris"
}
Support and Learning Resources
- Learning Resources
- Documentation
- Source Code
- API References
- Product Support
- Free Support
- Blog