Skip to content

v3.1 - "extract translateWithDeepL helper function"

Latest

Choose a tag to compare

@hk-dev13 hk-dev13 released this 20 Nov 15:17
· 10 commits to main since this release
9b52afb
  • Add try-catch blocks around DeepL translation calls to handle rate limit or overload errors by falling back to Google Translate, improving service reliability.
  • Remove code duplication by introducing a reusable helper function for DeepL translation with timeout handling. This improves code maintainability and readability in the translation endpoint.

Full Changelog: v3.0...v3.1