translate
Translates text between 57 languages locally on your GPU via Ollama, auto-starting the model and applying a built-in software glossary for accurate technical terms.
Instructions
Translate text between any of 57 supported languages using TranslateGemma running locally on your GPU via Ollama. Automatically starts Ollama and pulls the model if needed. Includes a built-in software glossary for accurate technical translations.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>",
"from": "<from>",
"to": "<to>"
},
"name": "translate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target language code or name (e.g., "es", "Spanish", "fr", "French") | |
| from | Yes | Source language code or name (e.g., "en", "English", "ja", "Japanese") | |
| text | Yes | The text to translate | |
| model | No | Ollama model (default: "translategemma:27b"). Use "translategemma:12b" or "translategemma:4b" for faster, lower-quality output. | |
| glossary | No | Custom term overrides as {"source term": "target translation"}. Merged with the built-in software glossary. |