[dev] Localization issue

Jan Schneider jan at horde.org
Wed May 12 10:52:46 PDT 2004


Zitat von Etienne Goyer <etienne.goyer at linuxquebec.com>:

> Content-Type: text/plain; charset=us-ascii; format=flowed
> Content-Transfer-Encoding: 7bit
>
> Jan Schneider wrote:
>> Zitat von Etienne Goyer <etienne.goyer at linuxquebec.com>:
>>
>>> Hi,
>>>
>>> I have a localization issue that I don't understand.  A little
>>> clarification would be welcomed.  I am using horde-3.0-ALPHA and
>>> IMP-4.0-ALPHA.
>>>
>>> I have Horde configured to authenticate against IMP, as in :
>>>
>>>      $conf['auth']['driver'] = 'application';
>>>      $conf['auth']['params']['app'] = 'imp';
>>>
>>>
>>> On the login page (which is horde/imp/login.php), localization appear
>>> correctly except for some string.  I found out these string are coming
>>> from Horde (not IMP) object, ie the service name (as in "Welcome to
>>> <service name>"), the content of horde/config/motd.php, the logout
>>> reason, ect.  Even I put these string in the appropriate IMP po and
>>> rebuild the locale, it still does not appear.
>>
>>
>> This page is shown in whatever language you set as the preferred in your
>> browser setup.
>
> I know that already.  It is being shown in French.  The problem is that
> some element are not localized properly, so the login page is
> half-french, half-english.  It happen that the elements not localized
> properly seem to all come from Horde, where string coming from IMP _are_
> localized properly.  Stuff that does not display in the correct locale :
>
> - Service name, as in "Welcome to <service name>" (it is being retrieved
>   via $registry->getParam('name', ...) in horde/imp/login.php).
>
> - Content of horde/imp/config/motd.php
>
> - Logout reason, as provided by $auth->getLogoutReason()

Neither "Welcome to" nor motd.php come from Horde.

Jan.

--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/


More information about the dev mailing list