Skip to main content

Translating with the Optimizely CMS Connector

The Optimizely CMS Connector supports translation of localizable content across projects, blocks, CMS, and Commerce. Translations are requested from within the Smartling platform, and translated content is automatically sent to your Optimizely instance.

This article will walk you through the following:

Finding content for translation

Once you have connected your Optimizely account, you will find Episerver content in the Episerver tab of your Smartling project.

From the Asset List, you can manage the translation process by sending Episerver content for translation and by exporting translated content back to Optimizely.

Use the Content Type filter to choose which content to translate.

For content types with a hierarchy structure, Smartling will grab all assets one level deep in that structure. If the content type contains a deeper hierarchy, navigate through the assets to reach the one you need.

Request translation

From the Asset List, there are two ways to request translation:

1) Select the asset > Actions > Request Translation. This option also allows you to bulk-select a number of assets for translation.

2) Click the information icon of an asset > Request Translation. This option creates a translation job for the asset individually.

Both options open the Request Translation wizard, where you enter the job details in two steps. You can create a New Job or add the asset to an Existing Job.

  • Enter the Job Name, which is the title for the translation task in Smartling.

  • Make sure the asset selection is correct. Click the X to remove any listed asset.

  • Choose whether to Include Related Assets, meaning block assets contained within the selected asset. This includes related assets one level deep.

  • Choose whether to Include Child Assets, meaning nested assets.

  • Enter a description for the linguists, if desired.

  • Select the Target Languages.

  • Click Save Job and Continue to create the job in Smartling.

Screenshot_2020-09-15_at_18.35.34.png

The second step shows the job processing. When processing is complete, the Authorize Job button turns blue.

Screenshot_2020-09-15_at_19.23.48.png

Click Authorize to set a job due date and choose the workflow for the translation task.

Bulk actions and select all

All actions are now "bulk" actions as any selection to an asset will apply two levels deep in the nesting structure. You must make a selection before you can take any action. You can also take an action on all of the items in a result set without navigating to all of the result pages.

If you have 50 assets or more in any given content type, you can perform a bulk selection to commence a mass translation process. To perform an action on the entire result set:

  1. Select the top checkbox in the table's header row.

  2. Choose Select all matching current filter, which appears after you have selected all items on the page.

Export translations

By default, Episerver content that is translated in Smartling is automatically sent back to Optimizely. If you prefer, you can configure this behavior in your Episerver project settings.

At any time, you can also manually export translations back to Optimizely.

  1. Log in to Smartling.

  2. Go to your Episerver Project > Episerver tab.

  3. Select the asset(s) you want to export > Actions > Export Translations.

Alternatively, click the information icon beside the asset name to open the Asset Details page, then click Export, or Export All if there is more than one language.

Lock translations

If you need to make changes to translated content after translations have been delivered to Optimizely, and you want those changes to persist, you can lock translations.

Typically, all translation updates should be completed in Smartling. Translations should not be added or edited directly in your connected platform, as the connector does not recognize manual changes made there. If translations are updated directly in Optimizely and the language is not locked, those changes will be overwritten the next time the connector delivers translations for that asset.

However, if you have a special use case where locale-specific, non-translatable information must be updated after translation, such as addresses or phone numbers, you can lock translations so that subsequent deliveries do not overwrite the translations in Optimizely.

What a lock does

  • A locked language is skipped when translation is requested, whether you request it manually or an automation such as a daily or scheduled job does.

  • Skipped languages are not sent to Smartling for translation, so they are not billed. The skip is logged.

  • The connector does not overwrite locked translations in Optimizely.

  • A lock applies only to the languages an asset has already been submitted for. If you add a language later, it is not locked automatically.

  • To translate a locked asset again, unlock it first.

Lock or unlock many assets at once

Use the Lock Translations dialog to lock or unlock several assets for one language in a single step.

  1. Go to your Episerver project and open the Episerver tab.

  2. Click Lock Translations in the toolbar at the top right of the results table.

  3. Select the Content type. It defaults to the content type currently shown on the page.

  4. Select the Language. You can work with one language at a time.

  5. Choose Lock or Unlock.

  6. Under Add asset IDs, paste the IDs you want to change, separated by commas or new lines. Each ID must use the format projectId~assetId, for example 4~143_1025 or primary~12.

  7. Review the helper text below the field. It shows how many IDs will be locked or unlocked, how many are duplicates, and how many are invalid. Invalid IDs are skipped.

  8. Click Lock IDs or Unlock IDs, depending on the mode you chose.

    lock-translations-dialog

Review and edit locked IDs

The Locked IDs list shows the IDs that are locked for the selected language, with the total in the heading. From this list you can:

  • Search for an ID.

  • Type an ID and press Enter to lock it.

  • Click the x next to an ID to unlock it.

Changes you make in this list are saved immediately. If a language has a long list of locked IDs, the list shows only the first IDs and displays a notice that some are not shown.

If some IDs fail

The dialog applies the IDs it can and lists any that fail under Errors (n), each with the reason, such as "Submission not found." The most common cause is that an asset can only be locked for a language once its translation is complete. Fix the listed IDs and try again, or click Dismiss errors to clear the list.

Lock or unlock a single asset

  1. Go to your Episerver project and open the Episerver tab.

  2. Find the asset whose translations you want to lock.

  3. Click the info icon next to the asset to open the asset details page.

    info-icon.png
  4. Click Lock next to each language you want to lock. The Lock button is only available for languages with completed translations.

  5. To lock or unlock every language of the asset at once, click Lock / Unlock All.

Click Unlock next to a language to reverse this action.

Handling updates to Episerver content

How your Episerver Connector handles changes made to your source content in Optimizely is configured under changed content behavior within your Episerver project settings.

If you use more than one workflow for the same locale, you can have automatically resubmitted content authorized in the workflow it was previously translated in, instead of the default workflow. For details, see Route auto-resubmitted content to the previously used workflow.

Talk to your Customer Success Manager or Solutions Architect about configuration options for how your Episerver Connector retrieves translated content from Smartling.

Did this answer your question?