Skip to content

FR: inline message translation via Google Translate #164

@wux4an

Description

@wux4an

Is your feature request related to a problem?

Live chat is only useful if you can understand it. When users speak different languages, the conversation becomes confused for not english-speakers.

What solution would you like?

An inline "translate" option on chat messages that fetches a translation via the Google Translate unofficial API (translate.googleapis.com/translate_a/single) — no API key required. Similar to how Twitter/X and Telegram handle it: a keybinding (e.g. shift+t) on a selected message triggers translation inline, replacing or appending the translated text below the original.

Auto-detect the source language and translate to the viewer's configured locale.

What alternatives have you considered?

  • DeepL — better quality but requires an API key and has usage limits.
  • LibreTranslate — self-hostable and open source, but quality is noticeably lower for less common languages.

Google Translate's unofficial endpoint is the most practical starting point: free, no auth, fast, and widely supported.

Additional context

This would be opt-in per message to avoid cluttering the UI. Could also be configurable globally (auto-translate all foreign messages) for users who prefer it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions