Integrations

Sitecore (TMS)

Content is machine translated from English by Phrase Language AI.

Available for

  • Business and Enterprise plans

Get in touch with Sales for licensing questions.

Sitecore is a web content management service that helps users build and manage websites.

url and other non-translatable attributes in General Links and non-translatable attributes in Image stay unchanged in Sitecore after updating existing translation

Sitecore connector allows the downloading of source content and uploading of translations to/from Sitecore for the following field types:

  • Single-Line Text (and Limited)

  • Rich Text

  • Multi-Line Text (and Limited)

  • HTML

  • Text

  • Name Value List

  • General Link

  • Image

  • Checklist (Referenced items are included in the job if not translated.)

  • Multilist (Referenced items are included in the job if not translated.)

  • Treelist (Referenced items are included in the job if not translated.)

Supported Versions

Sitecore - XP (Experience Platform): 8.2 and higher

Use Cases

There are a number of use cases for the connector:

  • Project managers can add files directly to projects from an online repository.

  • Set up the submitter portal to allow Submitters to add files to requests directly from the online repository.

  • Use automated project creation (APC) to have new projects automatically created when a change in the last modified date is detected for monitored files or a folder.

    • Selected files are imported the very first time APC runs. All files are imported when a folder is monitored.

    • If using automated project creation and the main page to be translated contains sub-items, changes made to those sub-items do not automatically create a new project. These sub-items will need to be translated manually.

Restrictions

  • The Default Language set in the Sitecore server must be the same language as the source language in the Phrase account.

Configure In-Context Preview

The In-context preview feature offers a real-time preview of original or translated text in both the CAT web editor and CAT desktop editor.

Tables, columns, various graphics, formatting, and fonts are supported. The feature is meant to provide context when translating and is not a perfect representation of the original or completed document; some visual differences are expected. It can also be influenced by enabling/disabling Allow loading of external content in editors option in Access and Security settings.

Phrase requirements:

  • Pass through the enterprise firewall to access the on-premise installation.

  • Authenticate into the authoring environment.

Firewall configuration for on-premise installation:

  • Installation must be accessible from the following IP addresses:

    34.243.87.13, 34.248.197.209, 108.129.22.31, 3.248.158.93

  • Domain name must be able to be resolved externally.

Note

Some HTML tags present a risk and the CAT editor removes them from this HTML when displaying the preview. This is to ensure user's data privacy and security.

Examples of removed tags include FORM, IFRAME, SCRIPT, SVG, VIDEO, EMBED, OBJECT or background-image CSS properties.

Sitecore Settings

In order to set up the connector, the Sitecore Administrator must enable SSL and the Rest API.

To enable the Rest API, follow these steps:

  1. In the file {SITECORE_ROOT}Website\App_Config\Include\Sitecore.ItemWebApi.config set itemwebapi.mode and itemwebapi.access:

    <site name="website">
        <patch:attribute name="itemwebapi.mode">StandardSecurity</patch:attribute>
        <patch:attribute name="itemwebapi.access">ReadWrite</patch:attribute>
    </site>
  2. Set the security policies:

    In the file {SITECORE_ROOT}Website\App_Config\Include\Sitecore.Services.Client.config set the value Sitecore.Services.SecurityPolicy to Sitecore.Services.Infrastructure.Web.Http.Security.ServicesOnPolicy, Sitecore.Services.Infrastructure.

  3. Restart the server/service.

  4. Open/sitecore/admin/showconfig.aspx and validate that the configuration was correctly applied:

    • Item REST API enabled: <site name="website" itemwebapi.mode="StandardSecurity" itemwebapi.access="ReadWrite" patch:source="Sitecore.ItemWebApi.config"/>

    • Security policy applied: <setting name="Sitecore.Services.SecurityPolicy" value="Sitecore.Services.Infrastructure.Web.Http.Security.ServicesOnPolicy, Sitecore.Services.Infrastructure" patch:source="Sitecore.Services.Client.config"/>

Access Roles and Permissions

The Sitecore connector does not require specific roles.

Apply these settings:

  • Add Read and Write access rights to items that to be translated.

    For more information, see Sitecore access rights.

  • Add Read access right to items that are parents of items to be translated.

  • Add Read access right to languages items using /System/Languages/**

  • Add Read access right to workflow items using /System/Workflows/**

Phrase TMS Settings

  1. From the Settings Setup_gear.png page, scroll down to the Integrations section.

  2. Click on Connectors.

    The Connectors page opens.

  3. Click New connector.

    The Create connector page opens.

  4. Provide a name for the connection and change the Type to Sitecore .

  5. Enter the Sitecore URL, including the protocol.

  6. Enter the Username and Password.

  7. Select the Source Language.

    Source language must match the default language in Sitecore.

  8. Select the Sitecore Database to connect to. If not using the default database, provide the Custom Database Name.

  9. Click Test connection.

    A checkmark will appear if the connection was successful. A red exclamation point will appear if it wasn't. Hover over the icon to see additional details.

  10. Click Save.

    The connector is added to the list on the Connectors page.

Was this article helpful?

Sorry about that! In what way was it not helpful?

The article didn’t address my problem.
I couldn’t understand the article.
The feature doesn’t do what I need.
Other reason.

Note that feedback is provided anonymously so we aren't able to reply to questions.
If you'd like to ask a question, submit a request to our Support team.
Thank you for your feedback.