I am trying to construct an associative array by using a function to populate some of the values as follows.
$month = array(1 => translate('January'), 2 => translate('February'),.......................12 => translate('December'))
translate() is a function I am using to translate English words and names to French. I have used it everywhere else and it has worked fine. My question is, is it not possible to call a function in this way to populate part of an associative array?