|
|
Setting Max Size on segments based on percentage of the original size |
ReasonCATALYST offers the ability to set a Maximum size for translations proportionally to the original segment's length. This size limit can then be verified using the Validate Expert, automatically detecting any translation which exceeds the set proportional size, using the Maximum Size Check. To set a Maximum Size Proportionally, go to the Properties tab, and click on the Maximum Size field. In the Maximum Size dialog, select the Proportional Characters radio button and set the desired percentage of the original segment. Remember that you can multi-select segments in the Workspace window to assign them all the same Maximum Size.
But what if you need to assign different proportional character limits based on the length of the source segment? For example, you need to set the proportional maximum as follows:
SolutionThe solution is to multi select all the strings sharing the same size criteria and setting the proportional maximum size as described above. The challenge is of course to select all the strings based on their size. This is actually very easy in CATALYST using the QuickFind feature, which enables the user to filter down the string list to display any text. Plus, to make it even more versatile, it supports regular expressions. Based on the example above, for each proportional size you want to set, follow these steps: Enter the following regular expression in the Search field to filter strings between 0 and 15 characters: ^.{0,15}$ And click on the QuickFind Options button to define the search criteria:
And click the All the strings now listed in the Workspace window are strings between 0 and 15 characters. Select them all and set the proportional size to 150%
Repeat those steps 2 more times with the following regular expressions. Search field to filter string between 16 and 50 characters: ^.{16,50}$ and set the Proportional size to 130% Search field to filter string longer than 50 characters: ^.{51,}$ and set the Proportional size to 115%
Related topicsThe benefits of Validation Expert
Products or Versions Affected
Last update for CATALYST 12 SP2
|