public function translateAction($packageKey = '', $fromLang = '', $toLang = '') {
		$this->view->assign('packageKey', $packageKey);
		$this->view->assign('languages', explode(',', $this->settings['availableLanguages']));
		$this->view->assign('fromLang', $fromLang);
		$this->view->assign('toLang', $toLang);

		// check if we're ready for the actual translation
		if ($fromLang != '' && $toLang != '') {
			$this->view->assign('readyForTranslating', TRUE);
			$this->view->assign('translationMatrix', $this->generateTranslationMatrix($packageKey, $fromLang, $toLang));
		}
	}
public function translateAction($packageKey = '', $fromLang = '', $toLang = '') {
		$this->view->assign('packageKey', $packageKey);
		$this->view->assign('languages', explode(',', $this->settings['availableLanguages']));
		$this->view->assign('fromLang', $fromLang);
		$this->view->assign('toLang', $toLang);

		// check if we're ready for the actual translation
		if ($fromLang != '' && $toLang != '') {
			$this->view->assign('readyForTranslating', TRUE);
			$this->view->assign('translationMatrix', $this->generateTranslationMatrix($packageKey, $fromLang, $toLang));
		}
	}
public function translateAction ( $ packageKey = '' , $ fromLang = '' , $ toLang = '' ) { $ this -> view -> assign ( 'packageKey' , $ packageKey ) ; $ this -> view -> assign ( 'languages' , explode ( ',' , $ this -> settings [ 'availableLanguages' ] ) ) ; $ this -> view -> assign ( 'fromLang' , $ fromLang ) ; $ this -> view -> assign ( 'toLang' , $ toLang ) ; // check if we're ready for the actual translation if ( $ fromLang != '' && $ toLang != '' ) { $ this -> view -> assign ( 'readyForTranslating' , TRUE ) ; $ this -> view -> assign ( 'translationMatrix' , $ this -> generateTranslationMatrix ( $ packageKey , $ fromLang , $ toLang ) ) ; } }
Renders the form to translate a specific Xliff file from language A to language B

@param string $packageKey
@param string $fromLang
@param string $toLang
Renders the form to translate a specific Xliff file from language A to language B