Skip to content

Add configurable default language support for multilingual flexibility#118

Open
DhruvDG07 wants to merge 1 commit intosugarlabs:mainfrom
DhruvDG07:patch-1
Open

Add configurable default language support for multilingual flexibility#118
DhruvDG07 wants to merge 1 commit intosugarlabs:mainfrom
DhruvDG07:patch-1

Conversation

@DhruvDG07
Copy link
Copy Markdown

Hi,
This PR introduces a configurable default language using an environment variable (SPEAK_LANG).
Currently, the system falls back to English if a voice is not found. This change allows more flexibility by enabling a configurable default language, which can be useful as a step toward multilingual support.
If the specified language is not available, it safely falls back to English.
This can serve as a foundation for future multilingual enhancements.
Thanks!

This change introduces a configurable default language using the SPEAK_LANG environment variable.

Currently, the system defaults to English when a voice is not found. This allows more flexibility and serves as a step toward supporting multilingual functionality.

If the specified language is unavailable, it safely falls back to English.
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