protected function _getLocalizedQuestion($value, $yes, $locale)
    {
        if ($yes == true) {
            $question = 'yes';
            $return   = true;
        } else {
            $question = 'no';
            $return   = false;
        }
        $str = Zend_Locale::getTranslation($question, 'question', $locale);
        $str = explode(':', $str);
        if (!empty($str)) {
            foreach($str as $no) {
                if (($no == $value) || (strtolower($no) == strtolower($value))) {
                    return $return;
                }
            }
        }
    }
protected function _getLocalizedQuestion($value, $yes, $locale)
    {
        if ($yes == true) {
            $question = 'yes';
            $return   = true;
        } else {
            $question = 'no';
            $return   = false;
        }
        $str = Zend_Locale::getTranslation($question, 'question', $locale);
        $str = explode(':', $str);
        if (!empty($str)) {
            foreach($str as $no) {
                if (($no == $value) || (strtolower($no) == strtolower($value))) {
                    return $return;
                }
            }
        }
    }
protected function _getLocalizedQuestion ( $ value , $ yes , $ locale ) { if ( $ yes == true ) { $ question = 'yes' ; $ return = true ; } else { $ question = 'no' ; $ return = false ; } $ str = Zend_Locale :: getTranslation ( $ question , 'question' , $ locale ) ; $ str = explode ( ':' , $ str ) ; if ( ! empty ( $ str ) ) { foreach ( $ str as $ no ) { if ( ( $ no == $ value ) || ( strtolower ( $ no ) == strtolower ( $ value ) ) ) { return $ return ; } } } }
Determine the value of a localized string, and compare it to a given value

@param  string $value
@param  boolean $yes
@param  array $locale
@return boolean
Determine the value of a localized string and compare it to a given value