Re: Language for control panel

Hatim Bekkali <[email protected]> 10 May 2004 20:01:54 +0200
Newsgroups gmane.comp.isp.ispman.internationalization,gmane.comp.isp.ispman.user
Message-ID <[email protected]>
Hy,
i installed a new copie of ispman from scratch , i tested some
differents configuration , but i haven't the wanted result .

i tried to access to this direct url with lang=3Dfr
https://www.toto.com/ispman/control_panel/index.cgi?lang=3Dfr&mode=3Dindex
But i have some : (fr:: .. )
fr::Hello toto=20
fr::Domain Summary

and after, i delete the content of
/opt/ispman/locale/controlpanel/*.hash
but i can access to the english version without probleme with this url
https://www.toto.com/ispman/control_panel/index.cgi?lang=3Den&mode=3Dindex

the controlpanel/index.cgi dont read language information from=20
/opt/ispman/locale/control_panel/ , but from
/opt/ispman/cgi-bin/tmpl/customerMan/


It is normal that this CGI ispman/control_panel/index.cgi search a
variable "lang" , but in the nls.conf the relative variable to the
language is "language" and not "lang" ?

Any body use Ispman control panel with different language then the
default one?
it's possible to do that ?

Thanks for any help=20

Hatim



Le dim 02/05/2004 =E0 22:38, Hatim a =E9crit :
> Hy ,
> i want to use ispman in french !
>   for the admin interface , it work fine.
>   for the control panel , it doesnt work
> i make the 2 changes:
>=20
> in nls.conf=20
> # The langauge to fall back on if we cannot determine one any other
> # way (user choice, preferences, HTtp_acCEpt_laNGUAGE).
>=20
> $Config->{'nls'}{'defaults'}{'language'} =3D 'fr_fr';
> $Config->{'nls'}{'languages'}{'fr_fr'} =3D 'Fran&ccedil;ais';
>=20
> in ispman.conf
>  $Config->{'localeDir'} =3D "/opt/ispman/locale";
>=20
> but the control panel is always in english
>=20
> thanks a lot !
> Hatim
>=20
>=20
>=20


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3