Inserting tags in Studio 2009/2011

Dealing with formatting tags has always left a something to be desired in CAT tools. Studio made this process slightly easier in the 2009/2011 versions, although still no hassle free.

Here’s how you can add tags to the target segments:

1) Copy source to target (Ctrl+Ins)

19-01-2013 21-18-35

In cases like this, I would rather copy the source text to the target segment with a shortcut and then translate between the tags, shifting them around (Ctrl + C/Ctrl + V) if need be. You can also copy/paste tags from the source to the target segment.


2) Use QuickPlace (Ctrl+Alt+Down)

19-01-2013 22-29-49

This will open a dropdown menu with a list of tags available in the segment. As you scroll down, the corresponding source tag will be highlighted.


3) Ctrl + Click on a tag

This method is great. Highlight the target text to be encapsulated by tags, then keep the Ctrl key pressed and click in the corresponding source tag; it will display automatically in the target segment at the right location.

Shortcut Monday!

Microsoft Outlook

  • Ctrl + N or  Ctrl + Shift + M Create a new e-mail message
  • Ctrl + 2 Switch to Calendar view
  • Ctrl + Shift + I Switch to Inbox view
  • Alt + S Save, Close and Send an e-mail message
  • Ctrl + N Reply to a message
  • Ctrl + Shift + R Reply all to a message
  • Ctrl + Q Mark message as read
  • Ctrl + M or F9  Check for new mail
  • F3 or Ctrl + E Find items
  • F4 Search for text in items

Backing up your data

Computers aren’t perfect. Files get corrupt, hard drives crash, motherboards malfunction, CPUs call it a day without notice, taking our precious localization data with them. Can you image losing your Translation and Terminology databases which took you years to perfect? Yet, you would find it quite surprising that most people don’t have a comprehensive backup solution in place.

Windows’ Backup and Restore feature (in W7: Control Panel\All Control Panel Items\Backup and Restore) works to a certain extent, allowing you to create safety copies of your most important personal files or a system image, an exact copy of your system which you can use to recover your machine from a serious malfunction.

However, this process is lacking somehow since you are essentially storing your data on another hard drive which is equally subject to malfunctions. Not to mention that, in case of a fire, flood or hurricane, or if your house gets mugged, your entire computer would be gone in an instant, backup copies included.

About three years ago, I was persuaded into having my files stored off-site. I then spent a few weeks reading reviews of different suppliers and ended up settling on Crashplan. In addition to being able to back up your files to an external drive, the paid version of the software will allow you to upload them to the company’s servers in the US. This tool has a central interface with the status of your backups and how many files are queued up. By default, the software gathers up key personal files but you can manually add any file type to the backup, including system files.

13-01-2013 21-07-53

After its initial backup, CrashPlan continually looks for changes in your system’s files in the background without any disruption whatsoever to your work. By default, the system will back up every 15 minutes, but that interval can be changed.

The initial backup can be pain point. It took me around 3 months to upload around 300 GB of data but in the hindsight it was worthwhile. The beauty of it is that I can not only access different versions of my backed up files but also retrieve them anywhere in the world via the on-line interface.

Aside from a few minor technical glitches here and there (promptly addressed by their customer support), I have nothing to complain about. Pricewise, Crashplan will set you back $60.00 per year ($190 for 4 years).

There are plenty of other solutions in the market, so have a look around and see which one suits you best. The bottom-line is back up, back up, back up. Better safe than sorry.

Blocking internet ads and malware with Adblock Plus

As linguists, we spend a considerable share of out time doing research on the web. Ads and pop-ups can be extremely distracting but there other more serious threats to your machine that normally lie under cover. Ransomware and scamware, for example, take over your computer and threaten to eliminate your files if you don’t pay up. The malware then starts erasing your files if you don’t provide a hefty bribe to some account that they provide.

12-01-2013 20-59-22

They use phony messages to fool you into clicking links on pop-ups, which are triggered by rogue JavaScript present on websites you visit. Well-known legitimate sites have had these scripts incorporated on them as advertising. Once your computer gets infected, you will have a hard time getting rid of the malware, letting alone recovering your files if you don’t have a backup system in place.

It’s not until very recently that I became aware of Adblock Plus, a free extension for Firefox and Chrome, which allows you to block internet ads, pop-ups, unwanted images and, generally speaking, most incarnations of malware. The extension is supported by over 40 filter subscriptions in dozens of languages which automatically configure it for purposes ranging from removing on-line advertising to blocking all known malware domains. Adblock Plus also allows you to customize your filters with the assistance of a variety of useful features, including a context option for images, a block tab for Flash and Java objects, and a list of blockable items to remove scripts and stylesheets.

12-01-2013 20-56-41

I confess that at the beginning it felt rather unorthodox browsing the web without ads, but I’m definitely loving it now.

Converting a TMX file to Excel/TXT

Sometimes it may be useful to re-purpose the contents of a TMX file in MS Excel, Word or other applications (say you want to perform a thorough spellcheck or combine the content of the TMX with other bilingual date you may have.

To do so, proceed as follows:

1.  Download, install and launch Oliphant

2. In Oliphant, press Ctrl+O and locate your TMX file

3. Go to File > Export and select Wordfast file (.txt) from the Save as type options

4. Set the export parameters accordingly

06-01-2013 21-43-19

5. Copy the contents of the .txt file into Excel.

If you then need to recreate a TMX file from your export, check out my earlier post.

ApSIC Xbench – Converting files to TMX or TXT

ApSIC Xbench is a free QA tool that allows localization professionals to perform many checks typically available on full-fledged CAT/TEnT environments. One of the lesser-known features, however, is the ability to convert the main proprietary and open-source translation file formats to a TMX or a plain text file for further processing.

Here’s how you do it:

1. Download ApSIC Xbench

2. Select Project > New

3. Select a file type from the list and click on Add

06-01-2013 18-38-55

4. Locate the file on your machine and hit Next

5. Then go to the Tools menu and select Export Items

6. Tick the relevant boxes in the Filtering Section. Under Output choose TMX or TXT as the export file type and select the location of the export file. If you are exporting to TMX, you will also need to specify the source and target language pairs.

06-01-2013 18-51-30

By the way, the tool also accepts SDLXLIFF files, so you could, for example, grab a bunch of these files, convert them to TMX and import them back to your main TM. To do so, in Step 3 above you would select XLIFF file, hit Next and then under Files of type choose All files (.*) under the dropdown menu.

Comparing Excel files

Even though Excel boasts a decent track changes feature (in Excel 2007-2010, it sits under the Review tab, and then Track Changes > Highlight Changes), we are still missing a Compare Document tool as in Word.

Spreadsheet Compare is a free Excel plug-in that allows you to perform cell based comparisons between two workbooks. The differences will be highlighted in yellow, like so:

 highlight

The tool also allows you to automatically generate a very handy track-changes report:

 report

After installing the plug-in from the link above, proceed as follows:

  1. Open the Workbook or Workbooks to be compared.
  2. Start Spreadsheet Compare.
  3. On the ‘Select two spreadsheets to be compared’ form, select the Workbook(s) to be compared. To compare two worksheets within the same workbook, select that workbook in both drop down list. Click next.
  4. On the ‘Processing Options’ form, select the processing options that you want:
    1. Start Row – Starts the compare from a particular row (useful when running long compares that have failed because of a mis-match).
    2. Delete Change Column – Self explanatory.
    3. Clear Existing Sheet Colours – Removes any cell colouring from the worksheet.
    4. Case Sensitive Comparison – self explanatory. If this is unchecked, the cell values read are converted to strings and the changed to upper case and compared. Should be checked by default.
    5. Add Change Column to show – Adds a column to the spreadsheet to indicate changes.
      1. Mismatched Column Name – Useful if the first row is a column name (for DB comparisons).
      2. Count of Mismatched Cells – Self explanatory.
      3. Eye-catchers – Self explanatory.
    6. Highlight changes with: – Set a colour to highlight the changes.
  5. On the ‘Select Worksheets from First Workbook’ form, if the workbook contains worksheets that you do not want to compare, select them and click the remove button. If you are comparing worksheets within the same workbook, remove one of the two worksheets that you want to compare. Click next.
  6. On the ‘Select Worksheets from Second Workbook’ form, if the workbook contains worksheets that you do not want to compare, select them and click the remove button. If you are comparing worksheets within the same workbook, remove the worksheet kept in the previous form. Click next.
  7. On the ‘Final Options’ form, check any final options:
    1. Stop on miscompare – stops on any miscompare.
    2. Stop on miscompare in the first column only – self explanatory.
    3. Generate Report – self explanatory.
  8.  Click ‘Start Compare’

The only downside of this tool is that the comparison is made at the cell level, not at word or character level, and as linguists we all know too well that Excel tends to double as a word processor these days.

I have tried a couple of different tools which claimed to be able to compare Excel files at a more granular level, namely Beyond Compare and Araxis Merge, but the results were not satisfactory at all with my sample files (the results were either inaccurate or complete gibberish, even with nearly identical files). Mind you, these tools have other very useful applications (e.g. comparing folder structures or tagged file formats) but I can’t recommend them for this purpose.

If a cell-based comparison won’t do for you, you may try to copy the contents of the two worksheets to Notepad, then to MS Word, save them as two separate files and run the Review>Compare function in Word.