[espeak-ng:master] reported: Making e-speak Russian voice speak in another language than English #github


espeak-ng@groups.io Integration <espeak-ng@...>
 

[espeak-ng:master] New Comment on Issue #889 Making e-speak Russian voice speak in another language than English
By jaacoppi:

For a quick and dirty hack: Add line "new_language="tr;" right before this line: https://github.com/espeak-ng/espeak-ng/blob/6a43f8c9849da6dd2a8b20fc2acc927b7a75ddf4/src/libespeak-ng/translate.c#L1495

Another solution might work ase well: use dictrules 1 in language file and ?1 a _^_tr for each alphabet like cantonese does. See https://github.com/espeak-ng/espeak-ng/issues/347

Let me know if you are satisfied with either solution.

For a long term solution, there should be a way to set a default fallback language. alt_alphabet and alt_alphabet_lang seem to be made for that purpose but I didn't get them to work correctly.

Join espeak-ng@groups.io to automatically receive all group messages.