
Translate your Rust plugin messages

Translate a Rust plugin’s language file with a single command. Free translates from English only, one file at a time, into the language you choose. Use Pro to translate several plugins in one go.
Free plugin · Oxide and Carbon · Your own OpenAI API key

MyPlugin.json translated from English into French
Manual installation

-
Put
AITranslation.csinoxide/plugins/orcarbon/plugins/. -
Copy
plugins/AITranslation.cs. SetOpenAITokeninconfig/AITranslation.jsonafter the first load and reload the plugin. Put your English source inlang/en/MyPlugin.json, then runaitfree.translateplugin MyPlugin frin the server console. -
Review the result in
lang/fr/MyPlugin.json.
You can edit the JSON directly or use the optional PimpMyRust configurator.
To review a translation before applying it from the Hub, open the plugin’s language files and choose Translate with AI.
What will the API cost?


| Example | Estimated API cost (USD) |
|---|---|
| One file, one language | $0.0012 |
| Ten files, one language each | $0.012 |
OpenAI bills for API use. These examples assume 2,000 tokens sent and 2,000 returned for each file and language, at the standard GPT-6 Luna rates of $0.10 and $0.50 per million tokens respectively. Amounts are before tax and assume no retries, extra reasoning tokens or discounts. OpenAI pricing →
Configure and translate with PimpMyRust

Configure AI Translation Free →
-
Change your settings. Edit
AITranslation.jsondirectly, or use the PimpMyRust configurator to choose an OpenAI model and set usage limits. Download your settings or sync them with a connected server. - Translate from the Hub. Connect your server over SFTP and RCON, and make sure AI Translation Free is running on it. You’ll need access to the Hub’s server tools. Generating a preview can incur API charges.

Choose a model and response size in the configurator
Free or Pro?

| Feature | Free | Pro |
|---|---|---|
| Language files | One file at a time, from English | Several plugins or languages at once, with a choice of source language |
| Review before saving | Hub | Hub or server console |
| Player chat | — |
Translation and three /ait layouts
|
| Player panel setup | — | PimpMyCUI 1.4.0 included with Pro |
| Translation services | OpenAI | OpenAI, DeepL and others |
| Frameworks | Oxide, Carbon | Oxide, Carbon |
With Pro, translate several plugins’ language files into several languages in one run. In Rust, players can also read chat in their own language.
View AI Translation Pro on Codefling →
What happens to an existing translation?
Before saving the translation, the plugin checks that the file is valid JSON and that its keys and markers like {0} are still there. It backs up an existing translation before replacing it. Read through the result before using it with players.
Who can run the command?
Use the server console, RCON or a Rust administrator account. Other operators can run it with aitranslation.admin. Grant that permission only to people you trust to make paid API requests. The plugin sends the selected file’s text to OpenAI. Use either Free or Pro on a given server.

