public function installLanguage($languageName)
	{
		$this->amOnPage('administrator/index.php?option=com_installer&view=languages');
		$this->debug('I check for Notices and Warnings');
		$this->checkForPhpNoticesOrWarnings();
		$this->debug('Refreshing languages');
		$this->click(array('xpath' => "//div[@id='toolbar-refresh']/button"));
		$this->waitForElement(array('id' => 'j-main-container'), 30);
		$this->searchForItem($languageName);
		$this->waitForElement($this->searchResultLanguageName($languageName), 30);
		$this->click(array('id' => "cb0"));
		$this->click(array('xpath' => "//div[@id='toolbar-upload']/button"));
		$this->waitForText('was successful.', TIMEOUT, array('id' => 'system-message-container'));
		$this->see('No Matching Results', '.alert-no-items');
		$this->debug($languageName . ' successfully installed');
	}
public function installLanguage($languageName)
	{
		$this->amOnPage('administrator/index.php?option=com_installer&view=languages');
		$this->debug('I check for Notices and Warnings');
		$this->checkForPhpNoticesOrWarnings();
		$this->debug('Refreshing languages');
		$this->click(array('xpath' => "//div[@id='toolbar-refresh']/button"));
		$this->waitForElement(array('id' => 'j-main-container'), 30);
		$this->searchForItem($languageName);
		$this->waitForElement($this->searchResultLanguageName($languageName), 30);
		$this->click(array('id' => "cb0"));
		$this->click(array('xpath' => "//div[@id='toolbar-upload']/button"));
		$this->waitForText('was successful.', TIMEOUT, array('id' => 'system-message-container'));
		$this->see('No Matching Results', '.alert-no-items');
		$this->debug($languageName . ' successfully installed');
	}
public function installLanguage ( $ languageName ) { $ this -> amOnPage ( 'administrator/index.php?option=com_installer&view=languages' ) ; $ this -> debug ( 'I check for Notices and Warnings' ) ; $ this -> checkForPhpNoticesOrWarnings ( ) ; $ this -> debug ( 'Refreshing languages' ) ; $ this -> click ( array ( 'xpath' => "//div[@id='toolbar-refresh']/button" ) ) ; $ this -> waitForElement ( array ( 'id' => 'j-main-container' ) , 30 ) ; $ this -> searchForItem ( $ languageName ) ; $ this -> waitForElement ( $ this -> searchResultLanguageName ( $ languageName ) , 30 ) ; $ this -> click ( array ( 'id' => "cb0" ) ) ; $ this -> click ( array ( 'xpath' => "//div[@id='toolbar-upload']/button" ) ) ; $ this -> waitForText ( 'was successful.' , TIMEOUT , array ( 'id' => 'system-message-container' ) ) ; $ this -> see ( 'No Matching Results' , '.alert-no-items' ) ; $ this -> debug ( $ languageName . ' successfully installed' ) ; }
Function to install a language through the interface

@param   string  $languageName  Name of the language you want to install

@return void
@throws \Exception
Function to install a language through the interface