Translations
See translation under every post, comment and reply in another language, in one click and in place; members pick their language, auto-translate and languages to skip; free MyMemory/LibreTranslate, free-key Gemini, Groq, OpenRouter and Cloudflare AI, paid OpenAI, Claude, DeepL, Google and Microsoft, in your order with fallback, cache and daily limits.
The Translations plugin (premium) puts a See translation link under every post, comment and reply written in a language the reader does not use. One click shows the translation in place, with See original to go back, Translated from English by Google Gemini (or whichever service answered) and a small language switcher. The post's ⋯ menu (and each comment's) has Translate to… with every language the admin made active, so anyone can read any post in any of them. A fresh site translates with no key at all (Google Translate's free web endpoint, then MyMemory). Members choose the language they read; the admin chooses the translation services, their order and their limits. Each text is translated once per language and kept in a cache, so a popular post costs one translation however many people read it.
What members get
- See translation / See original under posts, comments and replies. The language of a text is guessed on the spot from its writing system (Bengali, Arabic, Urdu, Persian, Hindi, Marathi, Chinese, Japanese, Korean, Russian, Ukrainian, Thai, Tamil and the other Indian scripts...) and, for Latin letters, from common words and special letters (ñ, ã, ç, ß, ğ, ł...) for Spanish, French, German, Portuguese, Italian, Dutch, Indonesian, Turkish, Polish, Vietnamese and more. Latin text with no clear sign of another language counts as English (the admin can change this Latin default), so "My name is faruk" gets a link for a Bengali reader and a Bengali post gets one for an English reader; when the plugin is not sure it lets the service tell the language itself. When the guess is the reader's own language no link is shown - Translate to… still works.
- @mentions, #hashtags, links, e-mail addresses, emoji and line breaks are kept exactly as they were: the AI services are told to keep them, and for the machine translators they are swapped for placeholders before the text leaves the site and put back afterwards.
- Settings → Translations: Translate into (starts as the language they use the site in), Translate automatically (the translation appears by itself as the post comes into view; See original still works) and Never translate these languages (languages they read themselves).
- Translate before posting: a translate button in the post composer turns the draft into another language before it is published.
- Private posts are never translated for someone who cannot see them; the same check as the post page is used.
Admin → Plugin pages → Translations
Providers - one card per service, tried from the lowest Order number. When one fails, times out or reaches its characters a day, the next one answers automatically.
| Service | Cost | What it needs |
|---|---|---|
| Google Translate (free web endpoint) | Free, no key - first by default | nothing. Unofficial (the address Google's own widgets use): Google may rate-limit or refuse it, so it has a polite limit of 100,000 characters a day and the next service answers when it fails. Long texts go in pieces of at most 4,500 characters cut at sentence ends |
| MyMemory | Free, no key | nothing; a contact e-mail raises the free quota from about 5,000 to 50,000 characters a day |
| LibreTranslate | Free | the address of your own server or a public one that allows it (+ key if it asks) |
| Custom Lingva-style instance | Free | the address of an instance you run or may use - none is filled in for you |
| Google Gemini | Free key (AI) | a key from aistudio.google.com; model Automatic (the newest stable Flash) |
| Groq | Free key (AI) | a key; model Automatic (the largest gpt-oss / Llama / Qwen instruct model) |
| OpenRouter | Free key (AI) | a key; model Automatic (a model ending in :free, which costs nothing) |
| Cloudflare Workers AI | Free allowance (AI) | account ID + API token; model, default @cf/meta/llama-3.3-70b-instruct-fp8-fast |
| OpenAI | Paid (AI) | a key; model Automatic (the newest small -mini model) |
| Anthropic Claude | Paid (AI) | a key; model Automatic (the newest Haiku, then Sonnet), or pick one |
| DeepL | Free plan / Pro | a key (free keys end in :fx and use api-free.deepl.com) |
| Google Cloud Translation | Paid, first 500,000 characters a month free | an API key |
| Microsoft Translator | Paid, F0 plan free up to 2 million characters a month | key + region |
| Any OpenAI-compatible endpoint | yours | base address (.../v1), key if needed, model (Ollama, vLLM, LM Studio...) |
Per card: on/off, the key (shown only as ends in ••••abcd; leave the box empty to keep it, tick Remove to delete it; saving a first key switches the service on, and its order already puts it above the free ones), the model, the address (empty = the service's own), the order, a timeout and a daily character limit. Save and test translates a short Bengali sentence with a mention, a hashtag and a link through that one service and shows the answer or the exact error.
Model: Automatic (recommended) - for Gemini, Groq, OpenRouter, OpenAI and Claude the plugin reads the service's own model list once a day, picks the best current text model and shows it next to Ready (e.g. Ready · gemini-3.8-flash). Model names are retired often; when a service answers "no longer available", "not found" or HTTP 404 the plugin reads the list again, skips the retired model and retries once by itself. Refresh models reads the list now and fills the dropdown, so you can still pick one model by hand. Sites updated from 1.0.0 that kept the old built-in model are switched to Automatic.
Honest note: the free services (Google's web endpoint, MyMemory, LibreTranslate) are good for everyday posts but Google's endpoint is unofficial and may be rate-limited, and none of them is AI quality. For translation that reads like a person wrote it, add a free Gemini, Groq, OpenRouter or Cloudflare key - it takes a minute and no card - or a paid OpenAI, Claude or DeepL key. The page tells you when only free machine translation is on.
Settings - who may translate (everyone, visitors too / signed-in members / members with a package that allows it - the package features Translate posts and comments and Characters translated a day from Wallet & Pro), translations per member an hour, the longest text, comments and replies on/off, the composer button on/off, the language of Latin-script text with no clear sign of another language (English unless you change it), how many days translations stay in the cache (0 = always), Clear the cache, and the languages members may pick (43 ready, Bengali, English, Arabic, Hindi, Urdu, Chinese, Spanish, French and more).
Usage - characters, translations and errors per service per day for the last 14 days, the cache hits, and the last error of each service.
Good to know
- Tables:
mmb_translations_cache(one row per text and target language),mmb_translations_usage(per day and service),mmb_translations_members(characters per member per day) andmmb_translations_prefs(each member's choices). - The cron job Translations: remove old cached translations runs once a day.
- An edited post is a new text, so it is translated again the next time someone asks.