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).
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Klaus Darilion Sent: Monday, January 26, 2009 7:04 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] German date format in voicemail emails Philipp Kempgen schrieb: > 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? Meanwhile yes :-) > 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. I tried setting the locale in app_voicemail manually (ported from minivm) and then it works. But now I try setting it in the environment before starting Asterisk, but that does not work ..... klaus _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
