Your First Translation
Translate your first WooCommerce product in just 5 minutes! This guide walks you through the complete process from start to finish.
Before You Begin
Make sure you have:
- ✅ WooTUI installed (Installation Guide)
- ✅ Gemini API key configured
- ✅ A WooCommerce product CSV export file
Go to WooCommerce → Products → Export in your WordPress admin. Make sure to export all columns and include WPML fields. See Exporting from WooCommerce for detailed instructions.
Step-by-Step Walkthrough
Step 1: Launch WooTUI
Open your terminal and run:
wootui
You'll see the Main Screen with a 6-step wizard. The first step, CSV Path, will be active and ready for input.
Step 2: Select Your CSV File
What you'll see:
- A text input field asking for your CSV path
- Instructions below the input
What to do:
- Type or paste the full path to your WooCommerce export CSV
- Example (macOS):
/Users/yourname/Downloads/woocommerce-products.csv - Example (Windows):
C:\Users\yourname\Downloads\woocommerce-products.csv
- Example (macOS):
- Press
Ctrl+Enter(orCtrl+Jon Windows Terminal) to submit
What happens:
- WooTUI parses your CSV and detects:
- Number of products
- Source language (from WPML columns)
- Available columns for translation
- Existing translations (if any)
You can also drag and drop the CSV file into your terminal to get the full path automatically!
Step 3: Choose Columns to Translate
What you'll see:
- A list of checkboxes for each translatable column
- Some columns are pre-selected by default
Recommended for your first translation:
- ✅ Name - Product title
- ✅ Short Description - Brief product summary
- ✅ Description - Full product description
You can skip:
- ⬜ Attributes (unless you need them translated)
- ⬜ SEO Meta fields (optional for first run)
- ⬜ Tags and Categories
What to do:
- Use
Tabto navigate between checkboxes - Press
SpaceorEnterto toggle selection - Press
Ctrl+Enter(orCtrl+J) when you're done
For your first translation, stick with the basics (Name, Descriptions). You can always run additional translations for attributes and SEO later!
Step 4: Select Target Language(s)
What you'll see:
- A list of supported languages with checkboxes
- An "Override existing translations" option
What to do:
- Select one target language (e.g., Spanish - es)
- Leave "Override existing translations" unchecked for now
- Press
Ctrl+Enter(orCtrl+J)
Override vs Skip:
- Override: Replaces any existing translations for selected products
- Skip (default): Only translates products that don't have translations yet
For your first run, skipping existing translations is safer!
Step 5: Review Costs (Token & Price Estimation)
What you'll see:
- Estimated input tokens
- Estimated output tokens
- Total estimated cost (in USD)
- A breakdown per product
Example:
Products to translate: 10
Estimated tokens: 45,000
Estimated cost: $0.12 USD
What to do:
- Review the estimated cost
- If it looks good, press
Ctrl+Enter(orCtrl+J) to proceed - If it's too high, press
Escto go back and select fewer columns
The free tier of Gemini API is very generous. Most small catalogs (10-50 products) cost less than $1 to translate!
Step 6: Translate!
What you'll see:
- A progress indicator showing translation progress
- Real-time status updates
- Estimated time remaining
What happens:
- WooTUI encodes your products in TOON format (compact AI format)
- Sends batches to the Gemini API
- Receives and decodes translations
- Generates translated CSV with WPML metadata
This may take:
- 5 products: ~30 seconds
- 10 products: ~1 minute
- 50 products: ~3-5 minutes
Don't close the terminal while translation is in progress! If you hit an API rate limit, WooTUI will tell you—just wait a minute and try again.
Step 7: View Results
What you'll see:
- ✅ Success message
- Number of products translated
- Actual token usage and cost
- Output file location
Example:
✅ Translation complete!
Products translated: 10
Tokens used: 42,350
Actual cost: $0.11 USD
Output file:
/Users/yourname/Downloads/woocommerce-products_translated_es.csv
What to do:
- Press
oto open the output folder in your file manager - Or press
Enterto start a new translation
Importing Your Translated CSV
Now that you have a translated CSV, let's import it back into WooCommerce:
1. Go to WooCommerce Import
In your WordPress admin:
- Navigate to WooCommerce → Products → Import
- Click Choose File and select your translated CSV:
woocommerce-products_translated_es.csv
- Click Continue
2. Map Columns
WooCommerce should automatically detect and map columns. Verify that:
- Product names match
Name - Descriptions match
Description - WPML columns are correctly mapped
Click Continue.
3. Import Options
Select:
- ✅ Update existing products (important!)
- Match products by ID or SKU
Click Run the importer.
4. Verify Import
After import completes:
- Go to WPML → WooCommerce Multilingual
- Check that your products now have Spanish translations
- View a product on the frontend and use the language switcher
Troubleshooting Your First Translation
"Failed to parse CSV"
Cause: CSV file is corrupted or not in UTF-8 encoding.
Solution:
- Open the CSV in a text editor (not Excel)
- Save it as UTF-8 encoding
- Make sure all WPML columns are present
See CSV Format Issues for more details.
"API key not configured"
Cause: You haven't set your Gemini API key yet.
Solution:
- Press
sto open Settings - Enter your API key in the first field
- Press
Enterto save - Press
Escto return to Main Screen
"API rate limit exceeded"
Cause: You've hit the free tier rate limit (15 requests/minute).
Solution:
- Wait 1 minute
- Press
Enterto restart the wizard - Try again with the same CSV
- Consider upgrading to a paid API tier if you have large catalogs
See API Rate Limits.
Translations look incorrect or incomplete
Possible causes:
- Not enough context in product descriptions
- Specialized terminology not recognized by AI
- HTML formatting issues
Solutions:
- Review the output CSV before importing
- Manually adjust any problematic translations
- Consider adding more context to source products
- See Translation Quality Tips
What You've Learned
Congratulations! You've successfully:
- ✅ Launched WooTUI and navigated the wizard
- ✅ Selected columns and target languages
- ✅ Reviewed costs before translating
- ✅ Generated a translated CSV with WPML metadata
- ✅ Imported translations back into WooCommerce
Next Steps
Now that you've completed your first translation, explore more advanced features:
Improve Your Workflow:
- Understanding the Interface - Master keyboard navigation
- Basic Product Translation - Best practices and tips
Translate More Content:
- Translating Attributes - Handle product variations
- SEO Meta Translation - Optimize for search engines
Optimize Costs:
- Batch Processing - Configure batch size for large catalogs
- Cost Optimization - Reduce translation expenses
Handle Issues:
- Common Errors - Solutions to frequent problems
- WPML Integration - Deep dive into WPML workflow
Quick Reference
Navigation:
Tab/Shift+Tab- Move between fieldsEnter- Activate/selectCtrl+EnterorCtrl+J- Submit stepEsc- Cancel/go backs- Open Settingsq- Quit
Files:
- Input: Your WooCommerce export CSV
- Output:
[filename]_translated_[language].csv - Location: Default is
~/Downloads(configurable)
Support:
- Report issues: GitHub Issues
- Ask questions: GitHub Discussions
Happy translating! 🚀