Issue
-
Steps to reproduce:
1. Enabling Google Cloud Translation requires an active account and a Google Cloud project with Cloud Translation API enabled. This project must also have a service account with a JSON account key. Check the official Google Cloud Translation documentation for more information.
2. Click Menu( Global Menu), click the Control Panel tab, and navigate to System Settings → Translation → Translator Using Google Cloud.
3. Check Enabled.
4. Enter a valid Google Cloud service account key in JSON format.
5. Click Save.
6. Navigate to Site Administration > Content & Data > Web Content.
7. Add a Basic Web Content: 'Test Translation'.
8. Click Action of 'Test Translation' web content, and click Translate.
9. Select translate from English to Japanese.
10. Click Auto Translate.
Expected Results: Content should successfully translate from English to Japanese。
Actual Results: An error occurred, and the page displayed 'There is a problem with the translation service. Please contact your administrator.' An error was reported in the background: "ERROR [http-nio-8080-exec-5][AutoTranslateServlet: 94] null
Environment
- Liferay DXP 7.4
- 2023.Q3.0
- 2023.Q3.1
Resolution
- The observed behavior is a known Liferay DXP bug which has been addressed in 2023.Q3.1.