Skip to content

Improve multilingual default voice detection#113

Open
Santoshh7 wants to merge 1 commit intosugarlabs:mainfrom
Santoshh7:fix-multilingual-default-voice
Open

Improve multilingual default voice detection#113
Santoshh7 wants to merge 1 commit intosugarlabs:mainfrom
Santoshh7:fix-multilingual-default-voice

Conversation

@Santoshh7
Copy link
Copy Markdown

Previously only Spanish and Australian English had special-case locale handling in defaultVoice(). Users with LANG=hi_IN, zh_CN, ja_JP, fr_FR or pt_BR always fell back to English.

Added locale detection for Hindi, Chinese, Japanese, French and Portuguese to match the multilingual voices now available via Kokoro TTS.

Previously only Spanish and Australian English had special-case
locale handling in defaultVoice(). Users with LANG=hi_IN, zh_CN,
ja_JP, fr_FR or pt_BR always fell back to English.

Added locale detection for Hindi, Chinese, Japanese, French and
Portuguese to match the multilingual voices now available via
Kokoro TTS.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant