If variables are wrapped in the language file, there will be some errors.
e.g. in freakauth language file:
[code]$lang[‘FAL_activation_email_body_message’] =
‘Thank you for your new member registration.
To activate your new account, please visit the following URL in the next 24 hours:’;[/code]
then in the tranlator interface, there will be an error message:
[code]Entry cannot be blank. Defaulted to master translation.
Mismatch – does not exist in master translation[/code]
If i submit the form without filling the input filed above the message, I will get none error message but the page refreshed (the same before I post). I checked the ‘translator’ controller and found why.
in the index function:
[code]elseif ( $this->validated && $this->input->post(‘SaveLang’) ) {
$this->data[‘page_content’] = ‘translator/saveLang’;
$this->data[‘page_title’] = ‘Confirm’;
}
else {
$this->data[‘page_content’] = ‘translator/translateLang’;
$this->data[‘page_title’] = ‘Translate ‘ . $this->langModule;
}[/code]
the logic is not exactly right, if I post but failed in validation.
hope these are helpful for you.
]]>take care,
marc
In the mean time, off the top of my head, around line 172 in the class constructor, this is the array you should change to the path for your language files:
$this->langDirs = array( BASEPATH . 'language', APPPATH . 'language' );
Cheers
Jan
—