install/core/Language.php
protected function afterRetrieve(array &$i18n)
    {
        /** Get rewrite rules */
        $serverType = $this->getSystemHelper()->getServerType();
        $serverOs = $this->getSystemHelper()->getOs();

        $rewriteRules = $this->getSystemHelper()->getRewriteRules();
        if (isset($i18n['options']['modRewriteInstruction'][$serverType][$serverOs])) {
            $modRewriteInstruction = $i18n['options']['modRewriteInstruction'][$serverType][$serverOs];

            preg_match_all('/\{(.*?)\}/', $modRewriteInstruction, $match);
            if (isset($match[1])) {
                foreach ($match[1] as $varName) {
                    if (isset($rewriteRules[$varName])) {
                        $modRewriteInstruction = str_replace('{'.$varName.'}', $rewriteRules[$varName], $modRewriteInstruction);
                    }
                }
            }

            $i18n['options']['modRewriteInstruction'][$serverType][$serverOs] = $modRewriteInstruction;
        }
    }
protected function afterRetrieve(array &$i18n)
    {
        /** Get rewrite rules */
        $serverType = $this->getSystemHelper()->getServerType();
        $serverOs = $this->getSystemHelper()->getOs();

        $rewriteRules = $this->getSystemHelper()->getRewriteRules();
        if (isset($i18n['options']['modRewriteInstruction'][$serverType][$serverOs])) {
            $modRewriteInstruction = $i18n['options']['modRewriteInstruction'][$serverType][$serverOs];

            preg_match_all('/\{(.*?)\}/', $modRewriteInstruction, $match);
            if (isset($match[1])) {
                foreach ($match[1] as $varName) {
                    if (isset($rewriteRules[$varName])) {
                        $modRewriteInstruction = str_replace('{'.$varName.'}', $rewriteRules[$varName], $modRewriteInstruction);
                    }
                }
            }

            $i18n['options']['modRewriteInstruction'][$serverType][$serverOs] = $modRewriteInstruction;
        }
    }
protected function afterRetrieve ( array & $ i18n ) { /** Get rewrite rules */ $ serverType = $ this -> getSystemHelper ( ) -> getServerType ( ) ; $ serverOs = $ this -> getSystemHelper ( ) -> getOs ( ) ; $ rewriteRules = $ this -> getSystemHelper ( ) -> getRewriteRules ( ) ; if ( isset ( $ i18n [ 'options' ] [ 'modRewriteInstruction' ] [ $ serverType ] [ $ serverOs ] ) ) { $ modRewriteInstruction = $ i18n [ 'options' ] [ 'modRewriteInstruction' ] [ $ serverType ] [ $ serverOs ] ; preg_match_all ( '/\{(.*?)\}/' , $ modRewriteInstruction , $ match ) ; if ( isset ( $ match [ 1 ] ) ) { foreach ( $ match [ 1 ] as $ varName ) { if ( isset ( $ rewriteRules [ $ varName ] ) ) { $ modRewriteInstruction = str_replace ( '{' . $ varName . '}' , $ rewriteRules [ $ varName ] , $ modRewriteInstruction ) ; } } } $ i18n [ 'options' ] [ 'modRewriteInstruction' ] [ $ serverType ] [ $ serverOs ] = $ modRewriteInstruction ; } }
After retrieve actions

@param  array $i18n
@return array $i18n
After retrieve actions