Author Message
KumudTripathi
Joined: Jan 5, 2012
Messages: 17
Offline
Hi,

We are trying to play date in format as "Day SpokenMonth Year" in our speech application

e.g. if date is 2023-10-17

it should play 17th October 2023

please help on how to do it.
JohnBiggs
Joined: Jun 20, 2005
Messages: 1141
Location: Rural, Virginia
Offline
What have your tried?
What have you read?
In short, how have you tried to address this need for yourself ?
I am not opposed to helping you with an issue, ...
massimo__croci
Joined: Jan 31, 2020
Messages: 518
Offline
Hi.

Try the Audio Variable.




Online documentation:

https://documentation.avaya.com/bundle/AvayaAuraOrchestrationDesignerDeveloperGuide_r723/page/AudioVariableItem.html

https://www.devconnectprogram.com/fileMedia/download/c16fa671-5ae8-4902-9e33-c1912c6a3f6a (search for 'audio variable' cause this topic is spanned all over the document)





Useful threads containing tips in case you need a customized format (ex. "Day of week-Month-day-no year" or "Month-year (4 digits)"):

https://www.devconnectprogram.com/forums/posts/list/24758.page#p163391

https://www.devconnectprogram.com/forums/posts/list/23141.page#p157744

https://www.devconnectprogram.com/forums/posts/list/407.page#p2671

https://www.devconnectprogram.com/forums/posts/list/18387.page#p74799
KumudTripathi
Joined: Jan 5, 2012
Messages: 17
Offline
JohnBiggs wrote:What have your tried?
I have tried all format available in available language bundle. e.g., DMSPDYY etc.

What have you read?
I have read the Avaya dev guide. I had de-compiled the language bundle and checked the source code and found one thing that the us bundle does not seems to be supporting what I am looking for as per below xml meta data

<Option tag="date" display="Date">
<Property name="Month Type" comment="Type of month spoken">
<Option tag="spokenmonth" display="Spoken month">
<Property name="Date Format" comment="Date format">
<Option tag="DDOWMSPDYY" display="Day of week-Month-day-year (4 digits)"/>
<Option tag="DMSPDYY" display="Month-day-year (4 digits)"/>
<Option tag="DMSPDY" display="Month-day-year (2 digits)"/>
<Option tag="DMSPD" display="Month-day-no year"/>
</Property>
</Option>
<Option tag="numericmonth" display="Month as a number">
<Property name="Date Format" comment="Date format">
<Option tag="DDOWMDYY" display="Day of week-Month-day-year (4 digits)"/>
<Option tag="DMDYY" display="Month-day-year (4 digits)"/>
<Option tag="DMDY" display="Month-day-year (2 digits)"/>
<Option tag="DMD" display="Month-day-no year"/>
</Property>
</Option>
</Property>
</Option>


In short, how have you tried to address this need for yourself ?

>> Yes I did.

I am not opposed to helping you with an issue, ...

Though I am not opposed of providing on all what I read and what I know. Would request you to provide any helpful information if you have and hope you got all answers to my knowledge and now satisfied that I am not asking just for fun here. You should have not responded to with your unhelpful questions as the audience of this forum is very wide and you are not on job of responding to all questions asked here for fun which have wasted your time.
KumudTripathi
Joined: Jan 5, 2012
Messages: 17
Offline
Hi massimo__croci,

Thank you for all these information. I have gone through it. I investigated the available English bundle packs and their source codes from respective jars. Seems like the available English bundle does not support speaking date as
Eighteenth October two thousand twenty-three


The bundle only seems to be supporting below formats of speaking date as standard phrases.

<Option tag="date" display="Date">
<Property name="Month Type" comment="Type of month spoken">
<Option tag="spokenmonth" display="Spoken month">
<Property name="Date Format" comment="Date format">
<Option tag="DDOWMSPDYY" display="Day of week-Month-day-year (4 digits)"/>
<Option tag="DMSPDYY" display="Month-day-year (4 digits)"/>
<Option tag="DMSPDY" display="Month-day-year (2 digits)"/>
<Option tag="DMSPD" display="Month-day-no year"/>
</Property>
</Option>
<Option tag="numericmonth" display="Month as a number">
<Property name="Date Format" comment="Date format">
<Option tag="DDOWMDYY" display="Day of week-Month-day-year (4 digits)"/>
<Option tag="DMDYY" display="Month-day-year (4 digits)"/>
<Option tag="DMDY" display="Month-day-year (2 digits)"/>
<Option tag="DMD" display="Month-day-no year"/>
</Property>
</Option>
</Property>
</Option>



If you can suggest me how can I customize the existing bundle pack to include my desired format of speaking. I am looking for steps or way to get the existing source code in eclipse for bundle pack and to modify it. I have got a document telling me how to create a bundle but how to modify existing one is what I am looking for currently (I thought to follow creation step and copy the available source codes from existing decompiled jar file to re-create the new bundle jar.)

or secondly, if you can help me locating a place from where I can download required localization bundle may be for example for India a bundle which may seems like "en-in_1.0.1.jar" instead of the available one "en-us_1.0.1.jar"
massimo__croci
Joined: Jan 31, 2020
Messages: 518
Offline
Hi, not at all.

Here the list of all localization bundles that are currently available for and packaged with Avaya Orchestration Designer (for downloding each .jar file, scroll down to the bottom):

https://support.avaya.com/downloads/download-details.action?contentId=C20121191618445320_5&productId=P0408


For India, I see

Language: Hindi
Version: 3.1.1
Name of .jar file: hi-in_3.1.1.jar
Size of file: 2.7 MB



I read on your last message " I have got a document telling me how to create a bundle but how to modify existing one is what I am looking for currently ".
The only documents (related to a bundle's creation and customization) I know are the 'Localization Package Developers Guide' for the OD and the old 'Localization Package Developers Guide ' for the DD (attached here).
The Avaya Localization Test Tool mentioned on the Developers Guide is here: https://www.devconnectprogram.com/forums/posts/list/18701.page

I also found some tips from developers (links on my previous post) related to customized formats.
Filename Orchestration Designer Localization Package Developers Guide .pdf [Disk] Download
Filename Dialog Designer Localization Package Developers Guide - May 14th 2010 .pdf [Disk] Download
Go to:   
Mobile view