// install languages on installer part 2

This commit is contained in:
Rémi Gaillard committed 2013-03-21 18:32:27 +01:00
1 parent e8e983aa4e
commit 4c1ba5c62d
3 files changed
+47 -34

No files matched your search

+2
View File
@@ -307,6 +307,8 @@ class InstallModelInstall extends InstallAbstractModel
if (!$xml = @simplexml_load_file(_PS_INSTALL_LANGS_PATH_.$iso.'/language.xml'))
throw new PrestashopInstallerException($this->language->l('File "language.xml" not valid for language iso "%s"', $iso));
Language::downloadAndInstallLanguagePack($iso, _PS_INSTALL_VERSION_);
// Add language in database
$language = new Language();
$language->iso_code = $iso;