private static function init()
    {
        if (!self::$defaultLng) {
            $config = Application::getConfigManager()->loadForModule('Cmf\Language');
            self::$defaultLng = strtolower($config->defaultLanguage);
            $currentLng = $config->currentLanguage;
            self::$currentLng = $currentLng ? strtolower($currentLng) : strtolower($config->defaultLanguage);
        }
    }
private static function init()
    {
        if (!self::$defaultLng) {
            $config = Application::getConfigManager()->loadForModule('Cmf\Language');
            self::$defaultLng = strtolower($config->defaultLanguage);
            $currentLng = $config->currentLanguage;
            self::$currentLng = $currentLng ? strtolower($currentLng) : strtolower($config->defaultLanguage);
        }
    }
private static function init ( ) { if ( ! self :: $ defaultLng ) { $ config = Application :: getConfigManager ( ) -> loadForModule ( 'Cmf\Language' ) ; self :: $ defaultLng = strtolower ( $ config -> defaultLanguage ) ; $ currentLng = $ config -> currentLanguage ; self :: $ currentLng = $ currentLng ? strtolower ( $ currentLng ) : strtolower ( $ config -> defaultLanguage ) ; } }
Initialization of language manager

@return void
Initialization of language manager