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:
Create a glossary file
Declare a glossary to use custom terms or to flag certain parts that you do not want to be translated.
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.
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.
Translate the product content
Go to Catalog > Products. Click the Edit icon beside the product for content translation, and go to Content.
Click Create Revision. If the option is grayed out, publish a revision first.
Click Create Revision > Generate Translation.
The Generate Translation modal displays.
Select the languages for the product content and click Continue. Your translated content displays in the field.
When you are done reviewing the changes, click Save. The translations are saved as new revisions.
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.
Please sign in to leave a comment.