public function dn( $domain, $singular, $plural, $number )
	{
		$index = $this->_getPluralIndex( $number, $this->getLocale() );

		try
		{
			foreach( $this->_getTranslations( $domain ) as $content )
			{
				if ( isset( $content[$singular][$index] ) && is_array( $content[$singular] ) ) {
					return $content[$singular][$index];
				}
			}
		}
		catch( Exception $e ) { ; } // no translation found

		if( $index > 0 ) {
			return (string) $plural;
		}

		return (string) $singular;
	}
public function dn( $domain, $singular, $plural, $number )
	{
		$index = $this->_getPluralIndex( $number, $this->getLocale() );

		try
		{
			foreach( $this->_getTranslations( $domain ) as $content )
			{
				if ( isset( $content[$singular][$index] ) && is_array( $content[$singular] ) ) {
					return $content[$singular][$index];
				}
			}
		}
		catch( Exception $e ) { ; } // no translation found

		if( $index > 0 ) {
			return (string) $plural;
		}

		return (string) $singular;
	}
public function dn ( $ domain , $ singular , $ plural , $ number ) { $ index = $ this -> _getPluralIndex ( $ number , $ this -> getLocale ( ) ) ; try { foreach ( $ this -> _getTranslations ( $ domain ) as $ content ) { if ( isset ( $ content [ $ singular ] [ $ index ] ) && is_array ( $ content [ $ singular ] ) ) { return $ content [ $ singular ] [ $ index ] ; } } } catch ( Exception $ e ) { ; } // no translation found if ( $ index > 0 ) { return ( string ) $ plural ; } return ( string ) $ singular ; }
Returns the translated plural by given domain.

@param string $domain Translation domain
@param string $singular String in singular form
@param string $plural String in plural form
@param integer $number Quantity to choose the correct plural form for languages with plural forms
@return string Returns the translated singular or plural form of the string depending on the given number
@throws MW_Translation_Exception If the initialization of the translation
Returns the translated plural by given domain .