protected static function TranslationArrayExport($array)
    {
        $output = "[\n";
        foreach ($array as $key => $value) {
            /**
             * Escape '
             */
            $key    = str_replace('\'', '\\\'', $key);
            $value  = str_replace('\'', '\\\'', $value);
            $output .= "\t'{$key}' => '{$value}',\n";
        }

        return $output . "];";
    }
protected static function TranslationArrayExport($array)
    {
        $output = "[\n";
        foreach ($array as $key => $value) {
            /**
             * Escape '
             */
            $key    = str_replace('\'', '\\\'', $key);
            $value  = str_replace('\'', '\\\'', $value);
            $output .= "\t'{$key}' => '{$value}',\n";
        }

        return $output . "];";
    }
protected static function TranslationArrayExport ( $ array ) { $ output = "[\n" ; foreach ( $ array as $ key => $ value ) { /**
             * Escape '
             */ $ key = str_replace ( '\'' , '\\\'' , $ key ) ; $ value = str_replace ( '\'' , '\\\'' , $ value ) ; $ output .= "\t'{$key}' => '{$value}',\n" ; } return $ output . "];" ; }
Like var_export, but pretty

@param array $array I18n strings

@return string
Like var_export but pretty