Configure how your agent handles different languages
Deflect supports multi-language interactions. You can configure your agent to respond in a specific language or automatically detect the user’s language.
Language Modes
Dynamic Detection (Recommended)
In this mode, the agent detects the language of the user’s message and responds in the same language. This is ideal for global businesses.To enable this, set the language to Dynamic in the agent settings.
Specific Language
You can force the agent to always respond in a specific language, regardless of the user’s input. This is useful if your support is only offered in one language.Supported languages include:
English
Spanish
French
German
Hindi
and many more—use the language picker in the agent editor for the full list.
After you change language mode, run a few test chats in the languages you care about to confirm tone and understanding match your expectations.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Deflect","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/quensultingai/Vk0F3QdCtadjJvc9/logo/light.svg?fit=max\u0026auto=format\u0026n=Vk0F3QdCtadjJvc9\u0026q=85\u0026s=887aa027ed2d1d49f71242be869b49d7","dark":"https://mintcdn.com/quensultingai/Vk0F3QdCtadjJvc9/logo/dark.svg?fit=max\u0026auto=format\u0026n=Vk0F3QdCtadjJvc9\u0026q=85\u0026s=cbebfa6fc3b08bcf9d80ddca54ac633c"},"favicon":"https://mintcdn.com/quensultingai/Vk0F3QdCtadjJvc9/favicon.ico?fit=max\u0026auto=format\u0026n=Vk0F3QdCtadjJvc9\u0026q=85\u0026s=6158f5722f3a17ea71a8d8004f46c4c2","navbar":{"links":[{"href":"mailto:support@quensultingai.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.deflect.in"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/quensultingai","instagram":"https://www.instagram.com/quensultingai"}},"contextual":{"options":["copy","chatgpt","claude","perplexity"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Website","icon":"globe","href":"https://deflect.in"},{"anchor":"Dashboard","icon":"gauge","href":"https://app.deflect.in"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"quensultingai","hasAudioNarration":false,"actualSubdomain":"quensultingai","customDomains":["docs.deflect.in"],"gitSource":{"type":"github","owner":"quensulting","repo":"deflect-docs","deployBranch":"main","isPrivate":true,"contentDirectory":"","mountPath":"","label":"","_id":"6b10d0669ffae5051c40af5e"},"entitlements":{},"buildId":"6ae94680e5b11aa510b40fad:success","clientVersion":"0.0.4453","searchFilterCounts":[{"language":"default","tag":"Guides","count":25},{"language":"default","tag":"Features","count":10},{"language":"default","tag":"Setup \u0026 Configuration","count":8},{"language":"default","tag":"Core Concepts","count":4},{"language":"default","tag":"Getting Started","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"set-language","slug":"/set-language","pageMetadata":{"title":"Set Language","description":"Configure how your agent handles different languages","href":"/set-language"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Configure how your agent handles different languages\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Tip}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Deflect supports multi-language interactions. You can configure your agent to respond in a specific language or automatically detect the user’s language.`}),`\n`,_jsx(Heading,{level:`2`,id:`language-modes`,children:`Language Modes`}),`\n`,_jsx(Heading,{level:`3`,id:`dynamic-detection-recommended`,children:`Dynamic Detection (Recommended)`}),`\n`,_jsx(_components.p,{children:`In this mode, the agent detects the language of the user’s message and responds in the same language. This is ideal for global businesses.`}),`\n`,_jsxs(_components.p,{children:[`To enable this, set the language to `,_jsx(_components.strong,{children:`Dynamic`}),` in the agent settings.`]}),`\n`,_jsx(Heading,{level:`3`,id:`specific-language`,children:`Specific Language`}),`\n`,_jsx(_components.p,{children:`You can force the agent to always respond in a specific language, regardless of the user’s input. This is useful if your support is only offered in one language.`}),`\n`,_jsx(_components.p,{children:`Supported languages include:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`English`}),`\n`,_jsx(_components.li,{children:`Spanish`}),`\n`,_jsx(_components.li,{children:`French`}),`\n`,_jsx(_components.li,{children:`German`}),`\n`,_jsx(_components.li,{children:`Hindi`}),`\n`,_jsx(_components.li,{children:`and many more—use the language picker in the agent editor for the full list.`}),`\n`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`After you change language mode, run a few `,_jsx(_components.strong,{children:`test chats`}),` in the languages you care about to confirm tone and understanding match your expectations.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Set Language","description":"Configure how your agent handles different languages","href":"/set-language"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Language Modes","slug":"language-modes","depth":2,"children":[{"title":"Dynamic Detection (Recommended)","slug":"dynamic-detection-recommended","depth":3,"children":[]},{"title":"Specific Language","slug":"specific-language","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"subdomain":"quensultingai","siteName":"Deflect","title":"Set Language - Deflect","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-06-17T10:13:56.823Z","originalFileLocation":"set-language.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Configure how your agent handles different languages\">\u003cmeta data-mint-head name=\"application-name\" content=\"Deflect\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/quensultingai/4OD1PhXD5SbaX2O8/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/quensultingai/4OD1PhXD5SbaX2O8/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/quensultingai/4OD1PhXD5SbaX2O8/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/quensultingai/4OD1PhXD5SbaX2O8/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/quensultingai/4OD1PhXD5SbaX2O8/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/quensultingai/4OD1PhXD5SbaX2O8/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/quensultingai/4OD1PhXD5SbaX2O8/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/quensultingai/4OD1PhXD5SbaX2O8/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/quensultingai/4OD1PhXD5SbaX2O8/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Set Language - Deflect\">\u003cmeta data-mint-head property=\"og:description\" content=\"Configure how your agent handles different languages\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Deflect\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.deflect.in/set-language\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://quensultingai.mintlify.site/_mintlify/api/og/v2?division=Core+Concepts\u0026amp;title=Set+Language\u0026amp;description=Configure+how+your+agent+handles+different+languages\u0026amp;theme=ebe4729a06927eb586b13b30\u0026amp;signature=b5444ec6d04fe6a3036b459cc88689e00dca0a7f96c3abe4ba69ebd2d8c27682\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Set Language - Deflect\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Configure how your agent handles different languages\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://quensultingai.mintlify.site/_mintlify/api/og/v2?division=Core+Concepts\u0026amp;title=Set+Language\u0026amp;description=Configure+how+your+agent+handles+different+languages\u0026amp;theme=ebe4729a06927eb586b13b30\u0026amp;signature=b5444ec6d04fe6a3036b459cc88689e00dca0a7f96c3abe4ba69ebd2d8c27682\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/quensultingai/4OD1PhXD5SbaX2O8/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Deflect\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.deflect.in/set-language\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/set-language.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.deflect.in/#organization\",\"name\":\"Deflect\",\"url\":\"https://docs.deflect.in\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/quensultingai/Vk0F3QdCtadjJvc9/logo/light.svg?fit=max\u0026auto=format\u0026n=Vk0F3QdCtadjJvc9\u0026q=85\u0026s=887aa027ed2d1d49f71242be869b49d7\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.deflect.in#website\",\"name\":\"Deflect\",\"url\":\"https://docs.deflect.in\",\"publisher\":{\"@id\":\"https://docs.deflect.in/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.deflect.in/set-language#webpage\",\"url\":\"https://docs.deflect.in/set-language\",\"name\":\"Set Language\",\"description\":\"Configure how your agent handles different languages\",\"dateModified\":\"2026-06-17T10:13:56.823Z\",\"isPartOf\":{\"@id\":\"https://docs.deflect.in#website\"},\"breadcrumb\":{\"@id\":\"https://docs.deflect.in/set-language#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.deflect.in/set-language#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Core Concepts\",\"item\":\"https://docs.deflect.in/create-chat-agent\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Set Language\",\"item\":\"https://docs.deflect.in/set-language\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.deflect.in/set-language#article\",\"headline\":\"Set Language\",\"name\":\"Set Language\",\"description\":\"Configure how your agent handles different languages\",\"url\":\"https://docs.deflect.in/set-language\",\"mainEntityOfPage\":{\"@id\":\"https://docs.deflect.in/set-language#webpage\"},\"dateModified\":\"2026-06-17T10:13:56.823Z\",\"publisher\":{\"@id\":\"https://docs.deflect.in/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.deflect.in#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Deflect\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Deflect\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/set-language.md","siteName":"Deflect","nav":{"global":{"anchors":[{"anchor":"Website","icon":"globe","href":"https://deflect.in"},{"anchor":"Dashboard","icon":"gauge","href":"https://app.deflect.in"}]},"tabs":[{"tab":"Guides","groups":[{"group":"Getting Started","pages":[{"title":"Introduction","href":""},{"title":"Build your first agent in 5 minutes","href":"/quickstart"},{"title":"Launch an agent on your website","href":"/launch-on-your-website"}]},{"group":"Core Concepts","pages":[{"title":"Create Chat Agent","href":"/create-chat-agent"},{"title":"Knowledge Base","href":"/knowledge-base"},{"title":"Prompt Engineering Guide","description":"Master the art of writing effective system prompts for your agents","href":"/prompt-engineering"},{"title":"Set Language","href":"/set-language"}]},{"group":"Features","pages":[{"title":"Custom Functions","description":"Extend your agent's capabilities with custom API integrations","href":"/custom-functions"},{"title":"Human Handoff","href":"/human-handoff"},{"title":"Tickets","href":"/tickets"},{"title":"Live Chat","href":"/live-chat"},{"title":"Post-Chat Analysis","href":"/post-chat-analysis"},{"title":"Analytics Dashboard","href":"/analytics"},{"title":"Chat History","href":"/chat-history"},{"title":"Contacts","href":"/contacts"},{"title":"Email campaigns","href":"/email-campaigns"},{"title":"Agent file attachments","href":"/agent-file-attachments"}]},{"group":"Setup \u0026 Configuration","pages":[{"title":"Widget Installation","href":"/widget-installation"},{"title":"Settings \u0026 Billing","href":"/settings"},{"title":"Team Management","href":"/team-management"},{"title":"Canned Responses","href":"/canned-responses"},{"title":"Email Branding","href":"/email-branding"},{"title":"Integrations","href":"/integrations"},{"title":"WhatsApp Integration","href":"/whatsapp-integration"},{"title":"Agent Import \u0026 Export","href":"/agent-import-export"}]}]}]},"basePath":"","title":"Set Language - Deflect","deploymentId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","buildId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","dynamics":[],"chunks":[]}