[Home]

Summary:ASTERISK-10995: The [VM_DATE] never gets translated into the locales.
Reporter:Moacir Ferreira (moacir)Labels:
Date Opened:2007-12-07 16:57:32.000-0600Date Closed:2011-06-07 14:03:27
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Applications/app_voicemail
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:I am running asterisk 1.4.15, over centos 5.0. Although I have intalled my system in English, I have changed the file il8n so the variable LANG is LANG="pt_PT". Then I had set the SIP language to "pt_PT". However the the [VM_DATE] sent by e-mail never gets translated into Portuguese. Am I missing something or it is a bug?
Comments:By: Olle Johansson (oej) 2007-12-10 07:36:27.000-0600

I don't think voicemail uses the locale. I know that minivm() uses locale, so please check that in trunk. Thanks.

By: Olle Johansson (oej) 2007-12-10 07:37:36.000-0600

Our language codes are normally two-character codes, like "pt" for portugal. They're not the locale codes.

By: Tilghman Lesher (tilghman) 2007-12-10 10:51:21.000-0600

Whatever zone you set for the user is the zone used for the date/time formatted output.  In your case, I'd set up a zone for "Europe/Lisbon" and ensure that all of your voicemail users are set to the zonemessages line containing that specification.