Asterisk - The Open Source Telephony Project GIT-master-f36a736
Asterisk Language Syntaxes supported
Note
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)
  • da - Danish
  • de - German
  • en - English (US)
  • en_GB - English (British)
  • es - Spanish, Mexican
  • fr - French
  • he - Hebrew
  • is - Icelandic
  • it - Italian
  • nl - Dutch
  • no - Norwegian
  • pl - Polish
  • pt - Portuguese
  • pt_BR - Portuguese (Brazil)
  • se - Swedish
  • zh - Taiwanese / Chinese
  • ru - Russian
  • ka - Georgian
  • hu - Hungarian
Gender:
For some languages the numbers differ for gender of the countable object. Commonly for "one", like "un"/"une" in French. Note that the interface is somewhat peculiar, as differing languages can have conflicting genders.
  • 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.
Date/Time functions currently have less languages supported than saynumber().
Todo:
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
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
Spanish sound files needed for Time/Date functions: es-de es-el
Italian
Italian sound files needed for Time/Date functions: ore-una ore-mezzanotte