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

DeepL Auto-Translation Error from English (en-US) to German (de-DE)

投稿者

Peter Nyiro

knowledge-article-header-disclaimer-how-to

knowledge-article-header-disclaimer

legacy-article

learn-legacy-article-disclaimer-text

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:

    1. Start with a clean bundle of Liferay 2024q2.0.
    2. Navigate to System Settings > Translation > Translator using DeepL Translate.
    3. Enable the option, enter your free API key, and save.
    4. Return to the home page and open the left menu.
    5. Go to Content & Data > Web Content.
    6. Click New > Basic Web Content.
    7. Enter the title "Test" and click Publish.
    8. Once back at the Web Content listing, click the three dots next to "Test" and select Translate.
    9. Select "Translate From en-US to de-DE".
    10. Click Auto Translate.
did-this-article-resolve-your-issue

legacy-knowledge-base