Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Translation Fails on TYPO3 v12 (message: 'formality' is not supported for given 'target_lang'.) #366

Open
Schwuuuuup opened this issue Oct 14, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Schwuuuuup
Copy link

Describe the bug
The translation process seams to work normaly, but no actual Translation is created. The Original language is prefixed with the usual [This content is not available in English yet]
Log shows:
Mon, 14 Oct 2024 16:46:14 +0200 [ERROR] request="3f0cb91f7e972" component="WebVision.WvDeepltranslate.Client": Bad request, message: 'formality' is not supported for given 'target_lang'. (0)
Mon, 14 Oct 2024 16:46:14 +0200 [WARNING] request="3f0cb91f7e972" component="WebVision.WvDeepltranslate.Service.DeeplService": Translation not successful

To Reproduce
Create German content element (languageID=0) in TYPO3 v12.4.21 / wv_deepltranslate 4.3.1
Create English translation (option DeepL (autodetect))

Expected behavior
The translated conttent element should contain English content instead of German original

TYPO3 Setup

  • TYPO3 Version 12.4.21
  • Server (Apache-cgi/Apache-fpm/nginx-fm/other), apache/phpfpm in docker
  • Database type and version (SQLite/Postgres/MariaDB/MySQL) MariaDB 10.6.19
  • PHP version 8.1.30
  • DeepL free or paid API? paid
  • composer or classic setup? classic

Additional context
Add any other context about the problem here.

@Schwuuuuup Schwuuuuup added the bug Something isn't working label Oct 14, 2024
@Schwuuuuup Schwuuuuup changed the title [BUG] Translation Fails on TYPO3 v12 [BUG] Translation Fails on TYPO3 v12 (message: 'formality' is not supported for given 'target_lang'.) Oct 14, 2024
@calien666
Copy link
Member

calien666 commented Oct 15, 2024

Hi an thank you for reporting this bug. We fixed it already in the latest main branch. Could youy check, if the problem with the main exists anymore?

@Schwuuuuup
Copy link
Author

Due to technical and infrastructure problems we are not able to build the Extension in composer-mode with our setup. Is there a way to get it as a ZIP. We have the newest version from TER and the Problem is still present. I cloned the extension directly from GIThub (main), but this version caused a ton of errors and had to be uninstalled immediately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants