
CycleAddNum is a script that adds unique numbers to each segment, so that you can have multiple translations of identical segments.  See, OmegaT can't distinguish between multiple segments that are identical, so such segments will all have the same translation.  CycleAddNum solves that problem with a workaround.  Okay, so CycleAddNum is a bit intrusive, but for texts with many identical segments that may need unique translations, CycleAddNum may just be for you.

Requirements: OmegaT and Microsoft Windows

Method:

1. Create your project as usual.  Make sure the first file is open in OmegaT.
2. In OmegaT, set "Options -> Use TAB to advance" and "Options -> Editing behaviour -> The source text".
3. See what the exact total number of segments are (press Ctrl+L in OmegaT for it).
4. Run the script.

The script will add numbers in front of each segment.

5. When the script is done, go "Project -> Create translated documents".
6. Close OmegaT.
7. Delete your /source/ documents.
8. Move your /target/ into the source directory.
9. Delete project_save.tmx (it's in the /omegat/ subdirectory).
10. Open the project again, and translate it (do not include the numbers in your translation).

And that's it.

Issues:

1. You don't need to have "Use TAB to advance" enabled after you've created the numbered file.

2. You have to translate all segments.  If there are segments that need to stay in the source langauge (or that should be left untranslated) you have to remove the numbers from them at least... otherwise the numbers will be present in the final text.

3. If you're translating with "The source text" enabled in "Editing options", unfortunately there's no way to delete the number quickly -- you just have to use the Delete key four times (or the Ctrl+Shift+Rightarrow key three times followed by the Delete key).
