Connectors

Sitecore Connector

Sitecore is a web content management service that helps users build and manage their websites. Using this connector, you'll be able to import specific fields into Memsource for translation either by using Automatic Project Creation or by importing content manually.

Supported Field Types (Translatable by Memsource):

Memsource supports the following Sitecore field types:

  • Single-Line Text
  • Rich Text
  • Multi-Line Text
  • 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.)

Note: The Default Language set in your Sitecore server has to be the same language as the source language in your Memsource account.

Set up the Connector in Sitecore

In order to set up the connector, you'll need to have your Sitecore Administrator enable SSL and enable Rest API.

To enable Rest API, you'll need to do the following:

In the file {SITECORE_ROOT}Website\App_Config\Include\Sitecore.ItemWebApi.config (e.g.: C:\inetpub\wwwroot\SiteCore\Website\App_Config\Include\Sitecore.ItemWebApi.config) set itemwebapi.mode and itemwebapi.access.

After this, restart the server/service:

<site name="website">
    <patch:attribute name="itemwebapi.mode">StandardSecurity</patch:attribute>
    <patch:attribute name="itemwebapi.access">ReadWrite</patch:attribute>
    <patch:attribute name="itemwebapi.allowanonymousaccess">false</patch:attribute>
</site>

After setting up the Rest API, you'll need to set the security policies. You'll do this in the following way:

In the file C:\inetpub\wwwroot\SiteCore\Website\App_Config\Include\Sitecore.Services.Client.config

set the value Sitecore.Services.SecurityPolicy

from Sitecore.Services.Infrastructure.Web.Http.Security.ServicesLocalOnlyPolicy, Sitecore.Services.Infrastructure

to Sitecore.Services.Infrastructure.Web.Http.Security.ServicesOnPolicy, Sitecore.Services.Infrastructure.

Once you've done this, log in to Memsource.

Set up the Connector in Memsource

In Memsource, navigate to Setup and scroll down to the Integrations section. Click on Connectors. After clicking on New, you can choose the connector you wish to create. Give it a name and change the Type to Sitecore. 

mceclip0.png

In the Sitecore URL field, enter the URL you see at the top of the page when you log into Sitecore. Enter your Sitecore user name and Sitecore password in the User name and Password fields, respectively. Then, change the source language. Remember that this has to be the same as the Default language in your Sitecore account.

Click on Test connection. If you've entered your information correctly, you will see a small checkmark appear next to the Test connection button. Then, click Save.

When using the Sitecore connector, if you are also setting up Automatic Project Creation, please note whether or not the main page you're translating has sub-items. If it does have sub-items, and changes are made to those sub-items, a new project will not automatically be created. Instead, you will have to translate those items manually. 

Access Roles and Permissions

When using the Sitecore connector, there is no need to have specific roles. Instead, it should be enough to do the following:

  • Add Read and Write access rights to items that you want to translate. (See Sitecore's information on access rights for more information.)
  • Add Read access right to items that are parents of items that you want to translate.
  • Add Read access right to languages items using /System/Languages/**
  • Add Read access right to workflow items using /System/Workflows/**