src/Language.php
public function getTranslations($alias) {
		$translations = [];
		foreach ($this->_possible as $possible) {
			if ($this->translationExists($possible, $alias)) {
				$config = $this->getL10n($possible);
				$translations[$possible] = $config['title'];
			}
		}
		return $translations;
	}
public function getTranslations($alias) {
		$translations = [];
		foreach ($this->_possible as $possible) {
			if ($this->translationExists($possible, $alias)) {
				$config = $this->getL10n($possible);
				$translations[$possible] = $config['title'];
			}
		}
		return $translations;
	}
public function getTranslations ( $ alias ) { $ translations = [ ] ; foreach ( $ this -> _possible as $ possible ) { if ( $ this -> translationExists ( $ possible , $ alias ) ) { $ config = $ this -> getL10n ( $ possible ) ; $ translations [ $ possible ] = $ config [ 'title' ] ; } } return $ translations ; }
Checks in which languages the given page alias is available.
@param	string	$alias	A page alias.
@return	`array`	Returns an array where the key is the language key like "en" or "de", and the value is the language title like "English".
Checks in which languages the given page alias is available .