Methods for Capturing Visual Context

Mobile Context

Smartling’s mobile SDKs include the ability to interactively or automatically generate and upload screenshots of your mobile app to provide visual context for the strings from your resource files. Using this SDK feature makes the process much easier and precise than trying to add the screenshots “manually”. The SDK is directly integrated with your Smartling project eliminating the need to login to the Smartling dashboard to upload screenshots. And because the SDK is integrated in your app the strings are precisely matched - no need to rely on OCR to find the strings. Finally with the option for full automation using standard QA tools, you can have screenshots generated completely automatically instead of someone using the interactively to navigate to all the apps screens then trigger the screenshot generation.

Optimize the Process

You’ll want to create screenshots as soon as you add strings to your resource file and have uploaded the resource files to Smartling. The string must be in Smartling to be associated with the context. The best practice is to upload the resource file, then give the strings visual context, then authorize the strings for translation. You’ll want to coordinate with your colleagues who are managing the translation process in Smartling if you aren’t sure about the timing, process and workflow. Of course you can add context after authorizing but then there is a chance that the translators will begin work without the visual context.

Enable Context Screenshot Feature

Ask your developer to follow the developer documentation for the appropriate SDK to integrate it, turn on the the screenshot feature, and create a build of the app with it turned on.


Generate Screenshots

With the SDK integrated and the feature turned on, you can now start creating screenshots that are uploaded to the configured Smartling project. You can do this interactively with an emulator or by installing the app on device. For the Interactive Mode you’ll need to perform the Smartling specific screenshot gesture (one-finger long press) for iOS. You’ll see a visual indication that the screenshot was taken similar to taking a regular screenshot on the device. This screenshot is automatically sent to the Smartling project as configured by the SDK. If you integrate for full automation you simply execute your automated QA tests.

Review the Results

Login to the Smartling dashboard and go to the project where the screenshots have been uploaded to review the screenshots. You can always clear or update the context using the Smartling dashboard UI.

Was this article helpful?