|
From: Tomas K. <to...@us...> - 2006-06-02 10:20:10
|
> I've downloaded and installed plugin chg_sasl_passwd ,
> i've prepared and compiled italian locale file but
> all SM work in locale language ( italian ) and the plugin no.
>
> i've restarted apache but newer change ,
>
> my settings are:
>
> plugin at /usr/share/squirrelmail/plugins/chg_sasl_passwd
> locale in
> /usr/share/squirrelmail/plugins/chg_sasl_passwd/locale/it_IT/LC_MESSAGES/chg_sasl_passwd.mo
>
> php code :
>
> bindtextdomain('chg_sasl_passwd', SM_PATH .
> 'plugins/chg_sasl_passwd'); // tryed with absolute path and with
> plugins/chg_sasl_passwd/locale instead
> also tryed to add putenv("LANG=it");
> and setlocale( LC_ALL, "");
>
>
>
> textdomain('chg_sasl_passwd');
>
> the output don't change
Is main Italian translation working?
have you checked permissions of your translation and locale directories?
Please show diff with your changes. Saying that you added some lines of
code means nothing, because you haven't said where you added them.
> my system is :
> Linux version 2.6.12-1.1381_FC3smp (bhc...@po...)
> (gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)) #1 SMP Fri Oct 21
> 04:03:26 EDT 2005
>
> SM 1.4.6.
>
> There 's a mode to trace how _("") works ???
Attach strace to apache process and check opened .mo files
--
Tomas
|