kernel/content/ezcontentoperationcollection.php
static public function removeTranslation( $objectID, $languageIDArray )
    {
        $object = eZContentObject::fetch( $objectID );

        foreach( $languageIDArray as $languageID )
        {
            if ( !$object->removeTranslation( $languageID ) )
            {
                eZDebug::writeError( "Object with id $objectID: cannot remove the translation with language id $languageID!",
                                     __METHOD__ );
            }
        }

        eZContentOperationCollection::registerSearchObject( $objectID );

        eZContentCacheManager::clearContentCacheIfNeeded( $objectID );

        return array( 'status' => true );
    }
static public function removeTranslation( $objectID, $languageIDArray )
    {
        $object = eZContentObject::fetch( $objectID );

        foreach( $languageIDArray as $languageID )
        {
            if ( !$object->removeTranslation( $languageID ) )
            {
                eZDebug::writeError( "Object with id $objectID: cannot remove the translation with language id $languageID!",
                                     __METHOD__ );
            }
        }

        eZContentOperationCollection::registerSearchObject( $objectID );

        eZContentCacheManager::clearContentCacheIfNeeded( $objectID );

        return array( 'status' => true );
    }
static public function removeTranslation ( $ objectID , $ languageIDArray ) { $ object = eZContentObject :: fetch ( $ objectID ) ; foreach ( $ languageIDArray as $ languageID ) { if ( ! $ object -> removeTranslation ( $ languageID ) ) { eZDebug :: writeError ( "Object with id $objectID: cannot remove the translation with language id $languageID!" , __METHOD__ ) ; } } eZContentOperationCollection :: registerSearchObject ( $ objectID ) ; eZContentCacheManager :: clearContentCacheIfNeeded ( $ objectID ) ; return array ( 'status' => true ) ; }
Removes a translation for a contentobject

@param int $objectID
@param array
@return array An array with operation status, always true
Removes a translation for a contentobject