"Massimo Vignone" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi everybody, > > I'm trying to figure out a way to localize the voicemail prompts for the > italian language. > > It is not clear to me how to play dates in ddmmyy format. > > Is it possible to set a vxml file with a say-as clause like the following? > > <say-as interpret-as="date" format="dmy"> > > Or I have to modify the osbprompt_tts.cpp file? > > Thanks, > > Max > > -- > > __________________ mailto:[EMAIL PROTECTED] __________________ > Massimo Vignone > > Universita' di Modena e Reggio Emilia Tel.: +39.059.2058032 > Centro Servizi Informatici di Ateneo Fax: +39.059.2058034 > Via Campi 213/B - 41100 Modena (Italy) ICQ: 5527929 > _______________________ http://www.unimore.it/ ________________________ >
Hi Massimo! There is already a set of Italian voice prompts in subversion. Some time ago, I checked the prompts for completeness - there are some wave files missing, some extra files were provided to match custom Italian vxml files (mainmenu.vxml and login.vxml.in) - some updates will be necessary, but these prompts could be a good start (at least you can get the majority of translations :-). You can also listen to the prompts to see how the dates are dealt with. BTW - you can find the up-to-date list of voice prompts (well, it was up-to-date a few weeks ago) at http://sipx-wiki.calivia.com/index.php/Localization_of_Voice_Prompts. With regard to the order of prompts to generate a date, I believe it's handled by OSBpromptTTS::getDateFrom(). The current implementation combines the prompts in the order MDY (or MD is the year is not included). It does not matter in what format the original date is - the "date:dmy" tag is used only to correctly extract elements of the date in OSBpromptTTS::getPromptUrls(). I was looking at OSBpromptTTS::getDateFrom() a while ago when considering what will have to be done in order to handle languages that require a different order (DMY and DM). I think we'd have to introduce a language specific property that would indicate the order of date prompts (DM or MD), store this info somewhere and use it in OSBpromptTTS::getDateFrom() to order the prompts appropriately. My recommendation is to create a JIRA issue for this enhancement. Cheers, Misha _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
