Parallel context architecture for authentic cultural communication across languages
Iqra AI’s multi-language support is fundamentally different from translation-based approaches. Instead of translating content, the platform runs parallel logic stacks—each language gets its own complete configuration, personality, and even different AI service providers optimized for cultural authenticity.
User speaks Arabic → Arabic AI context (native prompts, examples, persona) → Arabic TTS (culturally appropriate voice) → Speak to userUser switches to English → English AI context (different prompts, examples, persona) → English TTS (different voice) → Speak to user
Each language has its own:
System prompts (not translated, natively written)
Response examples (culturally appropriate)
Personality traits (e.g., “hospitable” in Arabic vs. “professional” in English)
AI service providers (e.g., Azure for Arabic, OpenAI for English)
Voice settings (different voices, speeds, tones)
Script instructions (same logic, different phrasing)
This enables authentic, culturally-aware conversations in every supported language.
When you switch languages mid-conversation, Iqra AI loads a completely different neural configuration, not just different words.
public class BusinessAppAgentPersonality{ [MultiLanguageProperty] public Dictionary<string, string> Name { get; set; } [MultiLanguageProperty] public Dictionary<string, string> Role { get; set; } [MultiLanguageProperty] public Dictionary<string, List<string>> Tone { get; set; }}
Configuration for same agent in different languages:
Name: English: "Alex" Arabic: "أحمد" # Different name for cultural fit Spanish: "Alejandro"Role: English: "Professional customer service representative" Arabic: "ممثل خدمة العملاء المحترف والمضياف" Spanish: "Representante profesional de servicio al cliente"Tone: English: - Professional - Efficient - Friendly Arabic: - محترف (Professional) - مضياف (Hospitable) - صبور (Patient) - محترم (Respectful) Spanish: - Profesional - Cordial - Servicial
Notice the Arabic version adds “Hospitable” and “Patient”—culturally important traits in Arabic customer service that feel out of place in English.
public class BusinessAppScriptAIResponseNode{ [MultiLanguageProperty] public Dictionary<string, string> Response { get; set; } [MultiLanguageProperty] public Dictionary<string, List<string>> Examples { get; set; }}
Example: Greeting node
Response: English: "Welcome! How can I help you today?" Arabic: "أهلاً وسهلاً! كيف يمكنني مساعدتك اليوم؟" Spanish: "¡Bienvenido! ¿Cómo puedo ayudarte hoy?"Examples: English: - "Hi there! What can I do for you?" - "Hello! How may I assist you today?" - "Welcome! What brings you here today?" Arabic: - "مرحباً بك! تفضل، كيف أقدر أساعدك؟" - "حياك الله! وش تحتاج اليوم؟" - "أهلاً! شو ممكن أساعدك فيه؟" Spanish: - "¡Hola! ¿En qué puedo ayudarte?" - "¡Buenos días! ¿Qué necesitas hoy?" - "¡Bienvenido! ¿En qué te puedo servir?"
The AI learns the cultural style from the examples. Arabic examples show more warmth, English examples are more direct.
Query: English: "Ask the user which service they're interested in" Arabic: "اسأل المستخدم عن الخدمة التي يهتم بها" Spanish: "Pregunta al usuario qué servicio le interesa"Examples: English: - "Which service would you like to book?" - "What service are you interested in?" Arabic: - "أي خدمة تحب تحجز؟" - "وش الخدمة اللي تبغاها؟" Spanish: - "¿Qué servicio te gustaría reservar?" - "¿Cuál servicio te interesa?"
End Call Node: Messages: English: "Thank you for calling! Have a great day!" Arabic: "شكراً لاتصالك! نتمنى لك يوماً سعيداً!" Spanish: "¡Gracias por llamar! ¡Que tengas un gran día!"
Variables have multi-language descriptions for AI context:
public class BusinessAppScriptVariable{ public string Key { get; set; } // e.g., "user_email" [MultiLanguageProperty] public Dictionary<string, string> Description { get; set; }}
Example:
Key: "appointment_date"Type: StringDescription: English: "The date the user wants to schedule their appointment" Arabic: "التاريخ الذي يرغب المستخدم في حجز موعده فيه" Spanish: "La fecha en que el usuario desea programar su cita"
This description is injected into the AI’s system prompt in the active language, helping it understand what the variable represents.
[Call starts]Agent (English): "Hello! How can I help you?"User (English): "I need to book an appointment"[User switches to Arabic]User (Arabic): "في أي أوقات متاحة؟" (What times are available?)[System detects language change]Agent (Arabic): "دعني أتحقق من المواعيد المتاحة..." (Let me check available times...)[Conversation continues in Arabic]
The agent seamlessly switches personality, voice, and prompts.
Enable automatic language detection for customer-facing agents in multilingual regions. Users appreciate being able to use their preferred language without being forced to choose upfront.
Payment Request: "I'll need your credit card number to complete the booking"
Arabic (more trust-building):
Payment Request: "لإتمام الحجز بشكل آمن، نحتاج معلومات الدفع. جميع بياناتك محمية ومشفرة"(To complete the booking securely, we need payment information. All your data is protected and encrypted)
The Arabic version adds reassurance about security—culturally important for trust.
"What time works for you?""Morning, afternoon, or evening?"
Arabic (considers prayer times):
"ما الوقت المناسب لك؟ صباحاً، بعد الظهر، أو مساءً؟""نحرص على عدم الحجز خلال أوقات الصلاة. هل تفضل وقت معين؟"(We ensure not to book during prayer times. Do you prefer a specific time?)
# Language-specific (uses MultiLanguageProperty)Agent Name: English: "Alex" Arabic: "أحمد"# Language-independent (single value)Agent Settings: MaxRetryAttempts: 3 SessionTimeout: 300Variables: user_email: "[email protected]" # Same in all languages retry_count: 2 # Same in all languages
Variables store actual data (email, numbers, IDs) which doesn’t change by language. Only the description is multi-language.
# Bad: Direct translationEnglish: "How can I help you?"Arabic: "كيف يمكنني مساعدتك؟" (Technically correct but cold)# Good: Cultural adaptationEnglish: "How can I help you?"Arabic: "أهلاً وسهلاً! تفضل، كيف أقدر أخدمك؟" (Warm, hospitable)
English Examples: - "Sure, I can help with that" - "No problem, let me look that up"Arabic Examples: - "حياك الله، أكيد أقدر أساعدك" - "تفضل، خلني أشوف لك"