By selecting a different language than English some of the information on the Information module does not appear in the selected language. I did a bit modification and it's working fine. Here is how I did it.
First:
Open catalog\language\YourLanguage\module\information.php
Add the following according to your desired language(Dutch/Nederlands in my case):
Code: Select all
$_['text_about'] = 'Over Ons';
$_['text_privacy'] = 'Privacy';
$_['text_terms'] = 'Voorwaarden';
Next:
Open catalog\controller\module\information.php
And modify as follow:
Code: Select all
foreach ($this->model_catalog_information->getInformations() as $result) {
//begin of modification
if($result['title'] == "About Us"){ $result['title'] =$this->language->get('text_about'); }
else if($result['title'] == "Privacy Policy"){ $result['title'] =$this->language->get('text_privacy'); }
else if($result['title'] == "Terms & Conditions"){ $result['title'] =$this->language->get('text_terms'); }
//end of modification
$this->data['informations'][] = array(
'title' => $result['title'],
'href' => $this->model_tool_seo_url->rewrite(HTTP_SERVER . 'index.php?route=information/information&information_id=' . $result['information_id'])
);
}
Hope it is useful.
Ciao