In-game commands · Tools

!translate

Auto-detect source language and translate team chat via LibreTranslate. Expands Rust slang first so callouts come out meaningful.

!translateTools
Aliases!tr!t
Rust team chat showing !translate Russian to English example

Translates a team-chat message via the self-hosted LibreTranslate instance. Usage:

!translate <text>                  → detect source, translate to English
!translate <lang_code> <text>      → translate to that language
!translate :<lang_code> <text>     → force explicit code parse

Examples:

!translate привет камрад       → "Hello comrade"
!translate ru push roof        → "толкай на крышу"
!translate :en привет          → "Hello"

Rust slang expansion (the secret sauce)

Most LibreTranslate models choke on Rust-specific shorthand — they either pass tc, m2, kos, naked, db through untranslated or invent garbage. Rust Pulse runs a Rust-slang dictionary pass first that expands every match to a full English phrase before the translation roundtrip:

SlangExpanded
akAK rifle
tctool cupboard
m2M249 light machine gun
koskill on sight
nakedunarmed and unarmoured
dbdouble-barrel shotgun
c4C4 explosive
satchsatchel charge

About 60 entries in total. See Rust slang expansion for the full table.

When it's unavailable

If LIBRETRANSLATE_URL is unset on the API, the bot replies “Translation not configured” rather than failing silently. See Self-hosting LibreTranslate for the deploy guide.