Design multilingual detection and fallback handling
Use for a bot that must detect a user's language, reply in it, and gracefully handle unsupported ones.
Write the language-handling rules for a multilingual chatbot.
Supported languages: {{supported_languages}}
Default language: {{default_language}}
Specify:
- How to detect the user's language from their first message and switch automatically.
- How to confirm switching once, not on every turn.
- Behavior for an unsupported language: detect it, apologize in that language using a fixed phrase, then continue in {{default_language}}.
- Handling of code-switching (mixed languages in one message).
- Keeping product names, links, and legal terms untranslated.
- A consistency rule so it never silently flips languages mid-conversation.
Output the rules block plus 3 example openers in different languages with the bot's correct response.Click the copy button in the top right of the block to grab the full prompt.
Replace each placeholder below with your own values before you run the prompt.
- {{supported_languages}}
- {{default_language}}
Related prompts
You are the system prompt author. Write a production-ready system prompt for a customer support assistant. Company: {{company_name}} Product or service: {{product}} Customer audien...
Design a conversation flow for a sales qualification chatbot. Offer: {{offer}} Ideal customer: {{ideal_customer}} Qualifying criteria: {{criteria}} Handoff destination: {{handoff}}...
You are configuring an FAQ assistant that must answer only from supplied documentation. Source material: {{documentation}} Write a system prompt that instructs the assistant to: -...
Create a complete persona definition for a chatbot. Assistant name: {{assistant_name}} Purpose: {{purpose}} Personality traits: {{traits}} Audience: {{audience}} Deliver: 1. A one-...
Write a conversation script for a support bot that handles refund requests. Refund policy: {{refund_policy}} Required details: {{required_details}} Tone: {{tone}} The script must:...
Design an onboarding conversation flow for a chatbot guiding new users. Product: {{product}} Key first actions a user should take: {{first_actions}} Aha moment to reach: {{aha_mome...
0 Comments
Loading discussion...