Klaus Darilion
2009-Jan-26 11:28 UTC
[asterisk-users] German date format in voicemail emails
Hi! I want to configure voicemail to send emails with the date of the message in German/Austria, that means: "Montag, 26 J?nner 2009" instead of "Monday, 26 January 2009" voicemail.conf refers to "man strftime". This refers to the current locales. So, I tried export LANG=de export LC_ALL=de_DE before starting Asterisk. Unfortunately the date format is still in English. Any hints how to achieve the German language date format? thanks klaus
Philipp Kempgen
2009-Jan-26 11:50 UTC
[asterisk-users] German date format in voicemail emails
Klaus Darilion schrieb:> I want to configure voicemail to send emails with the date of the > message in German/Austria, that means: > > "Montag, 26 J?nner 2009" instead of "Monday, 26 January 2009" > > voicemail.conf refers to "man strftime". This refers to the current locales. > > So, I tried > export LANG=de > export LC_ALL=de_DE > before starting Asterisk. Unfortunately the date format is still in English. > > Any hints how to achieve the German language date format?Do you have these locales installed? And what's the default locale on your system? Debian: aptitude install locales dpkg-reconfigure locales (Locales to be generated: check the ones you want to install) (Default locale for the system environment: e.g. de_DE.UTF-8) However I'm not sure if that helps. Maybe Asterisk always uses the C locale to expand emaildateformat. Philipp Kempgen -- AMOOCON 2009, May 4-5, Rostock / Germany -> http://www.amoocon.de Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de Gesch?ftsf?hrer: Stefan Wintermeyer, Handelsregister: Neuwied B14998 --
Johansson Olle E
2009-Jan-27 08:03 UTC
[asterisk-users] German date format in voicemail emails
27 jan 2009 kl. 01.14 skrev Tilghman Lesher:> On Monday 26 January 2009 08:21:10 am Danny Nicholas wrote: >> Did you read the source for app_voicemail? Line 239 says you have >> to set >> locale in the config and have the sound file einE. Of course an >> easier way >> would be to locate the 19 day and month files and just replace them >> with >> German equivalents (assuming that 26 and 2009 sound the same in a >> German >> pronunciation). > > You might want to read his message before you start recommending > things. The > OP was interested in emails, not message playback. The language > setting only > affects prompt playback, not email messages.Minivoicemail actually has - multiple e-mail formats - locale support so you get the date in local language and format. This has not been backported to the old voicemail application. If you only need voicemail to e-mail, then use minivoicemail instead. /O