Overview
| Description | Attempts to repair numeric value differences. |
| Default | Enabled |
| Supported Attributes | target_languages enabled
|
Details
Number transformations occur when the lookup and the source contain different numbers. The repair process attempts to repair them. The underlying premise is that if the source and the target (translation) contain the same number, then both can be swapped for the number that appears in the lookup string. Consider the following simple example.
Lookup Segment: This has 1 number(s) different
Source Segment: This has 2 number(s) different
Target Segment: Thisa haza 2 numbera different
Repaired Source Segment: This has 1 number(s) different
Repaired Target Segment: Thisa haza 1 numbera different
In mapping numbers between the lookup and the source, the order of the numbers is considered. However, when mapping numbers from the source to the target, only the instance of the number matters. In cases where there are multiple numbers, the repair process does not assume that the target (translation) text has the numbers ordered in the same way as the source text. Consider the following example.
Lookup Segment: 3 and 2
Source Segment: 2 and 3
Target Segment: 3 and 3
Repaired Source Segment: 2 and 2
Repaired Target Segment: 2 and 3
Important:
- This repair occurs only between locales that use the same numeric symbols for digits.
- Only western numbers are recognized.
- Number comparisons for swaps currently occur ignoring commas and decimals. For example,
99.5 matches 9.95 and to 9,95. We will address this limitation in a future release.