A chatbot that works well for a shop in Dallas can still go wrong in Toronto, Montreal or Ottawa. Canadian users expect French as a first-class language (and in Quebec the law expects it), and the privacy rules that apply to the data flowing through the chat window are different from the US ones.
This post is the checklist we work through when we build an AI chatbot for a Canadian business. It is written for developers, not lawyers, so treat the legal notes as pointers to read, not advice.
1. Decide where the language comes from
You have three signals, in order of reliability:
An explicit choice. A visible EN | FR toggle in the chat header. Always offer it, and remember it (a cookie or local storage key is fine).
The page language. If the chat is embedded on /fr/ pages, start in French. Read document.documentElement.lang when the widget loads.
The browser. navigator.languages gives you the user's preferred list.…