Wednesday, January 28, 2015

Xliff Previewer Version 1.1.1.0 Released

I have released version 1.1.1.0 of Xliff Previewer.
http://translator-banks.blogspot.jp/2014/08/xliff-previewer.html
This version has undergone several improvements. The biggest one is that Xliff Previewer now supports vanilla xliff files (*.xlf/*.xliff). Xliff files are generated by many different CAT tools and may come with slightly different structures of <trans-unit> elements. Xliff Previewer can process the following patterns of <trans-unit> elements:
Pattern 1
Source text in the <source> element is divided into segments (<mrk> elements) under <seg-source> and their translations are stored in <target> elements.
<trans-unit id="tu1" xml:space="preserve">
   <source xml:lang="en-us">This is sentence 1. This is sentence 2.</source>
   <seg-source>
      <mrk mid="0" mtype="seg">This is sentence 1.</mrk>
      <mrk mid="1" mtype="seg">This is sentence 2.</mrk>
   </seg-source>
   <target state="translated" xml:lang="de-de">
      <mrk mid="0" mtype="seg">Das ist Satz 1.</mrk>
      <mrk mid="1" mtype="seg">Das ist Satz 2.</mrk>
   </target>
</trans-unit>

Pattern 2
The <trans-unit> element has no <seg-source> element and has only a pair of <source> and <target> elements.
<trans-unit id="tu1" xml:space="preserve">
   <source xml:lang="en-us">This is sentence 1. This is sentence 2.</source>
   <target state="translated" xml:lang="de-de">Das ist Satz 1. Das ist Satz 1.</target>
</trans-unit>

Another enhancement implemented in the latest version of Xliff Previewer is keyboard shortcuts for the filter buttons. The following keys are assigned as a shortcut to each button:
- Ctrl+K to set the focus in the search text box.
- F1 to enable/disable the Look in source option.
- F2 to enable/disable the Look in target option.
- F3 to enable/disable the Use regex option.
- F4 to enable/disable the Show only segments with comments option.
- ESC to clear the filter.
- With the focus in the search text box, press Enter to apply the filter.

image

Wednesday, January 7, 2015

Comment View Plugin (plug-in for Trados Studio 2014/2015/2017/2019)

Overview

Comment View Plugin adds a comment list pane to Files View of Trados Studio 2014/2015/2017/2019, enabling you to quickly find comments included in the selected files. You can also jump to the associated segment on Editor View by double-clicking the corresponding record in the comment list.
2015-01-07_010331
2015-01-07_010351

Release notes

  • Version 1.0 released (January 7, 2015)
  • Version 1.1 released with the following improvements (January 28, 2015)
    - Bug fix: Removed the bug that occurred when translation files were not checked out in GroupShare projects.
  • Version 1.2 released with the following improvements (June 7, 2015)
    - Bug fix: Source segment comments were not displayed when the source file was xliff.
  • Version 1.2 for Trados Studio 2015 released (July 23, 2015)

Download

Comment View Plugin version 1.2 for Trados Studio 2014 (zip file)
Comment View Plugin version 1.2 for Trados Studio 2015/2017/2019

Operating requirements

- Trados Studio 2014/2015/2017/2019

Other translation tools you might find useful…

Thursday, November 20, 2014

QuickTmExportImport (App for Trados Studio 2014)

Overview

QuickTmExportImport allows you to quickly export sdltm to tmx or import sdlxliff/ttx/tmx/itd into new sdltm files via drag-and-drop or context menu on Windows Explorer.

2014-11-20_0942552014-11-20_1033532014-11-20_105140

Release notes

  • Version 1.0.1.0 released (November 26, 2014)

Operating requirements

- Trados Studio 2014

Download

QuickTmExportImport version 1.0.1.0 (zip file)QuickTmExportImport version 1.0.1.0 (zip file)
*If you are using Chrome, it may block the file from being downloaded. If that happens, use a different browser or disable blocking temporarily before downloading the file.

Installation

Double-click the installer and follow the instructions provided to finish installing the application.
When the installation is complete, shortcuts are created on your desktop and in the Send to menu of Windows Explorer.
2014-11-20_094255

Using QuickTmExportImport

To import sdlxliff/ttx/tmx/itd into sdltm:

  1. Select sdlxliff/ttx/tmx/itd files from which you want to create sdltm.
  2. Show the context menu and select Send to > QuickTmExportImport.exe. Alternatively, drag the files onto the application’s icon on the desktop.
    2014-11-20_094803
    The command-line interface is displayed, showing the progress of sdltm creation.
    2014-11-20_101909
    When the operation is complete, sdltm files are created with the same names as those of the selected files.
    2014-11-20_103353

To export sdltm to tmx:

  1. Select sdltm files to export.
  2. Show the context menu and select Send to > QuickTmExportImport.exe. Alternatively, drag the files onto the application’s icon on the desktop.
    2014-11-20_104729
    The command-line interface is displayed, showing the progress of tmx creation.
    When the operation is complete, tmx files are created with the same names as those of the selected files.
    2014-11-20_105140

To change export/import settings:

  1. Double-click the application’s icon on your desktop or select QuickTmExportImport.exe from Start menu.
    2014-11-20_110048
  2. In the command-line interface that appears, respond to a series of prompts by entering appropriate values.
    The value inside the square brackets [ ] indicates the current setting.
    2014-11-20_111243

Other translation tools you might find useful…

Tuesday, November 4, 2014

SegmentSearcher (plug-in for Trados Studio 2014-2019)

Overview

SegmentSearcher is a Trados Studio 2014/2015 plug-in that enables you to search through the documents opened in the Studio editor and list the matched segments in a nicely formatted html table.

Release notes

  • Version 1.1 released (November 13, 2014)
  • Version 1.1 for Trados Studio 2015 released (July 23, 2015)
  • Version 1.3 for Trados Studio 2017/2019 released (April 24, 2019)

Download

SegmentSearcher version 1.1 for Trados Studio 2014 (zip file)
SegmentSearcher version 1.1 for Trados Studio 2015 (zip file)
SegmentSearcher version 1.3 for Trados Studio 2017/2019 (hosted on SDL AppStore)
*If you are using Chrome, it may block the file from being downloaded. If that happens, use a different browser or disable blocking temporarily before downloading the file.

Operating requirements

- Trados Studio 2014/2015/2017/2019

Installation

1. Double-click the installer and follow the instructions provided to finish installing the plug-in.
2. Start Trados Studio 2014/2015.
3. Open one or more sdlxliff documents to translate.
4. On the ribbon interface, select View –> SegmentSearcher.
2014-11-04_191607
The SegmentSearcher view appears at the bottom of the Studio’s editor.

Using SegmentSearcher

1. Type the text to search for in the Find what field.
2. Select the In source or In target check box.
3. Press Enter or click the Search button to start searching.
2014-11-04_194805

Tips

- Search for the selected text
Right-click the text selected on the editor and choose Search by SegmentSearcher from the context menu (or just press Alt + F10).
2014-11-04_195824
- Jump to the corresponding segment / Return to the segment where you executed the searchEach record in the search results contains a clickable segment ID that you can use to jump to the corresponding segment on the editor.
You can also return to the segment where you executed the search, simply by clicking the Return button.
 2014-11-04_201508

Other translation tools you might find useful…

Regex Match AutoSuggest Provider (plug-in for Trados Studio 2014/2015/2017/2019)

Overview

Regex Match AutoSuggest Provider is a Trados Studio 2014-2019 plug-in that enables you to show AutoSuggest entries that match regular expressions specified. With this plug-in, you can, for example, enter a word or phrase that does not need to be translated, such as a model number or serial number, by selecting the regex-matched suggestion from AutoSuggest.

Release notes

  • Version 1.0 released (November 13, 2014)
  • Version 1.1 released (November 18, 2014) with the following improvements:
    - Added a small pop-up window (Ctrl+Shift+F12) to show all the evaluated suggestions.
    - Eliminated the need to move the active segment after adding regex entries.
  • Version 1.2 released (November 18, 2014) with the following improvements:
    - Fixed the bug of showing wrong suggestions in some cases when the active segment has been moved.
  • Version 1.4 released (December 17, 2014) with the following improvements:
    - A few bug fixes
    - Supports the use of variables in regex patterns
  • Version 1.4 for Trados Studio 2015 released (July 23, 2015)
  • CU5 for Trados Studio 2017 fixed the problem that the plugin failed to recognize numbers. (May 6, 2017)
  • The plugin is now hosted on (can be downloaded from) SDL AppStore. (May 6, 2017)

Download

Regex Match AutoSuggest Provider version 1.4 for Trados Studio 2014-2019

Brief description of how to use Regex Match AutoSuggest Provider by Paul Filkin


Installation

  1. Double-click the installer and follow the instructions provided to finish installing the plug-in.
  2. Start Trados Studio.
  3. Open an sdlxliff document to translate.
  4. On the ribbon interface, select View –> Regex Match AutoSuggest Provider.
2014-11-04_215700
The Regex Match AutoSuggest Provider view appears at the bottom of the Studio’s editor.

Using Regex Match AutoSuggest Provider

  1. Select the Enabled check box and enter Description (optional), Regex Pattern, and Replace Pattern in their respective fields.
  2. Type the first letter of the word matched to show AutoSuggest entries.
2014-11-04_223411

Using variables

The version 1.4 or higher of the plugin supports the use of variables in regex patterns. A variable represents several pairs of source and target values defined in the Variables tab.
*The name of a variable cannot contain any symbols except _ (underscore) and cannot start with a number (0 to 9).
1
To use a variable in a regex pattern, enclose the variable name with # (number sign). In the following screenshot, the variable name Month is enclosed with #. In addition, remember to enclose it with parentheses when you want to reference it in the Replace Pattern field.
Currently, one regex pattern can only contain one variable.
2

Showing all the evaluated suggestions in a pop-up window

You can also list the suggestions in a small pop-up window by pressing Ctrl+Shift+F12. Press the Up/Down key or use the mouse to select a suggestion.
2014-11-18_071209

If you cannot see checkboxes under the "Enabled" column...


Other translation tools you might find useful…

Wednesday, August 20, 2014

Xliff Previewer

Overview

Xliff Previewer allows you to quickly view the contents of standard xliff files, sdlxliff (Trados Studio xliff), and mxliff (MemSource xliff) as well as ttx (Trados TagDocument) and tmx (translation memory exchange format) from context menu (right-click menu) on Windows Explorer.

Screen captures

image image

Release notes

  • Version 1.1.1.0 released with the following improvements (January 27, 2015)
    - Support of standard xliff files (*.xlf/*.xliff)
    - Added keyboard shortcuts for the filter buttons (Move the mouse pointer over the buttons to see their associated keyboard shortcuts.)
  • Version 1.0.1.0 released with the following improvements (August 21, 2014)
    - Bug fix: Comments could not be extracted from sdlxliff files generated by Trados Studio 2011.
    - About box has been added.
  • Version 1.0.0.0 released (August 20, 2014)

Download

Download_48x48Xliff Previewer ver. 1.1.1.0 (zip file)
*If you are using Chrome, it may block the file from being downloaded. If that happens, use a different browser or disable blocking temporarily before downloading the file.

I would be grateful if you would leave a comment about:
- what you think about the application
- feature requests
- bug reports

Operating environment

- .NET Framework 4.0

Other translation tools you might find useful…

Tuesday, April 1, 2014

Word-wrapping text columns in DataGrid

image 
Just word-wrapping DataGridTextColumns in DataGrid sounds straightforward, but you have to use a few tricks…

<DataGrid ItemsSource="{Binding Source={StaticResource DataProvider}, XPath=transunit}" AutoGenerateColumns="False">
<DataGrid.Columns>
<DataGridTextColumn Width="Auto" Binding="{Binding XPath=@id}" Header="ID"/>
<DataGridTextColumn Width="*" Binding="{Binding XPath=source}" Header="Source">
<DataGridTextColumn.ElementStyle>
<Style TargetType="TextBlock">
<Setter Property="TextWrapping" Value="Wrap"/>
</Style>
</DataGridTextColumn.ElementStyle>
</DataGridTextColumn>
<DataGridTextColumn Width="*" Binding="{Binding XPath=target}" Header="Target">
<DataGridTextColumn.ElementStyle>
<Style TargetType="TextBlock">
<Setter Property="TextWrapping" Value="Wrap"/>
</Style>
</DataGridTextColumn.ElementStyle>
</DataGridTextColumn>
</DataGrid.Columns>
</DataGrid>

Add DataGridTextColumn.ElementStyle to the columns to be word-wrapped. Each Style and Setter child element needs to be configured as TargetType="TextBlock", Property="TextWrapping", and Value="Wrap". You also have to specify Width="*" or an explicit value in DataGridTextColumn so that the horizontal scrollbar will be disabled in DataGrid.


Link to source code: WordWrapTextColumnDemo