Translation & Language Helper
The Problem
Section titled “The Problem”Whether you are writing emails in a second language, translating content for a bilingual audience, or practicing a language you are learning, translation is a daily need, especially in multilingual environments like Paraguay where Spanish, English, and Guaraní are all used regularly. A basic translation tool gives you words, but an AI agent gives you context, tone, and cultural awareness.
What we’re building: An agent that translates text between languages while preserving tone and context, and can also serve as a language practice partner.
The Approach
Section titled “The Approach”Our translation agent will:
- Translate text between any languages while maintaining the original tone
- Explain why it chose certain words or phrases
- Adapt formality level (formal business vs. casual WhatsApp message)
- Help you practice a language through conversation and corrections
Build It
Section titled “Build It”Step 1: Set up your system prompt
Section titled “Step 1: Set up your system prompt”Start a new conversation or create a Project on claude.ai with the system prompt below.
Use Custom Instructions (Settings > Personalization > Custom Instructions) or paste the system prompt at the start of a new conversation at chatgpt.com.
If you have a paid plan (Plus, Team, or Enterprise), you can also create a Custom GPT with these instructions for reuse.
Go to gemini.google.com and paste the system prompt at the start of a new conversation.
If you have Gemini Advanced, you can also create a Gem with these instructions for reuse.
Create a Modelfile:
FROM llama3.2SYSTEM """<paste system prompt below>"""Run: ollama create translator -f Modelfile
Paste the system prompt into the System Prompt field in LM Studio’s chat settings.
The system prompt:
You are a multilingual translation assistant and language tutor. You helpusers translate text accurately while preserving tone and cultural context.
TRANSLATION MODE (default):When given text to translate:1. Provide the translation2. Note the formality level used (formal, neutral, casual)3. Highlight any phrases where the translation required cultural adaptation (not just word-for-word)4. If there are multiple valid translations, briefly explain the difference
Guidelines for translations:- Preserve the original tone (formal stays formal, casual stays casual)- Adapt idioms and expressions naturally — don't translate them literally- For business content, use professional vocabulary- For casual messages (WhatsApp, social media), use natural everyday language- Flag any words or phrases that could be culturally sensitive or have different meanings in different regions
PRACTICE MODE:When the user says "practice mode" or "let's practice [language]":- Switch to conversational mode in the target language- Start with simple topics and gradually increase complexity- When the user makes a grammar or vocabulary mistake, gently correct it with the right form and a brief explanation- Give encouragement and suggest one new word or phrase per exchange- Use simple language appropriate for the learner's level
Supported languages: Spanish, English, Guaraní, Portuguese, and any otherlanguage requested.
When unsure about a translation, say so honestly rather than guessing.Step 2: Test with a translation request
Section titled “Step 2: Test with a translation request”Try this:
Translate this business email from English to Spanish. Keep it professional:
Dear Mr. Rodríguez,
Thank you for your interest in our design services. I'd be happy toschedule a call to discuss your project requirements.
Would next Tuesday at 2 PM work for you? If not, please let me knowyour availability and I'll find a time that works.
Looking forward to working with you.
Best regards,AnaYour agent should produce a professional Spanish translation with notes about any choices it made.
Step 3: Try different scenarios
Section titled “Step 3: Try different scenarios”- Translate a casual WhatsApp message from Spanish to English
- Ask: “How would you say ‘I’ll get back to you soon’ in both formal and casual Spanish?”
- Type: “practice mode, let’s practice English” and have a conversation
- Translate a short paragraph into Guaraní
Test It
Section titled “Test It”Try these real-world scenarios:
- Translate a real email you received in one language to reply in another
- Take a social media post in English and adapt it for a Spanish-speaking audience
- Practice writing in your target language and ask the agent to correct your grammar
- Translate a menu, a sign, or a form you encounter in daily life
Make It Better
Section titled “Make It Better”- Add your language level: “I’m B1 in English” helps the agent calibrate practice difficulty
- Specify your region: “Use Latin American Spanish, not European Spanish” ensures appropriate vocabulary
- Build a vocabulary journal: Ask the agent to collect all new words from your session: “List every word you corrected or taught me today with definitions”
- Add industry terminology: “I work in marketing, so prioritize business and marketing vocabulary”
Sample Output
Section titled “Sample Output”Here’s what your agent should produce for the business email translation:
## Translation (English → Spanish, Formal)
Estimado Sr. Rodríguez:
Gracias por su interés en nuestros servicios de diseño. Con mucho gustopodemos coordinar una llamada para conversar sobre los requisitos de suproyecto.
¿Le convendría el próximo martes a las 14:00? De no ser así, por favorindíqueme su disponibilidad y buscaré un horario que le funcione.
Quedo a la espera de trabajar con usted.
Atentamente,Ana
## Translation Notes- **Formality:** Formal register — used "usted" form throughout- **"I'd be happy to"** → "Con mucho gusto podemos" — more natural in formal Latin American Spanish than a literal translation- **"Looking forward to"** → "Quedo a la espera de" — formal equivalent; in casual Spanish you might say "Espero con gusto"- **"Best regards"** → "Atentamente" — standard formal closing in Latin American business correspondence (in Spain, "Cordialmente" is also common)- **Time format:** Changed "2 PM" to "14:00" — 24-hour format is standard in Latin American business communicationTroubleshooting
Section titled “Troubleshooting”Translations sound too literal or robotic. Add: “Translate for meaning, not word-for-word. The translation should sound like a native speaker wrote it, not like it was translated.”
The agent uses European Spanish instead of Latin American Spanish. Be specific in your system prompt: “Always use Latin American Spanish. Avoid ‘vosotros’ and use ‘ustedes.’ Prefer Latin American vocabulary (e.g., ‘computadora’ not ‘ordenador’).”
Practice mode corrections are discouraging. Adjust the tone: “When correcting mistakes in practice mode, always acknowledge what I got right first, then gently correct the error. Frame corrections as ‘even better would be…’ rather than ‘that’s wrong.’”
Guaraní translations seem inaccurate. AI models have less training data for Guaraní than for Spanish or English, so quality may be lower. Add: “For Guaraní translations, flag your confidence level. If unsure, provide the Spanish equivalent and note that the Guaraní should be verified with a native speaker.”
Free Tools to Enhance This Project
Section titled “Free Tools to Enhance This Project”- DeepL: Free tier for high-quality translations. Use it to cross-reference your agent’s translations for accuracy.
- Google Translate: Free. Useful for quick comparisons and for languages your AI agent may handle less confidently.
- Duolingo: Free language learning app. Pair it with your AI practice sessions for structured progression.
Making It Better Over Time
Section titled “Making It Better Over Time”- Build a personal phrasebook: After each session, ask: “List all translations and new vocabulary from today.” Save this and review it weekly.
- Add common mistakes: “I always confuse ‘ser’ and ‘estar.’ When I use the wrong one, explain the rule and give me 3 examples.”
- Specialize for your needs: “I mostly translate marketing emails and client proposals. Prioritize business vocabulary and persuasive language.”