Issue
- When using the DeepL Translator integration in Liferay 2024q2.0, an error occurs while attempting to auto-translate web content from English (en-US) to German (de-DE), despite German being a supported language in DeepL.
- Expected Behavior:
The content should be automatically translated into German (de-DE), a supported language by DeepL. - Actual Behavior:
An error message appears:
"Target language code de is not among the supported language codes: BG, CS, DA, DE, EL, EN, ES, ET, FI, FR, HU, ID, IT, JA, KO, LT, LV, NB, NL, PL, PT, RO, RU, SK, SL, SV, TR, UK, ZH", even though DE (German) is listed as a supported language.
Resolution
- To resolve this issue, request a hotfix with LPD-39822.
Additional Information
-
Steps to Reproduce:
- Start with a clean bundle of Liferay 2024q2.0.
- Navigate to System Settings > Translation > Translator using DeepL Translate.
- Enable the option, enter your free API key, and save.
- Return to the home page and open the left menu.
- Go to Content & Data > Web Content.
- Click New > Basic Web Content.
- Enter the title "Test" and click Publish.
- Once back at the Web Content listing, click the three dots next to "Test" and select Translate.
- Select "Translate From en-US to de-DE".
- Click Auto Translate.