Globalization in Blazor SpeechToText component

17 Mar 20252 minutes to read

Localization

The SpeechToText can be localized to any culture by defining the text in the corresponding culture. Refer to the Blazor Localization topic to localize Syncfusion® Blazor components. The following table represents the default text of the SpeechToText in en-US culture.

KEY Text
SpeechToText_Aborted_Error Speech recognition was aborted.
SpeechToText_AudioCapture_Error No microphone detected. Ensure your microphone is connected.
SpeechToText_Default_Error An unknown error occurred.
SpeechToText_Network_Error Network error occurred. Check your internet connection.
SpeechToText_NoSpeech_Error No speech detected. Please speak into the microphone.
SpeechToText_NotAllowed_Error Microphone access denied. Allow microphone permissions.
SpeechToText_ServiceNotAllowed_Error Speech recognition service is not allowed in this context.
SpeechToText_UnsupportedBrowser_Error The browser does not support the SpeechRecognition API.
SpeechToText_Start_AriaLabel Press to start speaking and transcribe your words
SpeechToText_Stop_AriaLabel Press to stop speaking and end transcription
SpeechToText_Start_TooltipText Start listening
SpeechToText_Stop_TooltipText Stop listening

RTL

RTL provides an option to switch the text direction and layout of the SpeechToText component from right to left. Refer to Blazor RTL topic to provide RTL support for the Syncfusion Blazor components.