polyglot
PLUGINLive interpreter for group chats on the Ulpi gateway (Telegram, Discord): an authorized user sends /polyglot on in a group.
by Subramanyarao11 · v0.2.0
What it does
Live interpreter for group chats on the Ulpi gateway (Telegram, Discord): an authorized user sends /polyglot on in a group, and every message from a sender Ulpi admits is then translated into each other member's reading language, returned as the reply. Languages are learned from each person's first message or set with /lang; "ulpi,..." or an @mention still reaches Ulpi as a normal question.
Translates with the user's own Ulpi model; a Sarvam AI key is optional for Indian languages. Disclosure — registers one hook (post_gateway_admission, so it runs only after Ulpi's authorization) and two commands (/polyglot, /lang), no tools; in chats where an authorized user ran /polyglot on, message text from admitted members goes to the configured model provider through Ulpi's ctx.llm, and, only if SARVAM_API_KEY is set, text for Indian languages goes to https://api.sarvam.ai; translations are posted back to the group as the bot's reply, and ordinary group messages in those chats no longer start an agent turn; stores each group's member languages and display names in Ulpi's plugin state; no file reads, shell commands, background processes or telemetry.
Review notes
What an owner reads and accepts before the install is approved.
- Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve