Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] OfflineSpeechToText Failure: LanguageNotSupported #2463

Open
2 tasks done
MattiaDurli opened this issue Jan 21, 2025 · 0 comments
Open
2 tasks done

[BUG] OfflineSpeechToText Failure: LanguageNotSupported #2463

MattiaDurli opened this issue Jan 21, 2025 · 0 comments
Labels
bug Something isn't working unverified

Comments

@MattiaDurli
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Did you read the "Reporting a bug" section on Contributing file?

Current Behavior

Using the unmodified sample provided, I try OfflineSpeechToText and receive a Failure in speech engine - LanguageNotSupported

Expected Behavior

Expect the sample to work and listen to speech

Steps To Reproduce

Press the button "StartListenAs" and the error appears in Language Output label

Link to public reproduction project repository

https://github.com/CommunityToolkit/Maui

Environment

Latest Community toolkit sample 11.0.0, tried on Android 13, 14 and 15.

Anything else?

Italian language devices, language pack downloaded in italian and english.
Tried:
await speechToText.StartListenAsync(new SpeechToTextOptions
{
Culture = new System.Globalization.CultureInfo("en-US"),
ShouldReportPartialResults = true
}, CancellationToken.None);

to force "en-US" and the default Culture = CultureInfo.CurrentCulture, that picks "it-IT"

@MattiaDurli MattiaDurli added bug Something isn't working unverified labels Jan 21, 2025
@brminnick brminnick changed the title [BUG] [BUG] OfflineSpeechToText Failure: LanguageNotSupported Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unverified
Projects
None yet
Development

No branches or pull requests

1 participant