prestashop_newuser Posted August 22, 2013 Share Posted August 22, 2013 Hi, I am newbie to the prestashop. I am just creating a module from scratch in Prestashop 1.5.4.1 . When I was going through some forums and help files I got this link. In this line number 116 you can see that there have been used some Languages preliminaries. So can someone kindly tell me what's the use of it? and why someone will use it in the module. Any help and suggestions will be really appareciable. Thanks The langue preliminaries is like this in this link code /*Languages preliminaries*/ $defaultLanguage = intval(Configuration::get('PS_LANG_DEFAULT')); $languages = Language::getLanguages(); $iso = Language::getIsoById(intval($cookie->id_lang)); $divLangName = 'title¤subheading¤cpara¤logo_subheading'; Link to comment Share on other sites More sharing options...
vekia Posted August 22, 2013 Share Posted August 22, 2013 this is for back office, and it is related to the "language" switcher: Link to comment Share on other sites More sharing options...
Recommended Posts