Connect a model to Transglot Community
Set up Ollama or another local model server, use a provider API key, or connect an eligible ChatGPT account.
Open AI & context from your project. Each Community project can use its own model, product context, and glossary.
| Connection | What to prepare | Where inference runs |
|---|---|---|
| Local model server | Start Ollama, LM Studio, llama.cpp, vLLM, or Docker Model Runner and load a text model. | On the machine running your model server. |
| API key | Create a provider key and choose one of its text models. | At the selected provider, unless you configure a local compatible endpoint. |
| ChatGPT account | Sign in with an eligible account and grant inference permission. | In the cloud under the selected account's eligibility, credits, and usage limits. |
Translate locally with Ollama
- Start Ollama and download an instruction model. For example, run
ollama pull qwen3:8bif your machine can run that model. - In AI & context, choose Run locally and select Ollama / local model, then select Load models. Community uses
http://127.0.0.1:11434by default. Enter your endpoint if you run it on another port. - Select the model and run Test translation. Save with Save AI & context settings once the sample passes.
For another local server, choose its preset and start the server before loading models. If the server has no catalog, enter the exact model ID. Provider defaults and authentication.
Connect a cloud provider
Select Bring an API key, choose the provider, and set the environment variable shown for it or enter an API key for this editor session. The session key stays in the editor server's memory. For Use a subscription, choose Continue with ChatGPT and grant permission when prompted. A provider may charge or count usage for the sample and for translation runs.
Cloud connections receive the selected source strings, keys, and relevant project context. To keep inference on your machine, connect to a model that is running locally.
Troubleshoot the sample
- No models listed. Confirm that the server is running and has a model loaded, or that your provider key can list models. You can enter the model ID manually.
- The sample fails. Check the URL, credential, and model ID. Try an instruction model that follows structured output and preserves placeholders.
- Permission needed. Open the account panel and select Grant permission, then choose an available model.
When the sample passes, preview and review a translation.
Install Community and translate a locale file
Install Transglot Community, find JSON, YAML, or PHP locale files, connect a model, and review the translation in Git.
Map JSON, YAML, and Laravel PHP locale files
Map source and target locale files in Transglot Community and understand what its translation checks preserve.