Configuring the In-Context Preview Feature

You can configure the settings for the In-Context Preview feature. This feature enables those without Sitecore access (such as translators) to preview items for translation as Sitecore would render them.

Note: This feature requires pre-configuration steps to be completed by Lionbridge. Please reach out to connectors@lionbridge.com before filling out any of these settings.

To configure the In-Context Preview feature:
  1. In the Content Editor, in the content tree, navigate to /sitecore/system/Settings/Lionbridge Settings/Lionbridge Connector Settings/.

  2. Click the Lionbridge Connector Settings item to select it and open it in the content area.

  3. Scroll down to the Preview section.

  1. Specify the following settings:

Tip: You can use the parameters listed in the table below this table to configure the URLs.

Setting Description Sample Value
Preview URL The URL that the Content API Preview server uses to access the Sitecore instance and preview the source version of the item sent to translation. Typically this server needs access through your firewall to access the URL and credentials to log into your Sitecore instance. http://yoursitecoreurl/?sc_itemid={id}&sc_mode=preview&sc_lang={lang}
Preview URL for Target Language The URL that the Content API Preview server uses to access the Sitecore instance and preview the target version of the item sent to translation. Typically this server needs access through your firewall to access the URL and credential to log into your Sitecore instance. http://yoursitecoreurl/?sc_itemid={id}&sc_mode=preview&sc_lang={lang}
External Preview URL The URL that enables translators or external reviewers to preview the source item on the Content API Preview server. For instructions on configuring this setting, contact Lionbridge Connector Support, as described in How to Contact Lionbridge Connector Support. https://app.translationproxy.com/_el/ext/preview/source?chunk={chunkid}&lang={lang}
External Preview URL for Target Language The URL that enables translators or external reviewers to preview the target item the Content API Preview server. For instructions on configuring this setting, contact Lionbridge Connector Support, as described in How to Contact Lionbridge Connector Support. https://app.translationproxy.com/_el/ext/preview/target?chunk={chunkid}&lang={targetlang}

You can use the following parameters listed in the table below to configure the URLs described above:

Parameter Description
{id} The identifier of the source Sitecore item sent for translation.
{version} The version of the source Sitecore item sent for translation.
{lang} The source language of the Sitecore item sent for translation.
{targetversion} The version of the translated Sitecore item.
{targetlang} The target language of the translated Sitecore item.
{jobid} The Connector translation job ID.
{chunkid} The globally unique ID generated by the Connector, which identifies each translatable field (chunk) in the XML file generated by Content API.

Note: This parameter is relevant only to the External Preview URL and External Preview URL for Target Language settings, described above.
  1. Click the Save button in the top-left corner to save your changes.