Contentstack Connector

Setting Up Your Contentstack Connector

It is important to ensure that languages selected in your Contentstack instance are the same as languages configured in your Contentstack project in Smartling.

This article will walk you through:

Set up Languages in Contentstack

  • Log into your Contentstack account.
  • Click the gear icon and select Languages from the dropdown.
  • Add Languages.
  • Click the add New Language button and choose your target languages.

Connecting Contentstack to Smartling

  1. Create a Contentstack Connector project type in your Smartling Account.
  2. From within this project, click on the gear icon > Project Settings > Contentstack Settings
  3. Under Contentstack Connection, enter your Contentstack API URL, Stack API Key, and Management Token (ensure this token has Read/Write permissions in Contentstack).
    1. You can get the API URL from Contentstack API documentation here.
    2. Follow Contentstack documentation here to generate a management token.
  4. click on Save. Your Contentstack instance will now be connected to your Smartling project.

contentstack-connection.png

Contentstack Connector Configuration

General

You can configure the behavior of the connector when updates are made to your previously translated content.

  1. From within your Smartling Contentstack Project, click on Project Settings > Contentstack Settings.
  2. Click the Automation of Prior Request for Translation dropdown to select your desired behavior.
  3. Click Save.

Automation of Prior Request for Translation

  • Auto: The Contentstack Connector will detect changes to source content every 3 hours. Any changes detected to the source content will be submitted to Smartling for translation, batched into a Job and sit in awaiting authorization. However, if auto-authorize is enabled under Smartling Settings, the updated content will be batched into a Job and automatically authorized for translation. Smartling will not detect net new content, only updates to content that have been submitted for translation in the past.
  • Manual: The Contentstack Connector will detect changes to source content every 3 hours, but will not submit new content for translation. Changed content will be indicated by a checkmark in the Outdated column in the Contentstack Progress (New Experience).
  • Disabled: The Contentstack Connector will not detect changes to source content or automatically submit new changes.

3 hours is the recommended shortest time duration between checks. Talk to your Solutions Architect about changing the frequency to longer wave periods using cron.

Language Configuration 

  1. From within your Smartling Contentstack Project, click on Project Settings > Contentstack Settings.
  2. In the Language Configuration section, you will see the number of target languages in your Smartling project, along with the source language in your Smartling project. These details should match dropdown menus with your Contentstack target languages.
  3. Choose the correct target language from the dropdown menu to map the language in your Contentstack language configuration to your Smartling project target language.
  4. Click Save after mapping each of the target languages.

You cannot map a Smartling language to more than one Contentstack language. 

Configure Content Parsing

When Smartling captures content from Contentstack it may process the fields of an entry based on your configuration settings and may break down the individual fields into even smaller strings for translation. This process makes it easier to produce higher quality translations faster.

Parsing Option

Description

Do not translate

Use this if the field shouldn't be translated using Smartling.

Markdown Parses Markdown tags similar to HTML tags for the best experience by translators and maximum Translation Memory leverage. Use this when your field is likely to have Markdown.
Plain text All text and characters treated as plain text. Use this for fields that you expect to only have plain text with no markup or formatting.
HTML Parses the field's HTML tags for the best experience by translators and maximum Translation Memory leverage.  Use this when your field is likely to have HTML markup in it

 

  1. From your Contentful project, click the gear icon and select Project Settings. Then, on the left side, click Contentful Settings.  
  2. Under Content Parsing, Entries is the default content selection. Click each fields to expand and choose your preferred parsing option.
  3. Click Save.

Smartling Settings

Talk to your Customer Success Manager or Solutions Architect about options on auto-authorization and translation retrieval.

 

Was this article helpful?