Translate product content

  • Updated

This feature is currently in beta. Contact your Customer Success Manager or sign up for the beta on Optimizely.com.

You can auto-translate product content in Optimizely Configured Commerce using Google's advanced Translations API. This feature lets you translate all text in the Product Content field for your configured languages.

Follow these steps to translate product content:

  1. Create a glossary file.
  2. Check your saved languages.
  3. Translate product content.

Create a glossary file

Declare a glossary to use custom terms or to flag certain parts that you do not want to be translated. 

Glossary.png

Go to Administration > Glossary. The Glossary screen displays where you can upload a glossary. You can also download a sample template as a CSV file. 

For each row, you can declare certain terms that override the Google Translations API logic. For example, you can identify "One" as a term that it should not translate. Put "One" in the subsequent columns so that the translated content returns "One" instead of "Uno" for Spanish.

ExampleOverride.png

Your language code must follow ISO-639 standards to be accepted by the Google Translations API. See Language support by Google Cloud.

Check your saved languages

Go to Administration > Languages. Confirm that you have set up the languages and that they match the languages you declared in the Glossary.

Languages.png

Translate the product content

Multiple products

You must have Opti ID to use this feature.

You can bulk translate products to save time and improve your workflow efficiency.

  1. Go to Catalog > Products in the Admin Console.
  2. Select the checkbox beside the products you want to translate.
    Select products.png
  3. Click Translate. The Export Translation dialog displays.
    Export Translation dialog.png
  4. Select the Language to translate to. You can select multiple.
  5. (Optional) Choose whether to include All Translatable Properties or Custom properties. All Translatable Properties is selected by default. If you choose Custom, use the checkboxes to select which properties to translate.
  6. Click Continue. The Admin Console redirects you to the export job page. You can go to other parts of the Admin Console while the job finishes. The system sends you a notification when the file is ready for download. The downloaded file matches the field translations import format.
  7. Follow the steps to import the field translations.

One product

  1. Go to Catalog > Products. Click the Edit icon beside the product for content translation, and go to Content.
  2. Click Create Revision. If the option is grayed out, publish a revision first.

    CreateRevision_Translation.png

  3. Click Create Revision > Generate Translation.

    GenerateTranslation.png

    The Generate Translation modal displays.

    GenerateTranslationModal.png

  4. Select the languages for the product content and click Continue<>. Your translated content displays in the field.

    TranslatedContent.png

    When you are done reviewing the changes, click Save. The translations are saved as new revisions.

Always check the output to see if it translated correctly. AI can be a great assistant to get you started, but it can also make mistakes. If you need to re-translate content with AI, run the translation again

Troubleshoot

I do not have any custom terms or terms I want to exclude from translation. Do I still have to use the glossary?

No, you can translate product content without uploading a glossary. 

Can I translate AI-generated content?

Yes, you can translate any content in the Product Content field.

I uploaded a glossary file, but it disappeared when I went to another screen and came back.

The glossary is still in the system. During the beta, you cannot download the uploaded glossary. Save a local copy of your glossary until the feature is fully released.

How do I update the glossary values?

You can add more terms by including them in the file and re-uploading them. Ensure to include your previous terms if you want to retain them. If you want to delete glossary terms, delete the values from the previous file or do not include them in the new file.