Hi Wolfgang--

Setting the language at runtime is pretty simple.  You'll need a script block 
for this:

     SelectedLanguage.value = Languages.getLanguage("English");


The language specified in the call to getLanguage should be the name used in 
that project's configuration (i.e., this is the name of the language in the 
project, not the name of the Voice project associated with that language).

Regarding #2, I'm not quite sure what you're asking — can you clarify?


Randy


From: ECKHART Wolfgang 
<[email protected]<mailto:[email protected]>>
Reply-To: Voice Tools general developers 
<[email protected]<mailto:[email protected]>>
To: "'[email protected]<mailto:'[email protected]>'" 
<[email protected]<mailto:[email protected]>>
Subject: [vtp-dev] How to change Default Language in Callflow


Hello VTP-Developer Team!

i have a Question related to the Language that well be used at VoiceBlocks, 
e.g. at the PlayPrompt-Block.
At the BeginBlock of an Application, it's possible to select the Default 
Language - that's O.K..

1.) How can i change the DefaultLanguage during Application Execution?
      Do i have to change a Variable?

2.) Independent of Default Language, the DefaultLanguage of Tomcat (in my case 
"de-AT") will always be sent in vxml-Code

      e.g.:
                <block name="OutputMessageBlock">
                        <prompt bargein="true" xml:lang="de-AT">Hello in 
English 2 </prompt>
                        <goto 
next="/tl1/-/next?236845d436c14222b38cac19da00405c=success.filled" />
                </block>


Thanks in advance for any comments,
Wolfgang


Wolfgang Eckhart
Sonorys Technology GmbH
Brünner Straße 85
Eingang: Lundenburgergasse 6
1210 Wien

tel:               + 43 1 294 00 94 - 290
email:           [email protected]

_______________________________________________
vtp-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/vtp-dev

Reply via email to