Set languageDetail.

@param \BlackForest\PiwikBundle\Entity\PiwikLanguage|null $languageDetail

@return PiwikLogVisit
484744
public function setLanguageDetail(\BlackForest\PiwikBundle\Entity\PiwikLanguage $languageDetail = null)
    {
        $this->languageDetail = $languageDetail;

        return $this;
    }
997117
public function setOrderStatusDetail(\Gpupo\CommonSchema\ORM\Entity\Trading\Order\OrderStatusDetail $orderStatusDetail = null)
    {
        $this->order_status_detail = $orderStatusDetail;

        return $this;
    }
401039
public function setLanguage($language)
    {
        $this->language = $language;

        foreach ($this->countries as $country) {
            $this->countriesTranslated[$country->getIsoAlpha2()] = $country->getTranslation($this->language)['common'];
        }

        return $this;
    }
606514
public function setNodeTranslation(\Kunstmaan\NodeBundle\Entity\NodeTranslation $nodeTranslation = null)
    {
        $this->nodeTranslation = $nodeTranslation;

        return $this;
    }
479685
public function setLangDefault($lang, $text)
    {
        $this->setLangForm($lang, $text);
        $this->setLangColumn($lang, $text);
        $this->setLangFilter($lang, $text);

        return $this;
    }
1047796
protected function setLang() 
    {
        $array = explode(",", $this->_accept_language);
        $ca = count($array);
        for($i = 0; $i < $ca; $i++) 
        {
            //Konqueror
            $array[$i] = str_replace(" ", null, $array[$i]);
            $array[$i] = substr($array[$i], 0, 2);
            $array[$i] = strtolower($array[$i]);
        }
        $array = array_unique($array);
        $this->_lang = strtoupper($array[0]);
        if(empty($this->_lang) || strlen($this->_lang) < 2) 
        {
        	$this->_lang = 'Unknown';
        }
        return true;
    }
1365364
public function setResolution(\BlackForest\PiwikBundle\Entity\PiwikResolution $resolution = null)
    {
        $this->resolution = $resolution;

        return $this;
    }
1302983
public function setOgType($ogType, $locale = null)
    {
        $this->translate($locale, false)->setOgType($ogType);
        $this->mergeNewTranslations();

        return $this;
    }
376
public function setLanguage(\BlackForest\PiwikBundle\Entity\PiwikLanguage $language = null)
    {
        $this->language = $language;

        return $this;
    }
650431
public function setProvincia(\Matudelatower\UbicacionBundle\Entity\Provincia $provincia = null) {
        $this->provincia = $provincia;

        return $this;
    }
962916
protected function setPagerListLanguage()
    {
        $pager = array(
            'query' => $this->query_filter,
            'total' => (int) $this->getListLanguage(true)
        );

        return $this->data_limit = $this->setPager($pager);
    }
159042
@Override
  public final void setLang(final Languages pLang) {
    this.lang = pLang;
    if (this.itsId == null) {
      this.itsId = new IdI18nServiceToSale();
    }
    this.itsId.setLang(this.lang);
  }
10141
public function setLang(\Core\Entity\Language $lang = null)
    {
        $this->lang = $lang;

        return $this;
    }
157177
protected function addLanguageToOntology()
    {
        
        $this->outVerbose("Importing RDF language description '" . $this->options['language'] . "' to ontology...");
        
        // RDF Language Descriptions are stored in the tao meta-extension locales.
        $expectedDescriptionPath = $this->buildLanguagePath('tao', $this->options['language']) . '/lang.rdf';
        
        if (file_exists($expectedDescriptionPath)){
            if (is_readable($expectedDescriptionPath)){
                
                // Let's remove any instance of the language description before inserting the new one.
                $taoNS = 'http://www.tao.lu/Ontologies/TAO.rdf#';
                $expectedLangUri = $taoNS . 'Lang' . $this->options['language'];
                $lgDescription = new core_kernel_classes_Resource($expectedLangUri);
                
                if ($lgDescription->exists()){
                    $lgDescription->delete();
                    $this->outVerbose("Existing RDF Description language '" . $this->options['language'] . "' deleted.");
                }
                
                $generisAdapterRdf = new tao_helpers_data_GenerisAdapterRdf();
                if (true === $generisAdapterRdf->import($expectedDescriptionPath, null, LOCAL_NAMESPACE)){
                    $this->outVerbose("RDF language description '" . $this->options['language'] . "' successfully imported.");
                }else{
                    $this->err("An error occured while importing the RDF language description '" . $this->options['language'] . "'.", true);
                }
                
            }else{
                $this->err("RDF language description (lang.rdf) cannot be read in meta-extension 'tao' for language '" . $this->options['language'] . "'.", true);
            }
        }else{
            $this->err("RDF language description (lang.rdf) not found in meta-extension 'tao' for language '" . $this->options['language'] . "'.", true);
        }
        
        
        $this->outVerbose("RDF language description '" . $this->options['language'] . "' added to ontology.");
        
    }
1107339
public function setLanguage($language = null)
    {
        if (is_null($language)) {
            if (($language = Yii::$app->request->getQueryParam('_lang')) !== null) {
                $this->language = $language;
                Yii::$app->response->cookies->add(new Cookie(['name' => '_lang', 'value' => $language]));
            } else if (($cookie = Yii::$app->request->cookies->get('_lang')) !== null) {
                $this->language = $cookie->value;
            } else if (($language = Yii::$app->request->getPreferredLanguage()) !== null) {
                $this->language = $language;
            }
        } else {
            $this->language = $language;
        }
    }
947761
public function setDeviceDetail(\BlackForest\PiwikBundle\Entity\PiwikDevice $deviceDetail = null)
    {
        $this->deviceDetail = $deviceDetail;

        return $this;
    }
1262010
public function setTwitterTitle($twitterTitle, $locale = null)
    {
        $this->translate($locale, false)->setTwitterTitle($twitterTitle);
        $this->mergeNewTranslations();

        return $this;
    }