[imp] Preferred Language

Michael M Slusarz slusarz at horde.org
Wed Nov 14 17:38:38 UTC 2012


Quoting Hanns Mattes <hanns at hannsmattes.de>:

> Hi,
>
> digging through my horde/omp-installation, I've found a minor quirk  
> in the settings of the prefferred language when receiving an answer  
> to a message. There is an option to select on ore more languages,  
> but in my installation, there are no languages listed to select from.
>
> Any idea what's going wrong?

The language list is generated in the 'on_init' parameter to the  
'reply_lang' preference (imp/config/prefs.php):

$_prefs['reply_lang'] = array(
     [...]
     'on_init' => function($ui) {
         $enum = Horde_Nls::getLanguageISO();
         asort($enum);
         $ui->prefs['reply_lang']['enum'] = $enum;
     }
);

That would be the place to start debugging.

michael

___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the imp mailing list