legacy-knowledge-base
公開されました Jun. 30, 2025

Google Cloud Translatorを有効にする方法

written-by

Rodrigo Mier

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • Google Cloud TranslatorとLiferay DXPの統合の設定方法
  • どのような情報を サービス・アカウントの秘密鍵フィールドに追加する必要があるか。

環境

  • Liferay DXP

解像度

  • Google Cloud TranslatorをLiferay DXPで使うには、まずGoogle Cloud Translateのアカウントとプロジェクトが必要です。
  • Google Cloud ConsoleからサービスキーのJSONファイルを生成してダウンロードできます。 このファイルはGoogle CloudがAPIと通信するために使用され、その結果、特定の設定とそのパラメータはこのAPIに依存します。

  • このファイルのJSON形式の情報は次のようになります。

{
"type": "service_account",
"project_id": "nodal-boulder-382911",
"private_key_id": "8f425417f9128788052333f754076f708c5a2005",
"private_key": "-----BEGIN PRIVATE KEY-----\nMIIXXXXXXXX4FNBQRv7C3trrv5s\n7CwTtwfl/maC50Y9SmlG9yHMNA==\n-----END PRIVATE KEY-----\n",
"client_email": "mi-cuenta-de-servicio@nodal-XXXXXXXXXXX.gserviceaccount.com",
"client_id": "10946999999993106",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/mi-cuenta-de-servicio%40nodal-boulder-xxxxxxgserviceaccount.com",
"universe_domain": "googleapis.com"
}


  • このJSON形式の情報は、DXP統合タブで必要になります:
    [Translator Using Google Cloud]へ移動します。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base