Methods for Capturing Visual Context

Screenshots

This article is for Account Owners and Project Managers.

Visual context helps Translators make linguistic, layout, and spacing decisions based on where strings appear in on your website, mobile or desktop application.

For non-web content such as mobile or desktop applications, image files (screenshots) can be uploaded and associated with source strings to provide visual context.

If your content can be viewed in a browser, it may be preferable to capture dynamic context with the JS Context Capture Library, or by using the Chrome Context Capture Extension.

To add screenshots to your content:

  1. Go to Projects > Content > Image Context
  2. Click Upload Files. Drag and drop images/screenshots directly onto the page or browse for files to upload. You can add a single file or multiple files at once. 
    • You can select up to a 100 files with a size limit of no more than 10MB per file.
    • Files are processed one at a time.
  3. Once each file has finished processing, you can click the context file and review the strings that are matched with it.
  4. Click and drag your pointer to select your text / source string.
  5. Type the string in the text box and select the corresponding source string from your content list.

 

 

Smartling uses OCR (Optical Character Recognition) to automatically match text in images to strings in your project. You can review and improve context after the automatic recognition has taken place. Essentially, images just need to be captured and uploaded. 

For OCR to work, make sure your source content (strings) have been uploaded to Smartling before you upload your screenshot.

The Image Context API can be used to automate the upload of context images. Unfortunately, image context is not dynamic, and will not display translated text the same way as HTML context. In other words, if the length of your translated text is longer or shorter than the original text on the site, your translated text won't automatically scale/adjust to the allotted space on the site.

Was this article helpful?