[Asterisk-Users] Re: Digits in a different language...
Fran Boon
flavour at partyvibe.com
Thu May 6 14:27:22 MST 2004
Carlos Chavez wrote:
>>ok, we have an 'es' syntax for saynumber() but it doesn't seem to
>>support "ciento uno" as yet.
>>Is this the only number that changes?
>>What about 102? 110? 1001?
> All numbers like 10,20,30,40,50,60,70,80,90 and 100 have this problem.
> They all change when you have another number after. The only exception is the
> 1000 sound which does not change. For example:
> diez dieci (10)
> veinte veinti (20)
> From 30 to 90 you have to and an "y" (and) to the number. Some sounds
> like oh.gsm I simply recorded as "cero" (zero).
Actually this is already in the current version.
'100.gsm' is 'ciento'
Hence the need for a separate 'cien.gsm' for simply '100'
11-19 & 21-29 have separate soundfiles with dieci/veinti
30-90 add 'y.gsm' before the last digit
As I see it saynumber() appears correct to me.
Now we 'just' need to work on saytime() & saydate()
>>http://voip-info.org/wiki-Asterisk+sound+files+international
>>If you have a more complete set (this only includes digits) then
>>could you make it available for download?
> I was waiting until everything is working. I have almost all sounds
> translated, just missing a few like ACD. I can make them available if you wish.
As the usual Open Source motto goes - 'Release Early, Release Often' ;)
Seriously - I for one would greatly appreciate it as we have many
offices across latin america...
NB My latest patch to get 'mx' language setting to use 'es' syntax has
been accepted into CVS & we also have the option to pass gender to
saynumber() for 'una', playing 1F.gsm
I will send an updated i18ntestsuite.conf for you to play with if you're
working on this with me...
F
More information about the asterisk-users
mailing list