[Home]

Summary:ASTERISK-09217: [patch] Hungarian say.conf digits
Reporter:Peter Gervai (grin)Labels:
Date Opened:2007-04-06 09:55:18Date Closed:2011-06-07 14:02:48
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/Internationalization
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:; contributed by grin on grin dot hu, 2007.04.04.
; required sounds: 0-10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 1000, million
;                  1n ("tizen"), 2n ("huszon")
[hu](date-base,digit-base)
 _[n]um:0. => num:${SAY:1}
 _[n]um:X => digits/${SAY}
 _[n]um:N0 => digits/${SAY}
 _[n]um:[1-2]Z => digits/${SAY:0:1}n, num:${SAY:1}
 _[n]um:[3-9]X => digits/${SAY:0:1}0, num:${SAY:1}
 _[n]um:XXX => num:${SAY:0:1}, digits/100, num:${SAY:1}
 _[n]um:XXXX => num:${SAY:0:1}, digits/1000, num:${SAY:1}
 _[n]um:XXXXX => num:${SAY:0:2}, digits/1000, num:${SAY:2}
 _[n]um:XXXXXX => num:${SAY:0:3}, digits/1000, num:${SAY:3}
 _[n]um:XXXXXXX => num:${SAY:0:1}, digits/million, num:${SAY:1}
 _[n]um:XXXXXXXX => num:${SAY:0:2}, digits/million, num:${SAY:2}
 _[n]um:XXXXXXXXX => num:${SAY:0:3}, digits/million, num:${SAY:3}
Comments:By: Peter Gervai (grin) 2007-04-06 09:59:03

Mmh I can't see a possibility to link to issue 0007077, so here's in comments.

By: Jason Parker (jparker) 2007-04-06 10:34:23

If the patch on 7077 is incorrect, please post corrections there.

Closing.

By: Serge Vecher (serge-v) 2007-04-06 12:18:14

qwell: I think this solution is preferred, since it implements the hungarian syntax using code-less say.conf method that rizzo developed last summer. The patch in 7077 implement it the "old" way. Well, if I'm wrong, please reclose.

grin: could you please get a disclaimer on file? (see bottom of the front page on how to do that).

By: Jason Parker (jparker) 2007-04-06 12:21:08

serge, in 7077 there is a patch that implements it in say.conf. :)