You can control context overwrite by marking your site code with Smartling HTML classes. This is especially useful when automating or using context tools, such as Smartling's Content Capture Chrome Extension.
To override context for an entire page:
Add the two classes sl-override-context
and sl-translate
to the page’s HTML tag.
To override context for specific elements on the page:
- Add the
sl-notranslate
class to the HTML tag of the page. - Add the two classes
sl-override-context
andsl-translate
to the elements you want to override context for. Any nested child elements will also be overwritten.