public function isFileWritable($moduleName) {
		
		$folder = APPLICATION_PATH . ('common'!=$moduleName ? '/modules/' . $moduleName : '') . '/translations';
		$file = $folder . '/' . $this->getRepresentation() . '.ini';
		
		if ((file_exists($file) and is_writable($file)) or (!file_exists($file) and is_dir($folder) and is_writable($folder))) {
			return TRUE;
		} else {
			return FALSE;
		}
		
	}
public function isFileWritable($moduleName) {
		
		$folder = APPLICATION_PATH . ('common'!=$moduleName ? '/modules/' . $moduleName : '') . '/translations';
		$file = $folder . '/' . $this->getRepresentation() . '.ini';
		
		if ((file_exists($file) and is_writable($file)) or (!file_exists($file) and is_dir($folder) and is_writable($folder))) {
			return TRUE;
		} else {
			return FALSE;
		}
		
	}
public function isFileWritable ( $ moduleName ) { $ folder = APPLICATION_PATH . ( 'common' != $ moduleName ? '/modules/' . $ moduleName : '' ) . '/translations' ; $ file = $ folder . '/' . $ this -> getRepresentation ( ) . '.ini' ; if ( ( file_exists ( $ file ) and is_writable ( $ file ) ) or ( ! file_exists ( $ file ) and is_dir ( $ folder ) and is_writable ( $ folder ) ) ) { return TRUE ; } else { return FALSE ; } }
Returns TRUE if translation file of passed module is writable.

@param	string	Module name.

@return	bool
Returns TRUE if translation file of passed module is writable .