diff --git a/admin-dev/themes/default/template/controllers/translations/helpers/view/translation_modules.tpl b/admin-dev/themes/default/template/controllers/translations/helpers/view/translation_modules.tpl
index 9612532c4..4d0614b91 100644
--- a/admin-dev/themes/default/template/controllers/translations/helpers/view/translation_modules.tpl
+++ b/admin-dev/themes/default/template/controllers/translations/helpers/view/translation_modules.tpl
@@ -57,11 +57,11 @@
{l s='List of Themes - Click to access theme translation:'}
{/if}
-
+
{foreach $modules_translations as $theme_name => $theme}
{foreach $theme as $module_name => $module}
diff --git a/controllers/admin/AdminTranslationsController.php b/controllers/admin/AdminTranslationsController.php
index e4f5e4985..2dd930be2 100644
--- a/controllers/admin/AdminTranslationsController.php
+++ b/controllers/admin/AdminTranslationsController.php
@@ -1910,12 +1910,13 @@ class AdminTranslationsControllerCore extends AdminController
$arr_files = $this->getAllModuleFiles($modules, _PS_MODULE_DIR_, $lang, true);
$arr_find_and_fill = array_merge($arr_find_and_fill, $arr_files);
- if (file_exists(_PS_THEME_DIR_.'/modules/'))
+ if (file_exists(_PS_THEME_DIR_.'modules/'))
{
- $modules = scandir(_PS_THEME_DIR_.'/modules/');
+ $modules = scandir(_PS_THEME_DIR_.'modules/');
$arr_files = $this->getAllModuleFiles($modules, _PS_THEME_DIR_.'modules/', $lang);
$arr_find_and_fill = array_merge($arr_find_and_fill, $arr_files);
}
+
foreach ($arr_find_and_fill as $value)
$this->findAndFillTranslations($value['files'], $value['theme'], $value['module'], $value['dir'], $lang);