From: Sasa S. <sa...@st...> - 2005-10-11 06:15:54
|
--On 11. oktober 2005 8:12 +0200 Sasa Stupar <sa...@st...>=20 wrote: > > > --On 11. oktober 2005 9:05 +0300 Tomas Kuliavas > <to...@us...> wrote: > >>>>>>> I have added translation (slovenian) for change_passwd plugin but I >>>>>>> can't get it to work. In SM I have setup to use my native language >>>>>>> but >>>>>>> for the "Change password" is allways in english. >>>>>>> What am I missing here? >>>>>>> >>>>>> >>>>>> Oops, I forgot: change_passwd ver. 4.0, SM, 1.4.5_1 on FreeBSD 5.4. >>>>>> I have searched the archives and there I notice about bug in 4.0 but >>>>>> this is the last version I can find on SM plugin page. >>>>> >>>>> Did you see the messages in the archives with the 4.1 attachment? I >>>>> will send it to you offlist. >>>>> >>>>> - paul >>>>> >>>> >>>> Thanx. >>>> Looks like the list is striping out the attachments. >>>> >>>> Sasa >>> >>> >>> I have tried with the version 4.1 and it also doesn't work. >>> Just a resume what I have done so far: >>> -translate change_passwd.po into slovenian language >>> -compile change_passwd.po to change_passwd.mo >>> -create folders sl_SI/LC_MESSAGES under locale >>> -copy change_passwd.po and change_passwd.mo to sl_SI/LC_MESSAGES >>> -test it >>> >>> Am I doing something wrong here? >> >> You missed "Restart apache, if you've added/modified .mo files" part. >> >> Check bindtextdomain calls in plugin source. They show directory that >> should store translation files. >> >> -- >> Tomas >> > > Restarted apache but still the same problem. I have cleared the cache in > the browser too. I am trying with IE, Firefox, Opera. > > About bindtextdomains in options.php: > bindtextdomain('change_passwd', SM_PATH . = 'plugins/change_passwd/locale'); > > Anything else I could try? > > Sasa Oops, find the error . human of course. I had my folder LC_MESSAGES spelled = incorectly to LC_MASSAGES. Now it works. Sorry. Regards, Sasa |