WooCommerce Integration

Translate your entire WooCommerce store including products, categories, and checkout pages

Installation

Note: WooCommerce integration requires the WordPress plugin to be installed first.

Prerequisites

  • WordPress 5.0 or higher
  • WooCommerce 5.0 or higher
  • CulturalTranslate WordPress Plugin
  • Active CulturalTranslate subscription

Installation Steps

  1. Install and activate the CulturalTranslate WordPress plugin
  2. Go to WooCommerce → Settings → CulturalTranslate
  3. Enable WooCommerce integration
  4. Select which elements to translate (products, categories, attributes, etc.)
  5. Click Save Changes

What Gets Translated

Product Information

Product names, descriptions, short descriptions, and SKUs

Categories & Tags

Product categories, tags, and their descriptions

Product Attributes

Color, size, and custom attributes

Checkout Pages

Cart, checkout, and thank you pages

Email Templates

Order confirmation and shipping notification emails

Bulk Translation

Translate multiple products at once:

  1. Go to Products → All Products
  2. Select the products you want to translate
  3. From the Bulk Actions dropdown, select Translate
  4. Choose your target languages
  5. Click Apply

Pro Tip:

Enable auto-translation to automatically translate new products as they're added to your store.

API Integration

Translate products programmatically using our API:

// Translate a WooCommerce product
$api_key = get_option('culturaltranslate_api_key');
$product_id = 123;
$target_lang = 'ar';

$response = wp_remote_post('https://culturaltranslate.com/api/integrations/wordpress/translate', array(
    'headers' => array(
        'Authorization' => 'Bearer ' . $api_key,
        'Content-Type' => 'application/json'
    ),
    'body' => json_encode(array(
        'post_id' => $product_id,
        'post_type' => 'product',
        'target_language' => $target_lang,
        'site_url' => get_site_url(),
        'translate_meta' => true // Include product meta data
    ))
));

$result = json_decode(wp_remote_retrieve_body($response));
if ($result->success) {
    echo 'Product translated successfully!';
}

Get Started with WooCommerce Translation

Start translating your WooCommerce store today