Exemplo n.º 1
0
 /**
  * Translation View.
  *
  * @return void
  */
 private function translate()
 {
     $this->trans_lang = JFactory::getApplication()->input->get('trans_lang');
     $this->trans_key = JFactory::getApplication()->input->getString('trans_key');
     if ($this->trans_lang != 'en-GB') {
         $this->trans_default = $this->easyLanguage->getTranslation('en-GB', $this->trans_key);
     }
     $this->translation = $this->easyLanguage->getTranslation($this->trans_lang, $this->trans_key);
     $this->setLayout('translator');
 }