New to Kendo UI for jQueryStart a free 30-day trial

Messages

configuration

Allows customization of the messages displayed by the widget.

messages

Object
<button id="speechButton"></button>
<script>
    $("#speechButton").kendoSpeechToTextButton({
        messages: {
            unsupported: "Speech recognition is not available in this browser."
        }
    });
</script>

The message for when the speech recognition engine is not initialized.

Default: "Speech recognition engine not initialized."

<button id="speechButton"></button>
<script>
    $("#speechButton").kendoSpeechToTextButton({
        messages: {
            notInitialized: "The speech engine is not ready yet."
        }
    });
</script>

The aria-label for the button when it is not active (not listening).

Default: "Start speech recognition"

<button id="speechButton"></button>
<script>
    $("#speechButton").kendoSpeechToTextButton({
        messages: {
            start: "Click to start talking"
        }
    });
</script>

The aria-label for the button when it is active (listening).

Default: "Stop speech recognition"

<button id="speechButton"></button>
<script>
    $("#speechButton").kendoSpeechToTextButton({
        messages: {
            stop: "Click to stop listening"
        }
    });
</script>

The message shown when speech recognition is not supported by the browser.

Default: "Speech recognition is not supported in this browser."

<button id="speechButton"></button>
<script>
    $("#speechButton").kendoSpeechToTextButton({
        messages: {
            unsupported: "Your browser does not support speech recognition."
        }
    });
</script>