- Enable
tmgmt_smartling_context_debugmodule at/admin/modules page. - Go to the Smartling provider settings page at
/admin/tmgmt/translators/manage/smartling. Set up Username for context retrieval. Generally, it's the admin. - Go to
/admin/tmgmt/smartling-context-debugpage. You'll see a context debugger form. - 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).
- Enter the URL of a node into the URL field. For example, http://your.site.alias/en/node/1.
- 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 the generated context (including request/response headers and bodies) can be found at /admin/reports/dblog.
Excluding Context
You can exclude specific entities from being contextualized on the provider settings page by selecting which entities to exclude from context. You can also exclude all bundles or types of a given entity type.