src/Mouf/Utils/I18n/Fine/Translate/FinePHPArrayTranslationService.php
public function getMessageForAllLanguages($key, $lang = null) {
		
		if (!$this->messages) {
			$this->loadAllMessages();
		}
		
		$messageArray = array();
		foreach ($this->messages as $language=>$messageLanguage) {
			if(is_null($lang) || $lang == "")
				$messageArray[$language] = $messageLanguage->getMessage($key);
			elseif($lang == $language)
				$messageArray[$language] = $messageLanguage->getMessage($key);
		}
		return $messageArray;
	}
public function getMessageForAllLanguages($key, $lang = null) {
		
		if (!$this->messages) {
			$this->loadAllMessages();
		}
		
		$messageArray = array();
		foreach ($this->messages as $language=>$messageLanguage) {
			if(is_null($lang) || $lang == "")
				$messageArray[$language] = $messageLanguage->getMessage($key);
			elseif($lang == $language)
				$messageArray[$language] = $messageLanguage->getMessage($key);
		}
		return $messageArray;
	}
public function getMessageForAllLanguages ( $ key , $ lang = null ) { if ( ! $ this -> messages ) { $ this -> loadAllMessages ( ) ; } $ messageArray = array ( ) ; foreach ( $ this -> messages as $ language => $ messageLanguage ) { if ( is_null ( $ lang ) || $ lang == "" ) $ messageArray [ $ language ] = $ messageLanguage -> getMessage ( $ key ) ; elseif ( $ lang == $ language ) $ messageArray [ $ language ] = $ messageLanguage -> getMessage ( $ key ) ; } return $ messageArray ; }
Get the message for language.

@param string $key
@return array<string, string>
Get the message for language .