- Issue created by @akseli.miettinen
- ๐ซ๐ฎFinland jhuhta
It seems DeepL really doesn't support 'en' anymore(?) (https://developers.deepl.com/docs/api-reference/translate/openapi-spec-f...). I'll add a language fallback config option for the module for this case, as the language code from Drupal, which the module uses ('en'), doesn't necessarily include the full locale name.
- Merge request !5Draft: Resolve #3454421 "English language code 'en' not supported" โ (Closed) created by jhuhta
- Merge request !6Issue #3454421: Workaround DeepL not supporting 'en' langcode โ (Merged) created by jhuhta
- ๐ซ๐ฎFinland jhuhta
Does adding a config option solve the problem with the code from https://git.drupalcode.org/project/ai_translate_textfield/-/merge_reques...?
language_fallbacks: en: en-GB
- Status changed to Needs review
5 months ago 2:14pm 13 June 2024 - Status changed to RTBC
5 months ago 2:47pm 13 June 2024 - ๐ซ๐ฎFinland akseli.miettinen
Excellent! With the code update and adding the config to /admin/config/ai-translate-textfield it now works, translates nicely from other languages to English.
-
jhuhta โ
committed 6a400a1a on 1.0.x
Issue #3454421 by jhuhta, akseli.miettinen: Problem when translating...
-
jhuhta โ
committed 6a400a1a on 1.0.x
- ๐ซ๐ฎFinland jhuhta
Added credit to @akseli.miettinen for report, debugging, review and test.
- Status changed to Fixed
5 months ago 3:03pm 13 June 2024 Automatically closed - issue fixed for 2 weeks with no activity.