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] [Mac] TextToSpeeah Locale Object not populated correctly. #1622

Closed
CartBlanche opened this issue Jan 8, 2021 · 0 comments · Fixed by #1623
Closed

[Bug] [Mac] TextToSpeeah Locale Object not populated correctly. #1622

CartBlanche opened this issue Jan 8, 2021 · 0 comments · Fixed by #1623
Labels
bug Something isn't working
Milestone

Comments

@CartBlanche
Copy link
Contributor

Description

The Mac TTS Locale object only has the Language property populated and it populated incorrectly as it stores the voice Identifier, rather than the language information. This means it is essentially useless when trying to allow your app to switch languages to speak words natively.

Steps to Reproduce

See code here
https://github.com/xamarin/Essentials/blob/main/Xamarin.Essentials/TextToSpeech/TextToSpeech.macos.cs#L17

Expected Behaviour

Language property should store language info (eg fr-FR), and the other Locale properties (Name and Identifier) should be populated correctly.

Actual Behaviour

Incorrectly populated.

Basic Information

  • Version with issue: 1.6 Stable
  • Last known good version: N/A
  • IDE: VS4Mac
  • Platform Target Frameworks:
    • Mac: Yes

Screenshots

Reproduction Link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants