[imp] Preferred Language
Hanns Mattes
hanns at hannsmattes.de
Wed Nov 14 18:28:44 UTC 2012
Hi,
Zitat von Michael M Slusarz <slusarz at horde.org>:
> 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.
Thanks. Your advice made me control my prefs.local-file and disable
it. Obviously, I've messed something up. Now the list of languages
shows up as desired.
Thanks
Hanns
More information about the imp
mailing list