Searching

Searching

 

OverviewWhen you choose "Ignore locked" paragraphs that automatically ignores IGNR paragraphs too.

The Transtool "Search" menu allows searching text in both source and target parts of paragraphs as well as listing special paragraphs.

 

InterfaceTo access Search tools press Ctrl+F or "Search" menu:

 

Search types


In the "Find Advanced" interface there are many search types:

  • Find in original: find paragraphs with specific words in the source text.
  • Find in translation: find paragraphs with specific words in the translation.
  • Find combination: find paragraphs where specific words occur in both the original and translation.
  • Find and replace: find and replace translated words.
  • Find combination and replace: find paragraphs where specific words occur in both the original and translation and replace them in translation.
  • Find in message: find paragraphs with certain words in the message pane (located above the source text window).



  • Find in part name: find paragraphs with certain words in the part name pane (located above the context window), useful for finding all paragraphs from a certain original file.
  • List empty translation paragraphs: lists all paragraphs with an empty translation field.
  • New translations: list all paragraphs that are not matched and not fuzzy/similars.
  • Matched 100% (locked): list paragraphs that are matched 100% and locked.
  • Matched fuzzy: list paragraphs that are matched between 75% and 99%. See Fuzzy Matches in Transtool.
  • Duplicates: list all paragraphs that are duplicates of other paragraphs in the current Transtool file.
  • Parents of duplicates: list all paragraphs that later paragraphs are duplicates of.
  • Similars: list all paragraphs that are similars of other paragraphs in the same file. See Fuzzy Matches in Transtool > Similar to a paragraph in the same project.
  • Parents of similars: list all paragraphs that later paragraphs are similar to.
  • Translation shorter than original: list all paragraphs where the translation shorter than original text.
  • List unlocked paragraphs: list all paragraphs that were originally locked (Matched 100%) and unlocked by the user during the translation process.
  • List length restricted paragraphs: list all paragraphs with a length restriction See Length restrictions.

 

Search options

Please note that the dialogue window changes depending on what search type has been chosen.

The options are:

  • Match case: Only get results where the case of all the letters also matches.
  • Whole word: Only get results where the searched word is the whole word. For example searching for "name" will find paragraphs with the word "filename". Using the "Whole word" option will exclude results where the searched word is a part of a larger word.
  • Paragraph starts with...: Only get results where the searched word (or several words) appears in the beginning of the paragraph. Paragraphs where the word is the second word or later are excluded.
  • Adapt case to translation: Available when the "Find and replace" search type is selected. The first letter of the replacing word will have the same case as the word it replaces.
  • Short output: The search results are presented as a list of paragraph numbers. If this option is not selected the results are presented in the reference window with all the original and translation text included.
  • Use ^ as escape char: Allows the ^ character to be used for escaping the character after it. For example searching for ^# without the option finds exactly "^#". Searching for ^# with the option selected finds all numbers. See Find any digit.

 

Find any digitIn the "Find Advanced" interface above there is a "Use ^ as escape char" option, which is enabled by default, and available for "Find in original", "Find in translation", "Find and replace", "Find combination", "Find combination and replace", "Find in message", and "Find in part name".

When enabled, the string "^#" will be a token for any digit (0-9). It only represents a single digit, but it can be combined with other characters, and there can be more than one "^#" in a search query.

This means that "terminal ^#" will match both "terminal 5" and "terminal 12" – unless "Whole word" is also enabled.

You currently cannot use "^#" in the replace string, only in the search string. This means that you cannot replace "terminal ^#" with "node ^#" to get the same digit in the replacement – if you try to do this, you will get the literal string "node ^#".

 

Search in only locked paragraphsThere is a new option in the Find-window called "Only locked". When it is checked, only locked (old) paragraphs are searched.

 

Search option "Paragraph starts with"The new search option "Paragraph starts with" can be used to check the first word or several words in the beginning of each paragraph.


Find external - searching in several Transtool filesThe find external function makes it possible to search several Transtool files at the same time.

  1. Open Find external with "Search" > "Find external..." or Ctrl+F8.
  2. Enter a word or phrase in the "Search for" field.
  3. Select one of the search options: "Original", "Translation", "Original AND Translation", "Original OR Translation".
  4. Click "Show/hide directory list" to show folders.
  5. Select a folder to search (subfolders are not searched).
  6. Click refresh, this will display the available org files in the folder.
  7. Under "Files to search in" mark the org file to include in the search.
  8. Click "Find".

If the search is taking too long click "Stop", search results up to that point will be displayed.

It is also possible to find words in the search result using "Find among hits".