<?php
/**
 * Automatic translation handler for DeepL requests.
 *
 * @package WPR_Translate
 */

if ( ! defined( 'ABSPATH' ) ) {
    exit;
}

/**
 * Run automatic translation using DeepL.
 *
 * @param int    $post_id      Post ID.
 * @param string $language     Language code.
 * @param array  $payload      Structured translation payload.
 * @param string $payload_json JSON encoded payload.
 *
 * @return true|WP_Error
 */
function wpr_translate_auto_translate_post_deepl( $post_id, $language, $payload = array(), $payload_json = '' ) {
    // Silence unused variables until the integration is implemented.
    unset( $post_id, $language, $payload, $payload_json );

    return new WP_Error( 'wpr_translate_deepl_not_implemented', __( 'DeepL translation is not implemented yet.', 'wpr-translate' ) );
}
