- Enable
tmgmt_smartling_context_debug
module 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-debug
page. 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 needed entities from being contextualized at the provider settings page, by selecting the entities you want to exclude from context.