protected static function parseResourceBundle($p_rb, $p_prefix = '')
    {
        $p_prefix = rtrim($p_prefix, '.');
        $values   = array();
        if ($p_rb instanceof \ResourceBundle) {
            foreach ($p_rb as $k => $v) {
                if (is_object($v)) {
                    $temp   = self::parseResourceBundle($v, ($p_prefix == '' ? '' : $p_prefix . '.') .
                              print_r($k, true) . '.');
                    $values = array_merge($values, $temp);
                } else {
                    $values[$p_prefix . '.' . $k] = $v;
                }
            }
        }
        
        return $values;
    }