[asterisk-users] German date format in voicemail emails
Klaus Darilion
klaus.mailinglists at pernau.at
Mon Jan 26 07:03:35 CST 2009
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
More information about the asterisk-users
mailing list