コマンド ラインからテキストやドキュメントを翻訳する

ソフトウェアをインストールせずに、コマンド ラインまたは Bash スクリプトから直接変換 REST API を操作します。テキストやドキュメントを英語、フランス語、中国語、スペイン語、ドイツ語、イタリア語、ロシア語、アラビア語、ポーランド語、その他の言語に翻訳します。

  • GroupDocs.Translation Cloud SDK for .NET
  • GroupDocs.Translation Cloud SDK for Java
  • GroupDocs.Translation Cloud SDK for Python
  • GroupDocs.Translation Cloud SDK for Android
無料トライアルを開始

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.

ドキュメント翻訳 REST API の高度な機能

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

Word 文書および PowerPoint プレゼンテーションの表を翻訳します

ドキュメントのヘッダーとフッターを翻訳します

Word 文書の脚注と文末脚注を翻訳します

Word 文書の画像キャプションを翻訳します

PowerPoint プレゼンテーションのテキスト フレーム、チャート、スライドを翻訳します

スプレッドシートのセル内のテキストを翻訳します

Excel ワークブックのグラフとピボット テーブルを翻訳します

すべての一般的な Markdown フォーマットを保持して Markdown ファイルを変換します

URL とパブリック リポジトリからファイルを変換します

追加のソフトウェアなしで結果をさまざまな形式に変換

Swagger コレクションに基づく API エクスプローラー

あらゆる言語、プラットフォーム、ストレージ サービス プロバイダー

GroupDocs.Translation は、HTTP 要求と応答を処理できる任意のプログラミング言語で記述された任意のアプリケーションに簡単に統合できる REST API です。 Google Cloud、Drive、DropBox、Amazon S3 などの一般的なクラウド ストレージ サービスをすべてネイティブにサポートし、依存関係なしでやり取りできます。

翻訳 REST API のクイック スタート

GroupDocs.Translation Cloud API には、すべての主要なプログラミング言語の詳細な開発者リファレンスとライブ コード例が付属しており、すぐに API 機能を使い始めることができます。 GroupDocs Cloud で無料のアカウントを作成し、APP SID とキー情報を取得して GroupDocs Cloud API と通信するだけで、cURL コマンドを使用して任意のプラットフォームで API リクエストを行う準備が整います。

テキストを翻訳 - 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."
          ]
      }
  }	

サポートと学習リソース

GroupDocs.Translation Cloud は、一般的なプログラミング言語およびプラットフォーム用の SDK を提供します。

  日本語