Writing Prompts in Non-English Languages (Using Native Scripts)
Learn to write prompts using Devanagari for Hindi, accented Latin for French and Spanish, etc. for accurate pronunciation and natural responses with Bolna Voice AI agents.
Bolna Voice AI agents have multilingual support and can have conversations in serveral languages (see list of all support languages). To ensure natural speech output, it is important to write your prompts in the native script of the target language, rather than phonetically using the English alphabet.
Prompting for non-english language
If you want to switch languages dynamically you can instruct the prompt to follow the customer’s language. For example, for Spanish you may write:
You will keep your sentences short and crisp. You will never reply with more than 2 sentences at a time. You will stick to context throughout. You must speak in Spanish but if the customer wishes to communicate in English, you will immediately shift your language to English and then remain in english. Generate the text response in the same language as the customer.
Write the prompt in the native script
Using the correct script:
- Enables more accurate pronunciation
- Helps the AI identify the intended language
- Improves contextual understanding and tone
- Prevents misclassification as English
Tips for Writing in native scripts
- Use Google Input Tools or built-in language keyboards on your phone/laptop.
- For European languages, make sure to include accented characters (like é, ñ, ü, ¿, ç, etc.).
- You can use tools like Google Translate for accurate spelling and formatting.
Examples of prompts in native scripts
❌ Incorrect
Bonjour! Comment ca va? Nous allons commencer l’entretien maintenant.
✅ Correct
Bonjour ! Comment ça va ? Nous allons commencer l’entretien maintenant.
❌ Incorrect
Bonjour! Comment ca va? Nous allons commencer l’entretien maintenant.
✅ Correct
Bonjour ! Comment ça va ? Nous allons commencer l’entretien maintenant.
❌ Incorrect
Hola! Como estas? Vamos a comenzar la entrevista ahora.
✅ Correct
¡Hola! ¿Cómo estás? Vamos a comenzar la entrevista ahora.
❌ Incorrect
Namaste! Aap kaise ho? Ham aapka interview lene wale hain.
✅ Correct
नमस्ते! आप कैसे हैं? हम आपका इंटरव्यू लेने वाले हैं।
Common Mistake to Avoid
Don’t write in “English-style” phonetic spelling for non-English prompts.
❌ Kaise ho?
✅ कैसे हो?
❌ Como estas?
✅ ¿Cómo estás?