support

Where to find "default" languages - config file?

Started by Joop, October 18, 2016, 11:41:10 AM

Previous topic - Next topic

Joop

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)


abantecart

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();

Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Joop

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

Joop

Thanks,
I changed the link to the flag... in the database
and the other pictures/icons are now also visible
Joop

Forum Rules Code of conduct
AbanteCart.com 2010 -