mololab / json-translator

jsontt 💡 - AI JSON Translator with GPT + other FREE translation modules to translate your json/yaml files into other languages ✅ Check Readme ✌ Supports GPT / DeepL / Google / Bing / Libre / Argos
https://mololab.org/jsontt/npm
MIT License
494 stars 71 forks source link

fix: Support both DeepL Free and Pro API URLs #81

Closed fadkeabhi closed 3 weeks ago

fadkeabhi commented 1 month ago

Description

This PR adds support for DeepL Pro API by making the API URL configurable through an environment variable. Previously, the URL was hardcoded to the Free API endpoint, causing failures with Pro API keys.

Changes

Fixes #78

ParvinEyvazov commented 3 weeks ago

You are king @fadkeabhi! Thank you for your awesome contribution!