This commit is contained in:
Julio Cesar Laura Avendaño
2017-05-15 13:34:14 -04:00
parent 5f1c6274c2
commit 98bf48a2aa

View File

@@ -733,6 +733,9 @@ if (! is_file( PATH_LANGUAGECONT . 'translation.en' )) {
$pmTranslation = new Translation(); $pmTranslation = new Translation();
$fields = $pmTranslation->generateFileTranslation("en"); $fields = $pmTranslation->generateFileTranslation("en");
// Load Language Translation
Bootstrap::LoadTranslationObject("en");
} }
// TODO: Verify if the language set into url is defined in translations env. // TODO: Verify if the language set into url is defined in translations env.
@@ -743,6 +746,9 @@ if (SYS_LANG != 'en' && ! is_file( PATH_LANGUAGECONT . 'translation.' . SYS_LANG
$pmTranslation = new Translation(); $pmTranslation = new Translation();
$fields = $pmTranslation->generateFileTranslation(SYS_LANG); $fields = $pmTranslation->generateFileTranslation(SYS_LANG);
// Load Language Translation
Bootstrap::LoadTranslationObject(SYS_LANG);
} }
// Setup plugins // Setup plugins