function addTranslatedTextAttributeValue( $objectId, $attributeId, $languageId, $text ) {
	$dc = wdGetDataSetContext();
	$translatedTextValueAttributeId = newObjectId( "{$dc}_translated_content_attribute_values" );
	$translatedContentId = newTranslatedContentId();
	
	createTranslatedTextAttributeValue( $translatedTextValueAttributeId, $objectId, $attributeId, $translatedContentId );
	addTranslatedText( $translatedContentId, $languageId, $text );
}
function rollBackTranslatedTextProperty( $rollBackAction, $valueId, $objectId, $attributeId, $translatedContentId, $operation ) {
	if ( shouldRemove( $rollBackAction, $operation ) ) {
		removeTranslatedTextAttributeValue( $valueId );
	}
	elseif ( shouldRestore( $rollBackAction, $operation ) ) {
		createTranslatedTextAttributeValue( $valueId, $objectId, $attributeId, $translatedContentId );
	}
}