Skip to content
This repository was archived by the owner on Nov 29, 2023. It is now read-only.

Commit 8f58ef3

Browse files
Merge pull request #938 from Bandwidth/VAPI-1193
VAPI-1193: Add Arabic and Chinese language support for SpeakSentence.
2 parents 121b8a3 + 4ec3652 commit 8f58ef3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

site/docs/voice/bxml/speakSentence.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ To choose a specific voice by name, use the `voice` attribute.
3434
| Attribute | Description |
3535
|:----------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
3636
| voice | Selects the voice of the speaker. Consult the `voice` column in the below table for valid values.<br/><br/>If the `voice` attribute is present, `gender` and `locale` are ignored. |
37-
| gender | Selects the gender of the speaker. Valid values are `"male"` or `"female"`.<br/><br/>Default `"female"` |
37+
| gender | Selects the gender of the speaker. Valid values are `"male"` or `"female"`.<br/><br/>Default `"female"`. If the chosen gender does not exist for the region, the opposite gender will be used by default. |
3838
| locale | Selects the locale of the speaker. Consult the `locale` column in the below table for valid values.<br/><br/>Default `"en_US"` |
3939

4040

@@ -64,6 +64,8 @@ The table below shows a mapping of our supported voices. It also maps our voice
6464
| kenji | ja | male | Takumi |
6565
| nadiya | ru | female | Tatyana |
6666
| anatoli | ru | male | Maxim |
67+
| zeina | arb | female | Zeina |
68+
| zhiyu | cmn-CN | female | Zhiyu |
6769

6870
### Supported SSML Tags
6971

@@ -90,6 +92,8 @@ Specifies the natural language of the content. If you use a voice with an `en_US
9092

9193
Attributes:
9294
* `xml:lang`: specifies the language, accepted values are:
95+
* `arb`: Arabic
96+
* `cmn-CN`: Chinese, Mandarin
9397
* `da-DK`: Danish
9498
* `nl-NL`: Dutch
9599
* `en-AU`: English, Australian

0 commit comments

Comments
 (0)