private function localize($csvId)
    {
        $strings = [];
        $urlPart = '&single=true&gid=';

        if (is_array($csvId)) {
            foreach ($csvId as $id) {
                $parsed = $this->parse($this->csvUrl . $urlPart . $id);
                $strings = array_merge($strings, $parsed);
            }
        } else {
            $strings = $this->parse($this->csvUrl . $urlPart . $csvId);
        }

        return $strings;
    }
private function localize($csvId)
    {
        $strings = [];
        $urlPart = '&single=true&gid=';

        if (is_array($csvId)) {
            foreach ($csvId as $id) {
                $parsed = $this->parse($this->csvUrl . $urlPart . $id);
                $strings = array_merge($strings, $parsed);
            }
        } else {
            $strings = $this->parse($this->csvUrl . $urlPart . $csvId);
        }

        return $strings;
    }
private function localize ( $ csvId ) { $ strings = [ ] ; $ urlPart = '&single=true&gid=' ; if ( is_array ( $ csvId ) ) { foreach ( $ csvId as $ id ) { $ parsed = $ this -> parse ( $ this -> csvUrl . $ urlPart . $ id ) ; $ strings = array_merge ( $ strings , $ parsed ) ; } } else { $ strings = $ this -> parse ( $ this -> csvUrl . $ urlPart . $ csvId ) ; } return $ strings ; }
Append sheet array by locale.
If array is provided append the sheets to the same locale.

@param string/array $csvId Id of csv doc.

@return array
Append sheet array by locale . If array is provided append the sheets to the same locale .