Olle E. Johansson
2004-Apr-19 12:53 UTC
[Asterisk-Users] One, två, tre, quatre, cinq ... International numbers in say.c
http://bugs.digium.com/bug_view_page.php?bug_id=0001429 * Support for other language syntaxes in saynumber Accidentally I opened this can of worms to see if we can add support for other language syntaxes for saying numbers. Seems like Swedish, english and norwegian follow the same syntax. I've integrated existing patches for french, danish and soon portuguese syntax. The steps we're taking are: * First a quick-fix only for saying numbers * Adding documentation and sample sound files Many patches require additional sound files compared with the english set. * For a coming release we need a more general architecture that includes more phrases, time and date. This will be done with loadable modules for various languages. I need the original contributors of danish, french and portuguese to fax a disclaimer to Digium. See http://bugs.digium.com Also, I need users in these language territories to test the patch and add feedback to the bugtracker. I can try to put all this together into one unified patch, but not test everything for every language. If you have a patch for another syntax, please add it quickly to the bugtracker and fax in the disclaimer, so we can use it. If you have sound files for a language with decent quality that you can share to the community, please do so by adding them to the bug tracker. ***** If we all work on this together quickly, we may have a working say.c in the CVS soon. But to even ask a committer for support, I need test results up there on the bug tracker. ***** Thank you for your support! /Olle
Brancaleoni Matteo
2004-Apr-19 13:06 UTC
[Asterisk-Users] One, två, tre, quatre, cinq ... International numbers in say.c
hi Olle. I have a patch for italian. should it be for plain say.c or for your modified say.c ? Also I have some the .it audio files, I'll ask if I can distribute them (perhaps with some credit to the company I work for, that payed them...) Matteo Il lun, 2004-04-19 alle 21:53, Olle E. Johansson ha scritto:> http://bugs.digium.com/bug_view_page.php?bug_id=0001429 > > * Support for other language syntaxes in saynumber > > Accidentally I opened this can of worms to see if we can add support > for other language syntaxes for saying numbers. Seems like Swedish, > english and norwegian follow the same syntax. I've integrated > existing patches for french, danish and soon portuguese syntax. > > The steps we're taking are: > > * First a quick-fix only for saying numbers > * Adding documentation and sample sound files > Many patches require additional sound files compared with the > english set. > * For a coming release we need a more general architecture that > includes more phrases, time and date. This will be done with > loadable modules for various languages. > > I need the original contributors of danish, french and portuguese > to fax a disclaimer to Digium. See http://bugs.digium.com > > Also, I need users in these language territories to test the > patch and add feedback to the bugtracker. I can try to put all this > together into one unified patch, but not test everything for every > language. > > > If you have a patch for another syntax, please add it quickly to > the bugtracker and fax in the disclaimer, so we can use it. > > If you have sound files for a language with decent quality that > you can share to the community, please do so by adding them to > the bug tracker. > > ***** If we all work on this together quickly, we may have a > working say.c in the CVS soon. But to even ask a committer for > support, I need test results up there on the bug tracker. ***** > > Thank you for your support! > > /Olle > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-- Brancaleoni Matteo <mbrancaleoni@espia.it> Espia - Emmegi Srl
Matt Riddell
2004-Apr-19 17:30 UTC
[Asterisk-Users] Re: [Asterisk-Users] One, två, tre, quatre, cinq ... International numbers in say.c
I have the sounds for French, but can record more if necessary. They are available at www.sineapps.com Is a disclaimer required on these? Kind regards, Matt Riddell ----- Original Message ----- From: "Olle E. Johansson" <oej@edvina.net> To: "Users Asterisk" <asterisk-users@lists.digium.com> Sent: Tuesday, April 20, 2004 7:53 AM Subject: [Asterisk-Users] One, tv?, tre, quatre, cinq ... International numbers in say.c | http://bugs.digium.com/bug_view_page.php?bug_id=0001429 | | * Support for other language syntaxes in saynumber | | Accidentally I opened this can of worms to see if we can add support | for other language syntaxes for saying numbers. Seems like Swedish, | english and norwegian follow the same syntax. I've integrated | existing patches for french, danish and soon portuguese syntax. | | The steps we're taking are: | | * First a quick-fix only for saying numbers | * Adding documentation and sample sound files | Many patches require additional sound files compared with the | english set. | * For a coming release we need a more general architecture that | includes more phrases, time and date. This will be done with | loadable modules for various languages. | | I need the original contributors of danish, french and portuguese | to fax a disclaimer to Digium. See http://bugs.digium.com | | Also, I need users in these language territories to test the | patch and add feedback to the bugtracker. I can try to put all this | together into one unified patch, but not test everything for every | language. | | | If you have a patch for another syntax, please add it quickly to | the bugtracker and fax in the disclaimer, so we can use it. | | If you have sound files for a language with decent quality that | you can share to the community, please do so by adding them to | the bug tracker. | | ***** If we all work on this together quickly, we may have a | working say.c in the CVS soon. But to even ask a committer for | support, I need test results up there on the bug tracker. ***** | | Thank you for your support! | | /Olle | | | _______________________________________________ | Asterisk-Users mailing list | Asterisk-Users@lists.digium.com | http://lists.digium.com/mailman/listinfo/asterisk-users | To UNSUBSCRIBE or update options visit: | http://lists.digium.com/mailman/listinfo/asterisk-users
Soren Rathje
2004-Apr-21 09:25 UTC
[Asterisk-Users] One, två, tre, quatre, cinq ... International numbers in say.c
I did a quick test with the danish numbers in say.c patch (04-20-04 02:11) and found this.. *1 -- Executing SayNumber("SIP/1000-497f", "1") in new stack -- Playing 'digits/1' (language 'da') *2 -- Executing SayNumber("SIP/1000-497f", "100") in new stack -- Playing 'digits/1' (language 'da') -- Playing 'digits/hundred' (language 'da') *3 -- Executing SayNumber("SIP/1000-497f", "101") in new stack -- Playing 'digits/1' (language 'da') -- Playing 'digits/hundred' (language 'da') -- Playing 'digits/1' (language 'da') *4 -- Executing SayNumber("SIP/1000-497f", "1000") in new stack -- Playing 'digits/1' (language 'da') -- Playing 'digits/thousand' (language 'da') -- Playing 'digits/and' (language 'da') -- Executing SayNumber("SIP/1000-497f", "1001") in new stack -- Playing 'digits/1' (language 'da') -- Playing 'digits/thousand' (language 'da') -- Playing 'digits/and' (language 'da') -- Playing 'digits/1' (language 'da') *5 -- Executing SayNumber("SIP/1000-497f", "1000000") in new stack -- Playing 'digits/1' (language 'da') -- Playing 'digits/million' (language 'da') -- Playing 'digits/and' (language 'da') -- Executing SayNumber("SIP/1000-497f", "1000001") in new stack -- Playing 'digits/1' (language 'da') -- Playing 'digits/million' (language 'da') -- Playing 'digits/and' (language 'da') -- Playing 'digits/1' (language 'da') *1) pronounced "en", not an issue in itself but see next point. *2) pronounced "et" + "hundrede", different digit 1 "et". *3) pronounced "et" + "hundrede" + "og" + "en", there is an "og" missing. *4) pronounced "et" + "tusinde", no need for the "og" *5) pronounced "en" + "million", no need for the "og" A few pointers to how it is done... (Last time I translated VoiceMail software was 7 years ago and the biggest problem was making our vendor understand that we needed two different 1's. ) (1,2,3...99) en, to, tre...ni|og|halvfems (100,101...199) et|hundrede, et|hundrede|og|en, ..., et|hundrede|og|ni|og|halvfems (1000,1001...1099) et|tusinde, et|tusinde|og|en, ..., et|tusinde|og|ni|og|halvfems (1100,1101...1999) et|tusinde|et|hundrede, et|tusinde|et|hundrede|og|en, ..., et|tusinde|ni|hundrede|ni|og|halvfems (1000000,1000001...1000099) en|million, en|million|og|en, ..., en|million|og|ni|og|halvfems (1000100...1999999) en|million|et|hundrede, ..., en|million|ni|hundrede|ni|og|halvfems|tusinde|ni|hundrede|ni|og|ni|og|halvfe ms (2000000...X) to|millioner...X -- Soren ----- Original Message ----- From: "Olle E. Johansson" <oej@edvina.net> To: "Users Asterisk" <asterisk-users@lists.digium.com> Sent: Monday, April 19, 2004 9:53 PM Subject: [Asterisk-Users] One, två, tre, quatre, cinq ... International numbers in say.c> http://bugs.digium.com/bug_view_page.php?bug_id=0001429 >[SNIP]> > ***** If we all work on this together quickly, we may have a > working say.c in the CVS soon. But to even ask a committer for > support, I need test results up there on the bug tracker. ***** > > Thank you for your support! > > /Olle