Numbers and Ranges


The check group “Numbers and ranges” helps to check the consistency of numbers and their formatting, and also to detect invalid number signs, range symbols and mathematical signs.

numbers and ranges check group

Inconsistent numbers

This check detects segments where numbers in the target text do not match the source ones. It has the following settings:

  • Ignore numbers in… Sometimes words containing numbers can be translated without them (e.g. English “3D” = Spanish “tridimensional”). You can enter these words in the provided field to exclude them from the check.
  • Digit to text conversion. In addition, source figures may be spelled out in the translation (e.g. 2 = dos), and vice versa. Usually there is no mistake in this kind of approach, so you can enable the setting to reduce the number of false positives and detect additional errors (e.g. when “two” is translated as “3”).

digit to text

Digits and their spelled-out forms are listed in the Digit to text table. You can edit it, add new lines or delete them by clicking the red cross. To add a new digit for checking:

  • Click the Add new button under the table.
  • Type a new digit in the Digit colomn.
  • Go to the Forms column and list all possible forms of the digit, just separating them by commas. All these forms will be recognized as translations for the associated digit.
  • Skip imperial units in parentheses. Enable this setting to ignore segments where the source text contains both metric and imperial measurement units (with the imperial in parentheses), while the target contains only the metric ones, or vice versa. Thus, the following cases will not be reported as number inconsistency:
Source Target
5 mm (0.2 in.) 5 mm
5 mm 5 mm (0.2 in.)

 

NB! The setting ignores only imperial units written in English. Translated inches, feet, etc. will still be reported.
  • Skip Fahrenheit degrees in parentheses. The setting is similar to the previous one. Enable it to ignore the following cases:
Source Target
40 °C (104 °F) 40 °C
40 °C 40 °C (104 °F)

 

  • Omit start and end zeros. When this option is on, numbers like 03 and 3, 2.0 and 2 will not be reported as inconsistent.
  • Check inside “Lock” tags. By default, Verifika does not check the content within “Lock” tags. However, if you need to check the consistency of numbers despite these tags, enable this setting.

lock tag

Number formatting

This check detects invalid decimal and digit group separators that are specific for each language. You can select the correct symbols under the Numbers heading on the right. numbersIf you have several languages in your project, do not forget set a correct symbol  for each of them.

The check has the following settings:

  • Do not require group separator in 4-digit numbers (1000-9999). Enable this setting to ignore target segments with a missing thousands separator in numbers under 10,000. This helps to significantly reduce the amount of false positives (e.g. quite often a 4-digit number is a year that generally does not require a thousands separator).
NB! When this setting is on, Verifika reports 4-digit numbers with an incorrect thousands separator but ignores them if correct ones were used. In other words, you cannot use this setting to make sure that a 4-digit numbers does not contain any thousands separator in the target text.
Additional information. At the moment, one of the ways to find 4-digit numbers with correct but unnecessary thousands separator is by means of the Search tab. Depending on the separator sign, use one of the regular expressions for the search in target:
\b[1-9]\.\d{3}\b for 1.000-9.999
\b[1-9]\s\d{3}\b for 1 000-9 999
\b[1-9]\,\d{3}\b for 1,000-9,999 and so on.
Then you can manually delete the unnecessary separators in 4-digit numbers. You can also add these expressions as User-defined checks and save them in your profile.user-defined checks
  • Strict spacing. Enable this setting to make sure that the space used as a thousands separator is of the same type as selected in the Digit grouping field (i.e. regular or non-breaking).
  • Allow zeros ahead of whole numbers. When this option is on, numbers with zeros ahead (e.g. 03) will not report the “Invalid number formatting” error.

Space between text and numbers

The check detects target segments with words written together with numbers. It is a common mistake when the necessary space between a word and a number is missing. Enable this setting to verify that translation is free of such errors.

space between text and numbers

You can also specify exceptions for this check (e.g. B12) in the Ignore numbers with text… field. Just list all the words you need separating them with spaces.

Number sign

This check detects segments with a different amount of number signs in source and target, segments with an invalid number sign or incorrect spacing after it. number signTo specify the number sign for the selected language, enter or copy-paste it in the corresponding field on the right. Then choose one of the options: require or disallow a space after the number sign.

NB! The check does not detect invalid number signs if there are no digits after it.

Range

rangesThe check detects the invalid range symbol and incorrect spacing before and after it.

You can select the correct range symbol and its spacing on the right. If you have several languages in your project, do not forget to specify the symbol for each of them.

The check has the following option:

  • Strict matches of range signs: ‘-‘. When this option is on, using a minus instead of a dash will produce an error.

Inconsistent mathematical sign

This check detects segments where mathematical signs used in the target do not match the ones used in source. Thus, Verifika can check consistency of the following math signs:

∞ ∑ ∏ ∂ ∫ ∩ ∀ ∃ ∅ ∇ ∈ ∉ ∋ ∝ ∠ ∪ ∴ ≅ ⊂ ⊃ ⊕ ⊗ ⊥

– + = * ± √ ≠ ≈ ≥ > < ≤ ÷ × ≡

NB! Percent and factorial signs (% and !) following numbers are also checked.

The check has the setting:

  • Strict matches of math signs: ‘x’ and ‘-‘. When it is on, using a hyphen instead of a minus or the “x” character instead of a multiplication mark will produce an error.

Inconsistent numbers order

This check detects segments where the order of numbers in target is not the same as in source.

inconsistent numbers order

NB! Please bear in mind that settings for the “Numbers and ranges” check group can be very specific not only for different types of projects but also for different languages within the same project.