[Asterisk-i18n] revision of 'say'

Tzafrir Cohen tzafrir.cohen at xorcom.com
Fri Jun 16 06:12:32 MST 2006


On Thu, Jun 15, 2006 at 11:38:13PM +0200, Péter Gervai wrote:
> Hello,
> 
> Sorry to break this lovely silence, but there was this one:
> 
> >Från: Luigi Rizzo <rizzo at icir.org>
> >Datum: fredag 10 mar 2006 19.30.33 GMT+01:00
> >Till: asterisk-dev at lists.digium.com
> >Ämne: revision of 'say' Re: [asterisk-dev] bugs a plenty - discuss....
> >Svara till: Asterisk Developers Mailing List <asterisk-
> >dev at lists.digium.com>
> >
> >this is a call to all non-english speakers to
> >help designing the config files for the text-based
> >"say" implementation.
> [...]
> 
> What happened since? Looking at the proposed config file the idea
> looks very useful, I could write hungarian syntax easily... was this
> dropped, or a new proposal walked around, or it was just put in the
> corner to gather dust? Would be a shame.

http://svn.digium.com/svn/asterisk/trunk/configs/say.conf.sample

> 
> Peter
> 
> ps: in fact it is so easy, here's the hungarian one
> 
> [hu]
> _X => digits/${SAY}
> _N0 => digits/${SAY}
> _[1-2]X => digits/${SAY:0:1}n, say:${SAY:1}
> _[3-9]X => digits/${SAY:0:1}, say:${SAY:1}
> _XXX => say:${SAY:0:1}, digits/100, say:${SAY:1}
> _XXXX => say:${SAY:0:1}, digits/1000, say:${SAY:1}
> _XXXXXXX => say:${SAY:0:1}, digits/million, say:${SAY:1}

Have you tested this? I figure that a patch in the mantis (under
"internationalization" would be welcomed.

> 
> ps2: I am lazy now to do the enum, but it's very similar, a bit more 
> complex.

-- 
Tzafrir Cohen      sip:tzafrir at local.xorcom.com
icq#16849755       iax:tzafrir at local.xorcom.com
+972-50-7952406           
tzafrir.cohen at xorcom.com  http://www.xorcom.com


More information about the Asterisk-i18n mailing list