Page 1 of 1

Language in FrontEndUsers 1.0.5 (svn)

Posted: Tue Apr 18, 2006 2:53 pm
by alby
Installed svn version (first time) on CMSMS .13 svn.
I change language in Admin section (user preference) in other language (it_IT), the module work well.
I change locale config in other language (it_IT), the module display (on frontend) en_US language only.
I add lang="it_IT" in module_tag, the module display (on frontend) it_IT language ok.
I test with a failed login but this message is always en_US.
I check in FrontEndUsers.api.php:

Code: Select all

  function Login( $username, $password )
  {
    if( !$this->CheckPassword( $username, $password ) )
      {
        $mod = $this->GetModule();
var_export($mod->Lang); exit;
        return array(FALSE,$mod->Lang('error_loginfailed'));
      }
but $mod->Lang is empty.
My mistake?

Alby

Re: Language in FrontEndUsers 1.0.5 (svn)

Posted: Tue Apr 18, 2006 3:13 pm
by calguy1000
Yes, you'll have to download the translation file for frontendusers too (if Italian is done).  Check in the channel, I'm not quite sure how to do that.

Re: Language in FrontEndUsers 1.0.5 (svn)

Posted: Tue Apr 18, 2006 3:21 pm
by alby
calguy1000 wrote: Yes, you'll have to download the translation file for frontendusers too (if Italian is done).  Check in the channel, I'm not quite sure how to do that.
Yes, I am maintainer for italian translation and in svn it's there (lang/ext directory)

Alby