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'));
}
My mistake?
Alby