KamoCRM

Drive supported targets from /languages, not stale list

FixTranslateService
Shipped
9 மே, 2026 அன்று 3:58 PM UTC
Author
Kamo
Commit
124e10e

The hardcoded SUPPORTED_TARGETS claimed sw/ta/etc. were supported, but no public argos packages exist for those, so every en->sw / en->ta translation request hit the libretranslate pod, failed with 400, and triggered a router retry pair. Across the queue this kept k1m1's MinIO gunicorn workers warm 24/7 with no real traffic. Now the provider fetches /languages on startup and every 10 minutes, so adding/removing argos packs no longer requires a code change.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing