[-] Installer: Install only the language choosen in the installer

This commit is contained in:
Rémi Gaillard
2013-03-21 15:17:07 +01:00
parent e00d7e736f
commit 5f2a4f3dea
2 changed files with 8 additions and 5 deletions

View File

@@ -237,7 +237,7 @@ class InstallXmlLoader
$default_lang = null;
foreach ($this->languages as $id_lang => $iso)
{
if ($iso == 'en')
if ($iso == $this->language->getLanguageIso())
$default_lang = $id_lang;
try