public function readTranslation($module) {
		
		// get the right translation folder
		$file = APPLICATION_PATH . (is_a($module,'Pair\Module') ? '/modules/' . $module->name : '') . '/translations/' . $this->getRepresentation() . '.ini';
		
		// checks that folder exists
		if (file_exists($file)) {
			
			// scans file and gets translation strings
			$strings = parse_ini_file($file);
			return (is_array($strings) ? $strings : array());
			
		} else {
			
			return array();
			
		}
		
	}
public function readTranslation($module) {
		
		// get the right translation folder
		$file = APPLICATION_PATH . (is_a($module,'Pair\Module') ? '/modules/' . $module->name : '') . '/translations/' . $this->getRepresentation() . '.ini';
		
		// checks that folder exists
		if (file_exists($file)) {
			
			// scans file and gets translation strings
			$strings = parse_ini_file($file);
			return (is_array($strings) ? $strings : array());
			
		} else {
			
			return array();
			
		}
		
	}
public function readTranslation ( $ module ) { // get the right translation folder $ file = APPLICATION_PATH . ( is_a ( $ module , 'Pair\Module' ) ? '/modules/' . $ module -> name : '' ) . '/translations/' . $ this -> getRepresentation ( ) . '.ini' ; // checks that folder exists if ( file_exists ( $ file ) ) { // scans file and gets translation strings $ strings = parse_ini_file ( $ file ) ; return ( is_array ( $ strings ) ? $ strings : array ( ) ) ; } else { return array ( ) ; } }
Read all translation strings from a file located into a module.

@param	Module|NULL		Module object or NULL to read the common translation file.

@return	array:string
Read all translation strings from a file located into a module .