Wed Oct 28 15:49:24 2009

Asterisk developer's documentation

Asterisk Language Syntaxes supported

Not really language codes. For these language codes, Asterisk will change the syntax when saying numbers (and in some cases dates and voicemail messages as well)
For Some languages the numbers differ for gender and plural.
  • Use the option argument 'f' for female, 'm' for male and 'n' for neuter in languages like Portuguese, French, Spanish and German.
  • use the option argument 'c' is for commune and 'n' for neuter gender in nordic languages like Danish, Swedish and Norwegian. use the option argument 'p' for plural enumerations like in German
Date/Time functions currently have less languages supported than saynumber().
Note that in future, we need to move to a model where we can differentiate further - e.g. between en_US & en_UK
See contrib/i18n.testsuite.conf for some examples of the different syntaxes

Portuguese sound files needed for Time/Date functions: pt-ah pt-ao pt-de pt-e pt-ora pt-meianoite pt-meiodia pt-sss
Spanish sound files needed for Time/Date functions: es-de es-el
Italian sound files needed for Time/Date functions: ore-una ore-mezzanotte

Generated on Wed Oct 28 15:49:24 2009 for Asterisk - the Open Source PBX by  doxygen 1.5.6