Importing Translations
Import your WooTUI-translated CSV back into WooCommerce to activate translations.
Quick Steps
- WooCommerce → Products → Import
- Choose translated CSV (e.g.,
products_translated_es.csv) - Click "Continue"
- Map columns (usually auto-detected)
- Select "Update existing products" (important!)
- Match by ID or SKU
- Click "Run the importer"
- Wait for import to complete
- Clear cache and verify translations
Import Options (Step 3)
Update Existing Products ✅
REQUIRED - You must enable this!
This tells WooCommerce to update products instead of creating duplicates.
Match Products By
ID (recommended) or SKU
Both work, but ID is more reliable.
Column Mapping (Step 2)
WooCommerce should auto-map most columns. Verify:
Must Be Mapped
ID→ IDName→ NameDescription→ DescriptionShort Description→ Short descriptionMeta: _wpml_import_*→ Custom meta fields
Don't Map
Skip these columns during import:
Published,Featured(would overwrite source products)Images(unless you want to update them)- Any columns you didn't translate
Columns starting with Meta: should map to "Custom meta" or specific field names. WooCommerce usually detects these automatically.
After Import
1. Verify Import Success
Check the import summary:
Updated: 50 products
Skipped: 0
Failed: 0
If products were skipped or failed, review error messages.
2. Clear Caches
After importing:
- WooCommerce cache: WooCommerce → Status → Tools → Clear transients
- WPML cache: WPML → Support → Troubleshooting → Clear cache
- Page cache: If using WP Rocket, W3 Total Cache, etc., clear cache
3. Check Translations in Admin
- Go to Products → All Products
- Find a translated product
- Check language flags (should show source + translations)
- Click flag icon to view translated version
4. Verify on Frontend
- Visit product page
- Switch language using language switcher
- Verify translated content appears
- Check product variations (if applicable)
Common Issues
"Product Already Exists" Error
Problem: Import creates duplicate products instead of updating
Solution:
- Make sure "Update existing products" is enabled
- Verify CSV has ID or SKU column matching existing products
- Choose "Match by ID" or "Match by SKU"
- Re-import
Translations Don't Show on Frontend
Problem: Import succeeded but translations not visible
Solutions:
- Clear all caches (WooCommerce, WPML, site cache)
- Go to WPML → WooCommerce Multilingual → Troubleshooting → Sync products
- Check WPML → Languages to ensure target language is active
- Verify translated products have correct language code in WPML
Attributes Lost After Import
Problem: Variable products become simple products
Solution:
- Re-export products ensuring all
Attribute X Name/Value/Visible/Defaultcolumns are included - Re-translate with WooTUI
- During import, verify attribute columns are mapped correctly
- Import with "Update existing products" enabled
Some Products Not Updated
Problem: Only some products imported successfully
Cause: ID or SKU mismatch between CSV and existing products
Solution:
- Open translated CSV and verify IDs/SKUs match WooCommerce
- Check for typos in SKU column
- Ensure products exist in WooCommerce before importing translations
Best Practices
1. Test with 5-10 Products First
Before importing 500 products:
- Filter CSV to 5-10 products
- Import test batch
- Verify translations work correctly
- Then import full catalog
2. Backup Database Before Import
Create a full site backup before large imports:
# Via plugin: UpdraftPlus, BackupBuddy, etc.
# Or manual: Export database via phpMyAdmin
If something goes wrong, restore and try again.
3. Import During Off-Peak Hours
Large imports can slow your site temporarily. Import when:
- Traffic is low
- You're available to monitor
- You can fix issues immediately
4. Keep Import File for Records
Save imported CSV with date:
products_translated_es_imported_2025-01-20.csv
Helps track what was translated and when.
Next Steps
- Translation Groups - Understand how WPML links translations
- Handling Existing Translations - Update strategies