[imp] Where to change language

Santiago Romero sromero@servicom2000.com
Tue, 13 Nov 2001 10:44:44 +0100


El jue, 08 de nov de 2001, a las 09:15:47 +0100, Santiago Romero dijo:
>  Hi
>  I'm using imp 2.2.6 on a Linux machine and we're trying
>  to integrate IMP into our Intranet Provisioning Application.
>  On this application the language is an LDAP parameter of
>  the user (who logged in the Application login form). 
> 
>  Now I need to change IMP so that the language is not selected
>  as a combo-box nor get from the Oracle (user preferences). I
>  need to know where should I do the LDAP query to override IMP's
>  language detection/setup. Just knowing the file or function
>  where I must to the hack or how to do it would help a lot
>  and would save me hours searching where to add the code.

 I would appreciate any help about the above...
 I need to change IMP language depending on an LDAP attribute.
 I know how to read the ldap al get the attribute, but I don't
 know where I should override the language cookie or if it would
 be easier just changing the imp database language preferences.

 What's better for IMP? I should change the language cookie? (and
 where)
 Or better the imp's language preferences on my oracle database?

 Any help?
 THanks a lot anyway :)

-- 
Santiago Romero
Departamento de Sistemas
sromero@servicom2000.com

Av. Primado Reig 189, entlo
46020 Valencia - Spain
Telf. (+34) 96 332 12 00
Fax. (+34) 96 332 12 01
http://www.servicom2000.com