- WEGLOT
- CHAT
- CODE
- HUMAN
Short answer
How can I translate UI strings using my AI?
You provide your AI with the code arrays or UI text you need translated. Your agent then uses the Weglot Connector to send those strings to Weglot for immediate processing. You'll get translated text ready for your interface.
Where every translation lands.
The outcomes of your request
Depending on how you prompt your agent, the results end up in these places.
WEGLOT
Direct translation
The translate_text tool sends your strings to Weglot. Your UI gets updated with the new language versions.
CHAT
Text in your client
Your agent provides the translated strings directly in your chat window. This is best for quick checks or manual copy-pasting.
CODE
Updated snippets
Your agent can return the translated strings formatted as code arrays. This makes it easy to drop them back into your repository.
HUMAN
Review required
You decide if a translation is accurate. The AI handles the heavy lifting, but you keep final control over the context.
The workflow
What your AI does when the strings arrive.
The AI handles the data transfer so you don't have to manually upload files or use a web dashboard.
Receive data
Your agent reads the UI strings or code arrays you paste into the chat or point to in your files.
translate_textProcess translation
The agent uses the Weglot tool to send the text to the translation engine.
translate_textFormat output
The agent organizes the translated text into the format you requested, like a JSON array or a simple list.
translate_textDeliver results
The agent presents the translated strings back to you in your AI client.
translate_text
Try it
Copy these to start.
Use these prompts to trigger the translation process.
Starting points
These are starting points. Swap out the bracketed text with your actual code or text snippets.
Weglot Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_8RUnOjnzRa4nz8W1zRRkBvADqALVDQD381qiKh8j/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — Weglot capabilities are ready to use.
{
"mcpServers": {
"weglot-mcp": {
"url": "https://edge.vinkius.com/vk_preview_8RUnOjnzRa4nz8W1zRRkBvADqALVDQD381qiKh8j/mcp"
}
}
}Translate these UI strings using Weglot: [paste your array here]
Take the text from this code snippet and translate it to Spanish via Weglot: [paste snippet]
I need to localize my app. Use Weglot to translate this list of button labels: [paste labels]
Translate the following JSON object into French using Weglot: [paste JSON]
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect Weglot once, then ask.
Click the link to connect Weglot to your AI client. Your credentials stay encrypted and secure. Once connected, you can start translating immediately.
Connect Weglot to your AIFAQ
Common questions about Weglot
- 01
Can the AI automatically update my production website?
No. The AI can translate the strings and provide them to you, but you must manually apply those changes to your live site or code repository.
- 02
Does the AI handle the file upload to Weglot?
No. The AI uses the translate_text tool to send specific strings. It does not manage your entire Weglot project or file structure.
- 03
Can I translate entire files at once?
Yes, if you provide the content of the file to your agent, it can process the strings within it using Weglot.
- 04
Will the AI change my existing Weglot settings?
No. The AI only uses the tool to perform translations. It cannot modify your Weglot account settings or configuration.
- 05
How do I know if a translation is correct?
You should always review the output. The AI performs the translation, but the final verification is a human task.
More questions about Weglot? The Connector page answers them. See everything the Weglot Connector can do
Connect Weglot to Claude, Cursor, ChatGPT & more
