AbanteCart Community
eCommerce construction => Installation and Configuration => Topic started by: Joop on October 18, 2016, 11:41:10 AM
-
Hello,
I'm changing the storefront language, but it shows some of the pictures with the old/removed language path
I think it is hardcoded in some file?
old: extensions/default_italian/storefront/language/italian/flag.png
Where can i find this file??
I can't change it in the Admin (System > Localization > Language Definitions)
-
Language icon is loaded into database at the time of extension installation.
Check this file:
extensions/default_italian/install.php
$this->db->query("INSERT INTO ".DB_PREFIX."languages (`name`,`code`,`locale`,`image`,`directory`,`filename`,`sort_order`, `status`)
VALUES ('Italiano', 'it', 'it_IT.UTF-8,it_IT,italian', 'extensions/default_italian/storefront/language/italian/flag.png','italian','italian','3',0);");
$new_language_id = $this->db->getLastId();
-
Ok thanks,
Now i know where to look for... i installed the rest of the translation manually
So i get wrong links from the database :)
I could put the pictures in the wrong DIRs, but this is the best methode.
Greetings from Holland
-
Thanks,
I changed the link to the flag... in the database
and the other pictures/icons are now also visible
Joop