Documentation

Configure chatbot languages

Set the chatbot language, prepare multilingual source content, and test answers before launch.

The bot configuration includes a language field, but this repository does not publish a definitive supported-language matrix or guarantee automatic language detection. Select only a language your model and source content have been tested to handle, and have a fluent reviewer check important answers.

Keep language behavior predictable

Set the bot's configured language and state in its instructions whether it should answer only in that language or follow the visitor's language when appropriate. Do not assume that translating a source automatically preserves legal, pricing, medical, or contractual meaning.

For multilingual sites, keep canonical facts consistent across translated knowledge sources. If sources conflict, choose a reviewed source of truth or route the visitor to a human rather than letting the chatbot reconcile contradictory versions.

Test each language

Prepare representative questions in every language you plan to support. Include product details, fees, availability, refusals, contact instructions, and spelling variations. Ask a fluent reviewer to compare responses against the approved source, especially for safety-critical or legally significant content.

Example bot configuration fields

{
  "language": "English",
  "system_prompt": "Answer in the configured language. Use only approved knowledge sources. If information is unavailable, say so and offer the reviewed contact route."
}

A compact multilingual test set

Language,Question,Expected source
English,"What is the current delivery fee?","Reviewed delivery policy"
Spanish,"¿Cuál es el costo de envío actual?","Reviewed Spanish delivery policy"
French,"Quels sont les horaires d'ouverture ?","Reviewed French hours policy"

Frequently asked questions

Which languages are officially supported?

The frontend exposes a configurable language string but does not publish an official language support list. Confirm current model and product support before making a commitment.

Does the widget automatically detect and translate every language?

Automatic detection and translation guarantees are not documented in this repository. Test the exact experience and do not promise support without verification.

Should I upload translations of my source content?

For important content, use reviewed translations and test answers against each language's source of truth. Do not rely on an unreviewed translation for fees, policies, or safety-critical instructions.