Field translations

  • Updated

Field translations in Optimizely Configured Commerce translate individual commerce objects fields, such as products, promotions, or categories. You can use the Translate icon or go to Field Translation. Changes in either location link back to the same database table.

Translations can be included as part of an integration job or managed manually.

Use the Translate icon

You can provide a translation when you see the Translate icon in the Admin Console, such as the Category Title.

TranslateIcon.png

Click the Translate icon. A window displays with fields for you to enter the translation for other languages.

TranslationWindow.png

Click Save when finished.

Use Field Translations

Import translations

You can bulk import field translations for use around the site.

  1. Go to Administration > Field Translations.
  2. Click Import.
  3. Select the file to upload.
  4. Edit any Import Options:
    • Validate file before importing – If Yes, the import attempts to import each record individually, record any potential errors, and then remove the record. If any errors are found, they are added to each row in a downloadable file. If no errors are found, the file is imported. Note that dependent and child records all fail on a validation because the parent record does not persist during this function.
    • Ignore blank cells – If Yes, blank cells are not imported and do not overwrite existing data with null values.
    • Update existing records – If Yes, imported records that match existing records update the existing records. If no, the system records an error for any record already existing in the database. This setting is intended to let you import new records only.
    • Ignore modified date – When records are exported, they include the ID and modified timestamp. When they are re-imported with changes, the system checks to see if the record was changed subsequent to the export and, if it was, records an error unless this setting is set to yes. If the modified date is not in the spreadsheet, this setting has no impact.
  5. Click Import.

Import Field Translations screen.png

Manual update

When updating a field translation using the Field Translation screen, note the actual text on the website that needs translation and then, within the Admin Console > Field Translation screen, search for that text. This is further explained in the steps below:

  1. Go to Administration > Field Translations.
  2. Select the Source type.

    SourceType.png

  3. Click the Edit icon beside the data you want to update. If you do not see the record, click More (...> Generate Records. You can toggle on Only Show Missing Translations. You can also change the Search filter to Original Text and search for the desired text.

    As multiple languages may exist, select the record with the desired language.

  4. Enter the translated text in the Translation field. Base Value is the original text.
  5. Click Save.

Delete empty translation records

You can delete empty translation records in the Admin Console as needed.

  1. Go to Administration > Field Translation.
  2. Click More (...) > Delete Empty Records.

DeleteEmptyRecords.png

A notification displays that the Delete Empty Translation Property Job has been scheduled.

ScheduledDeleteEmptyRecords.png