Difference between revisions of "WordSRT"

From TED Translators Wiki
Jump to: navigation, search
m (clarification)
m (mac is back, reduced functions)
Line 5: Line 5:
 
# Put into its place. This macro needs to be put into Word STARTUP folder.
 
# Put into its place. This macro needs to be put into Word STARTUP folder.
 
## On most Windows machines the following variable should point to this folder '''%APPDATA%\Microsoft\Word\STARTUP'''. To open Word STARTUP folder in Explorer, click in the Explorer address bar, paste '''%APPDATA%\Microsoft\Word\STARTUP''' there and press Enter. The folder should open and you can copy the '''WordSRT.dotm''' file there.<br> [[File:1-word-srt.png]]
 
## On most Windows machines the following variable should point to this folder '''%APPDATA%\Microsoft\Word\STARTUP'''. To open Word STARTUP folder in Explorer, click in the Explorer address bar, paste '''%APPDATA%\Microsoft\Word\STARTUP''' there and press Enter. The folder should open and you can copy the '''WordSRT.dotm''' file there.<br> [[File:1-word-srt.png]]
## MacOS users. Unfortunately, there is a series of problems with Word for Mac (bug with long file names, encoding parameter missing from open function) which prevent this macro to work properly on Mac.
+
## MacOS users can read the [http://word.mvps.org/mac/installtemplate.html How to Install a Template] article. Unfortunately, there is a series of problems with Word for Mac (bug with long file names, encoding parameter missing from open function) which limit this macro functionality on Mac (To Table (Review) function is unavailable). In short:
 +
### Open Word - Preferences - File Locations:<br> [[File:9-word-srt.png]]
 +
### Look for User Templates or Startup location:<br> [[File:10-word-srt.png]]
 +
### Place the file in one of this folders (I've used User Templates), restart Word
 +
### Open Word, if there are no WordSRT menus in Tools, add macro manually. Word - Tools - Templates and Add-Ins - Add - Browse and Find WordSRT.dotm - Tick WordSRT.dotm - OK:<br>[[File:11-word-srt.png]]
  
Once you restart the Word, you should have a new tab called WordSRT.
+
Once you restart the Word, you should have a new tab called WordSRT:<br> [[File:7-word-srt.png]]<br>
 +
Mac users should find three new commands under the Tools menu: <br> [[File:8-word-srt.png]]
  
 
= Functionality =
 
= Functionality =

Revision as of 12:03, 17 July 2012

To facilitate Offline translation using Word I have created this small macro, which I call WordSRT.

Installation

  1. Download WordSRT.dotm
  2. Put into its place. This macro needs to be put into Word STARTUP folder.
    1. On most Windows machines the following variable should point to this folder %APPDATA%\Microsoft\Word\STARTUP. To open Word STARTUP folder in Explorer, click in the Explorer address bar, paste %APPDATA%\Microsoft\Word\STARTUP there and press Enter. The folder should open and you can copy the WordSRT.dotm file there.
      1-word-srt.png
    2. MacOS users can read the How to Install a Template article. Unfortunately, there is a series of problems with Word for Mac (bug with long file names, encoding parameter missing from open function) which limit this macro functionality on Mac (To Table (Review) function is unavailable). In short:
      1. Open Word - Preferences - File Locations:
        9-word-srt.png
      2. Look for User Templates or Startup location:
        10-word-srt.png
      3. Place the file in one of this folders (I've used User Templates), restart Word
      4. Open Word, if there are no WordSRT menus in Tools, add macro manually. Word - Tools - Templates and Add-Ins - Add - Browse and Find WordSRT.dotm - Tick WordSRT.dotm - OK:
        11-word-srt.png

Once you restart the Word, you should have a new tab called WordSRT:
7-word-srt.png
Mac users should find three new commands under the Tools menu:
8-word-srt.png

Functionality

There are 4 functions available there:

  1. To Table - converts currently opened subtitles into a table. Useful for translation.
  2. To Table (Review) - converts currently opened subtitles into a table and loads also the subtitles which are found nearby. Useful for review.
  3. To SRT - converts current table into .SRT format and copies into clipboard.
  4. To Paragraph - converts current table into a single paragraph of text. Useful for grammar checking and overall text "flow".

To Table

Converts currently opened in Word .SRT file into a table and saves the new file.

To Table (Review)

Converts currently opened subtitles into a table and loads also the subtitles which are found "nearby". Useful for review. This is the most complex workflow, therefore in detail, step-by-step:

  1. Download the subtitles for English and for your language and put them into the same folder:
    2-word-srt.png
  2. Open English subtitles in Word:
    2-open-with-word.png
  3. Click on WordSRT tab:
    3-word-srt.png
  4. Click To Table (Review) button
  5. After some flickering (magic is being done) the result should look like this, with placeholders (in red) for talk titles and description:
    4-word-srt.png
  6. After you copy-paste the title and description from the site, it should look like this:
    5-word-srt.png

Most languages should be recognized. If yours is not recognized, drop me a line, I'll support it.

To SRT

Converts current table into .SRT format and copies that into a clipboard. Now paste your subtitles into your editor of choice (notepad, yeah?), save as ".srt" using UTF-8 encoding and upload to Amara.

To Paragraph

Converts current table into a single paragraph of text. Useful for grammar checking and overall text "flow". The result is placed into a new document and should look like this:
6-word-srt.png