If the language of the visitor is unable to detect, then by enabling the Auto-Detect option the language can be auto-detected and translated.
The Confirmation message to detect and translate the chat will then appear. The Language detected will be translated to the user language and displayed.