Closed drivard closed 8 months ago
Attention: 4 lines
in your changes are missing coverage. Please review.
Comparison is base (
a3efa8f
) 92.60% compared to head (8d0d62b
) 92.53%.
Files | Patch % | Lines |
---|---|---|
...ail_localize/machine_translators/libretranslate.py | 76.47% | 4 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@zerolab I have completed the changes requests. Please review.
@zerolab Do you have an idea of when it will be released ?
Got a couple of more PRs and if all goes well, sometime next week (i.e before the end of the year)
This PR introduces a new machine translator to the wagtail-localize project, leveraging the LibreTranslate API. The LibreTranslator class extends the BaseMachineTranslator and implements the necessary methods for translation.
It supports configuration alike
The LibreTranslate API can also be hosted using many methods documented on their github page https://github.com/LibreTranslate/LibreTranslate. I tested it against a self-hosted instance.
Here are some screenshots of an about us page that I translated using the LibreTranslator.
Please review and provide any feedback.