Merge pull request #73408 from nightblade9/patch-1

Elaborate text-to-speech requirements on Linux
This commit is contained in:
Rémi Verschelde 2023-02-20 11:28:29 +01:00
commit dcad6fbf9c
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -991,6 +991,7 @@
- [code]name[/code] is voice name.
- [code]id[/code] is voice identifier.
- [code]language[/code] is language code in [code]lang_Variant[/code] format. [code]lang[/code] part is a 2 or 3-letter code based on the ISO-639 standard, in lowercase. And [code]Variant[/code] part is an engine dependent string describing country, region or/and dialect.
Note that Godot depends on system libraries for text-to-speech functionality. These libraries are installed by default on Windows and MacOS, but not on all Linux distributions. If they are not present, this method will return an empty list. This applies to both Godot users on Linux, as well as end-users on Linux running Godot games that use text-to-speech.
[b]Note:[/b] This method is implemented on Android, iOS, Web, Linux (X11), macOS, and Windows.
</description>
</method>