This article is for Account Owners and Project Managers.
The Smartling Drupal 7 connector allows you to translate Drupal 7 content with context. Translations are requested from within Drupal 7, and translated content is automatically sent back to your Drupal 7 instance.
The connector supports translation of Drupal Nodes (Articles, Pages, etc), Entities, and Taxonomies.
Request Translations
Once you have installed and configured the Drupal 7 connector, you can begin submitting content to Smartling for translation.
If enabled, the Smartling Widget will appear in the bottom right corner for any content that is enabled for translation.
Translate Individual Content
To submit individual Nodes or Fields:
- From within Drupal, edit a Node you would like to translate.
- At the bottom of the Node, click Smartling management tab.
- Select the languages to which you wish to translate.
- Click the Send to Smartling button.
Translate Content in Bulk
To submit multiple pieces of content at once:
- From within Drupal, open the Content menu via the Admin toolbar menu.
- Click the Smartling Bulk Submit tab.
- Select the content you wish to translate.
- Click the Translate button.
- Select the languages to which you wish to translate your content.
- Click Next to submit for translation.
Add Content to a New or Existing Smartling Job
As of the 7.x-4.0 release, the Drupal 7 connector allows you to bucket your content into a new or existing Smartling Job. The Jobs feature helps you group and prioritize content for translation, and monitor the progress throughout completion.
You will need to first create and save your content before being able to access the Smartling Management tab where you can add content to a new or existing job.
- From your Drupal 7 Dashboard, click edit for the content you wish to add to a new job.
- Scroll to the bottom of the page and select the Smartling Management tab. To create a new job, select the Create New Job tab. To add content to an existing job, select Add to Existing Job.
- Enter a job name, description, and due date. (If you are adding content to an existing job, you can update the description and due date.) The job name needs to be unique, and the due date cannot be in the past. Otherwise, you will get a validation error that looks something like this: "Job with name 'demo test job 1' already exists. Please choose another job name. Due date cannot be in the past."
- The Authorize checkbox will already be checked provided that your Account Info has "Content authorization" enabled. (To find your settings, go to Configuration > Regional and language > Smartling settings. On the Account Info tab, scroll to the bottom of the page to see "Content authorization".)
- Select the locale(s) for which you would like your content translated.
- Click Create Job or Add to job.
Additional info about the job, such as its state and a list of files associated with the job, can be found in the Smartling dashboard.
To bulk submit content in a new or existing job, go to Content > Smartling Bulk Submit, select the content, then click Create Job (to add content to a new job) or Add to job (to add content to an existing job).
Track Changes
The Smartling connector continues to handle changes with previously submitted content. Since version 7.x-4.0 works with Smartling Jobs, we package all updated strings into one special job - the daily bucket job (one job per day). This means, if you submitted a node to a Smartling Job, and then, for example, updated the title, the connector creates a new one (or picks up the existing daily bucket job) and sends the updated content to it. The bucket job name looks something like this: "Daily Bucket Job mm/dd/yyyy" or "Daily Bucket Job mm/dd/yyyy hh:mm:ss" if there is a closed/completed bucket job on this day.
Include Visual Context With Your Translation Request
A Visual Context capture tool is built into the Drupal 7 connector, helping linguists get your translations right the first time - reducing translation cost and time to market. Translation content must be sent before context is sent.
To submit context to Smartling:
- From within Drupal, open the Content menu via the Admin toolbar menu.
- Click the Smartling Bulk Submit tab.
- Select the pieces of content for which you wish to send Context.
- Click the Upload Context button.
Don't see the Upload Context button? Verify the context tool has been configured in your Drupal instance.
Check Status
The Smartling connector displays translation progress on the individual Node, Entity, or Taxonomy in Drupal.
To monitor translation progress on all translation requests, use the Smartling Submissions tab in the Smartling connector:
- From within Drupal, open the Content menu via the Admin toolbar menu.
- Click the Smartling Submissions tab.
- Use the filter at the top of the screen to find your translation requests.
Translation progress is displayed as a percent in the Progress column. The overall status of the translation request is listed in the Status column.
If your translation request shows a failed status, you can resubmit the request from the Smartling Submissions tab. Use the Smartling Bulk Submit tab to resend translation requests if multiple submissions fail.
Download Translations
Automatic
The Smartling Connector can be configured to download translated content once it is complete on a schedule defined in your Drupal configuration. Check with your technical team to verify your current download schedule.
Manual
You can download translations manually from the Smartling Submissions tab for any Node, Entity, or Taxonomy by clicking the Download translation button.
You can download translations manually in bulk from the Smartling Submissions tab:
- From within Drupal, edit a Node for which you'd like to download translation.
- Click the Smartling management tab.
- Select the languages you wish to download.
- Click Download Translation.
Handling Updates to Drupal Content
Automatic content resubmission
The Smartling Connector can be configured to automatically resubmit content to Smartling for translation whenever a change is detected in your source content (Advanced Settings > Automatic Content Resubmission).
Manual
If your Automatic content resubmission mode is disabled, you will need to resubmit Drupal content as described above. Only the new Drupal content from an updated Node, Entity, or Taxonomy will be authorized for translation in Smartling.
Locked Fields
For translated content that is final and should never be updated, you can protect these fields using the `Lock translation fields` functionality.