public function translate( $value )
	{
		switch( $value )
		{
			case \Aimeos\MShop\Common\Item\Address\Base::SALUTATION_MR:
				return 0;
			case \Aimeos\MShop\Common\Item\Address\Base::SALUTATION_MRS:
				return 1;
			case \Aimeos\MShop\Common\Item\Address\Base::SALUTATION_MISS:
				return 2;
			case \Aimeos\MShop\Common\Item\Address\Base::SALUTATION_COMPANY:
				return 10;
		}

		return 99;
	}
public function translate( $value )
	{
		switch( $value )
		{
			case \Aimeos\MShop\Common\Item\Address\Base::SALUTATION_MR:
				return 0;
			case \Aimeos\MShop\Common\Item\Address\Base::SALUTATION_MRS:
				return 1;
			case \Aimeos\MShop\Common\Item\Address\Base::SALUTATION_MISS:
				return 2;
			case \Aimeos\MShop\Common\Item\Address\Base::SALUTATION_COMPANY:
				return 10;
		}

		return 99;
	}
public function translate ( $ value ) { switch ( $ value ) { case \ Aimeos \ MShop \ Common \ Item \ Address \ Base :: SALUTATION_MR : return 0 ; case \ Aimeos \ MShop \ Common \ Item \ Address \ Base :: SALUTATION_MRS : return 1 ; case \ Aimeos \ MShop \ Common \ Item \ Address \ Base :: SALUTATION_MISS : return 2 ; case \ Aimeos \ MShop \ Common \ Item \ Address \ Base :: SALUTATION_COMPANY : return 10 ; } return 99 ; }
Translates the MShop value into its TYPO3 equivalent.

@param string $value Address constant from \Aimeos\MShop\Common\Item\Address\Base
@return integer TYPO3 gender value or 99 if nothing matches
Translates the MShop value into its TYPO3 equivalent .