Replies: 1 comment 1 reply
|
This, obviously, wouldn't be possible with the current machine translators since Google Translate / DeepL don't know how to translate an arbitrary URL. We could probably allow someone to hook in some code somewhere to allow them to translate URLs for specific domains that they know how to translate. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Custom machine translators have been a great time saver they are a really useful feature however they ignore translation of extracted url's
The machine_translate function in edit_translation only attempts to translate stringsegment , links are extracted to overrideableSegments
context:
#296
#296 (comment)
wagtail-localize/wagtail_localize/views/edit_translation.py
Line 949 in 116582c
Would it be possible to enable optional machinetranslation of extracted links?
All reactions