DOC SYSTEM I added functions to load translations of plugins SOLVED

I added functions to load translations of plugins
This commit is contained in:
Brayan Osmar Pereyra Suxo
2013-03-13 11:15:43 -04:00
parent c11eee2c17
commit 20e8ba24d4
2 changed files with 32 additions and 0 deletions

View File

@@ -582,6 +582,8 @@ $oPluginRegistry = & PMPluginRegistry::getSingleton();
if (file_exists( $sSerializedFile )) {
$oPluginRegistry->unSerializeInstance( file_get_contents( $sSerializedFile ) );
$attributes = $oPluginRegistry->getAttributes();
Bootstrap::LoadTranslationPlugins( defined( 'SYS_LANG' ) ? SYS_LANG : "en" , $attributes);
}
// setup propel definitions and logging