Drupal 8 TMGMT Connector

Drupal 8 TMGMT Set Up Smartling Context Debug Module

  1. Enable tmgmt_smartling_context_debug module at /admin/modules page.
  2. Locate to Smartling provider settings page at /admin/tmgmt/translators/manage/smartling. Set up Username for context retrieval. Generally, it's the admin.
  3. Locate at /admin/tmgmt/smartling-context-debug page. You'll see a context debugger form.
  4. In order to test context, enable Show the context snapshot of the page in a browser. (It will not send context to Smartling, but will show the generated page instead).
  5. Enter the URL of a node into the URL field. For example: http://your.site.alias/en/node/1. Then click Test context.

After these steps, you will see a generated context. If it's just a blank page or a page with “Unauthorized” text, this may be due to a basic auth setup on your web server. Set up basic auth credentials on the Smartling provider settings page. More information about generated context (including request/response headers and bodies) can be found at /admin/reports/dblog.

Was this article helpful?