attempting to switch to spanish
Posted: Tue Apr 21, 2009 3:28 pm
I have a php document that builds the voiceXML based on user preferences. (A scratchpad file posts a variable to the application server, which grabs the preferences from the db).
I'm causing two things to happen hoping the prompts will sound off in the language of the user:
1 - changing the xml:lang attribute in the <vxml> tag to read either "en_us" or "es_us"
2 - echoing all prompts using the translated lines from the database.
The script works just fine in english, but when I try to switch to spanish nothing seems to work. Instead, I get the voice telling me that "xml_lang= something tilde tilde something" -- I'm not sure. I can't quite make out what the voice is saying. But I can tell that it is simply repeating in a loop. This is the part of the log that is repeating:
Any help would be appreciated.
Thanks!
I'm causing two things to happen hoping the prompts will sound off in the language of the user:
1 - changing the xml:lang attribute in the <vxml> tag to read either "en_us" or "es_us"
2 - echoing all prompts using the translated lines from the database.
The script works just fine in english, but when I try to switch to spanish nothing seems to work. Instead, I get the voice telling me that "xml_lang= something tilde tilde something" -- I'm not sure. I can't quite make out what the voice is saying. But I can tell that it is simply repeating in a loop. This is the part of the log that is repeating:
Code: Select all
Tue 21 Apr 2009 08:17:04 PM UTC:
received event: noinput:
VXI::queue_prompts()
bargein set to true
INPUTMODES set to "DTMF"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
VXI::field_element - activating grammars for form = 'call' formitem = 'pin_number'
VXI::do_recognition()
PromptManager::Play()
Newly queued prompts are now being played
Tue 21 Apr 2009 08:17:14 PM UTC:
received event: noinput:
VXI::queue_prompts()
bargein set to true
INPUTMODES set to "DTMF"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
VXI::field_element - activating grammars for form = 'call' formitem = 'pin_number'
VXI::do_recognition()
PromptManager::Play()
Newly queued prompts are now being played
Tue 21 Apr 2009 08:17:23 PM UTC:
received event: noinput:
VXI::queue_prompts()
bargein set to true
INPUTMODES set to "DTMF"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
VXI::field_element - activating grammars for form = 'call' formitem = 'pin_number'
VXI::do_recognition()
PromptManager::Play()
Newly queued prompts are now being played
Thanks!