I'm working on someone else's script today and was wondering because they duplicated logic for each language.
So I'm clear, I can still do it the following way. promptVariableString = "P[" + langVariable + "/promptname.wav]" promptVariablePrompt = promptVariableString On Wed, Oct 8, 2014 at 12:24 PM, Brian Meade <[email protected]> wrote: > That should work if you have the prompts stored in the EN and SP folders. > What issue are you seeing? > > On Wed, Oct 8, 2014 at 1:24 PM, Erick Wellnitz <[email protected]> > wrote: > >> Been a while since I have had to do much with CCX. >> >> I remember back in the day we could set up some string variables, >> concatenate them and have a nice clean way to cut our script in half when >> doing two different languages. >> >> For instance: >> 1 - English (set language string to EN) >> 2 - Spanish (set language string to SP) >> >> Then we could concatenate EN + "/" + promptname.wav >> >> There must be a way that I'm just not seeing. >> >> Any advice would be great! >> >> Thanks! >> >> _______________________________________________ >> cisco-voip mailing list >> [email protected] >> https://puck.nether.net/mailman/listinfo/cisco-voip >> >> >
_______________________________________________ cisco-voip mailing list [email protected] https://puck.nether.net/mailman/listinfo/cisco-voip
