💬

WhatsApp Translator

Automatic translation for group chats

A bot that sits in your WhatsApp group and translates messages between languages automatically. I built it so my Polish parents and my Egyptian wife could talk to each other without me relaying every message.

Open source (MIT) · Self-hosted · Docker

In action

WhatsApp Translator bot demo -- Polish message translated to English

How it works

🔍

Detects language

Someone sends a message in Polish or English. The bot figures out which.

🤖

Translates with AI

OpenAI translates the message, keeping the tone casual and the names intact.

📨

Posts the translation

The translated message appears in the same chat, a second later.

What you need

  • A server or always-on machine with Docker
  • An OpenAI API key (uses gpt-4o-mini, costs almost nothing)
  • A spare WhatsApp account for the bot

Currently supports Polish and English. Adding other languages is a few lines of code -- or just point Claude Code at the repo and tell it what you need.