Difference between revisions of "Lingoport InContext Plugin"

From Lingoport Wiki
Jump to: navigation, search
(Supported Resource Types)
Line 37: Line 37:
 
* json
 
* json
 
* po
 
* po
* resx
 
* xml
 
   
 
==Special Instructions for Resx Files==
 
==Special Instructions for Resx Files==

Revision as of 17:51, 24 October 2019

Lingoport InContext Plugin for SDL Trados Studio

This SDL Trados Studio plugin allows translators to see the application context of the text they are translating. The application must have already gone through Lingoport's InContext Translation process, which consists of instrumenting resource files, capturing the context, and storing the context on an InContext Server.

Installing the Plugin

  1. Install SDL Trados Studio: https://www.sdltrados.com/products/trados-studio/free-trial.html
  2. Exit SDL Trados Studio if it is currently running.
  3. Download the Sdl.LingoportInContext.Plugin.sdlplugin from the app store: https://appstore.sdl.com/language/app/lingoport-incontext/1027/
  4. After downloading, click on the downloaded plugin file and follow the install instructions.
  5. Launch SDL Trados Studio.
  6. Verify plugin is there by clicking the Add-Ins tab at the top, then Plug-ins. Verify that Lingoport InContext is in the list and checked.

Accessing the Context

  1. In SDL Trados Studio, select File->Open->Translate Single Document and browse to an instrumented resource file.
  2. OK the Translation Memory and Document Settings popup.
  3. Click on an entry to translate.
  4. If the entry has an associated context, the entry will appear, highlighted, in the Lingoport InContext pane.
  5. If the entry does not have an associated context, a message will appear in the Lingoport InContext pane saying no context found.

For example, in the image below, Payments is being translated, and that entry has associated context:

YesInContext.png


In the image below, Exit Program is being translated, and that entry does not have associated context:

NoInContext.png

Supported Resource Types

This plugin supports the following resource types:

  • properties
  • json
  • po

Special Instructions for Resx Files

SDL Trados Studio must be configured to handle resx files:

  1. Open Trados Studio
  2. Open the File > Options menu
  3. Open the File Types > XML: Microsoft .NET Resources > Parser page
  4. Click the Add... button and enter the following settings:
    • Rule type: XPath
    • XPath: //data/lingoport
    • Translate: Always translatable
    • Tag type: structure
    • Whitespace: Inherit From Parent
    • Click the Edit... button and then Add... a new rule with the following settings:
      • Standard: Custom
      • Purpose: Match
      • Name: Paragraph
      • Code: P
      • Identifier: paragraph
      • Description: A paragraph of text
  5. Click OK multiple times to save the Structure, Property, and Rule
  6. The instrumented resx file can now be imported and used.

Uninstalling the Plugin

  1. Exit SDL Trados Studio if currently running.
  2. Run the program: C:\Program Files (x86)\SDL\SDL plugin installer\Sdl.Community.SdlPluginInstaller.exe
  3. Click the Uninstall button associated with the Lingoport InContext Plugin.