About
Number Verifier represents an application which allows to setup settings based on which the numbers verification process is executed.
While the standard number verification in Trados Studio may often be sufficient there are some occasions when a bit more control would be preferable, for example when translating documents that contain lots of numbers. This Number Verifier plug-in allows you to fine-tune settings to provide you with the desired balance between the amount of false positives and potentially missed errors.
How to use
- Install application
- Open project
- Go to Project Settings -> Verification -> Number Verifier
- Select all the needed settings
- Press Ok.
In order to have the app running, ensure that under 'Verification' option the 'Number Verifier' is checked.
Using the Number Verifier plug-in is simple: the first four options always need to have at least one of them checked:
- Report added numbers
- Report removed numbers
- Report modified numbers
- Report modified alphanumeric numbers
- Report number format errors
All other settings apply to one or more of these options. Once you are clear what type of error you wish to check for you can set which segments should be checked. The options are basic and allow you to exclude segments that are locked or 100% matches, as well as segments that have no translation at all. An important point to note is that segments with content, but with the status ”untranslated”, will not be checked if you use the ”Exclude untranslated segments” option. It is assumed that segments with content will be draft at least.
You can select "Exclude tag text" if you find that you get duplicate error messages since the change of a number in a tag constitutes a tag change that is reported by the tag verifier.
There have also been cases where leading zeroes have caused problems in verifying numbers. To cater for this you will find an option at the bottom of the settings to ”Omit leading zero” from the source and/or target.
The Number Verifier also creates a log file of the issues it has found. You can select the Extended option for Messages if you want the source and target text to be included in the log file. A nice enhancement in verion 1.1.8.6 and above is to identify the numbers that are effected in the extended option. This is very useful if you have many numbers in the segment and only one or two are wrong.
Alphanumerics
In addition to plain numbers the Number Verifier plug-in can also be used to find changes to alphanumeric names. For example, if VT500 has accidentally been translated as VR500 an error can be displayed. Here, an alphanumeric name is defined as a string of characters starting with one or more uppercase letters (A-Z) followed by any combination of digits (0-9) and uppercase letters. (Please note that if VT500 has been translated as VT300 this will also be identified as a modified number.)
You’ll also find an option to specify custom Alphanumeric separators. Studio will recognise alphanumerics but only under certain conditions:
- must not start or end with underscores, hyphens or full stops
- must not contain both dashes and full stops
- must contain at least one number and one letter
- must not contain lowercase characters and dashes
The Number Verifier allows you to specify whatever separators you wish and still verify correct transposition from the source to the target translation.
Localizations
Studio always uses the rules set by the Windows operating system to decide what a number should look like. In reality, life is more complex than that, so there are three options you can use and you must select one of them.
- Require localizations
If a number in the source is identified as using one of the possible thousands or decimal separators specified for the source separators, the translation must contain corresponding numbers with any of the separators specified for target separators or else the number will be considered modified/unlocalized.
- Allow localizations
If a number in the source is identified as using one of the possible thousands or decimal separators specified for the source separators, the translation may contain corresponding numbers with either the same separator as the source number or with any of the separators specified for target separators, or else the number will be considered modified/unlocalized.
Prevent localizations
The same thousands or decimal separators as in source must be retained in the translation or else the number will be considered modified.
- Thousands and decimal separators
You can select the thousands and decimal separators you want to allow. For example, you may allow one or more thousands separators depending on language standards. Similarly you may allow for both a period and a comma to be used as a decimal separator, in order to allow for cases where for some reason more than one language standard should be allowed. The selected separators will then be combined with the Localizations setting to determine what should be considered a modified/unlocalized number. You can also specify a custom separator to suit any requirement you may be dealing with.
- Hindi Numbers
The option ”Check for Hindi numbers” should be disabled unless you specifically wish to QA check the use of Hindi as opposed to Arabic numerals. The rules used are:
Arabic -> Hindi
0 -> ٠
1 -> ١
2 -> ٢
3 -> ٣
4 -> ٤
5 -> ٥
6 -> ٦
7 -> ٧
8 -> ٨
9 -> ٩
10 -> ١٠
The numbers are written left to right as they are for Arabic numerals but without any thousand separators. The decimal becomes a comma. So this:
1,234.89 or this 1.234,89
would be written like this:
١٢٣٤,٨٩
Number Format Errors
How to run verification
After all settings were applied, user can starts translating the document. After confirm the segment(s), by pressing the F8 keyboard, the Number Verification process is executed. Once is finished, if any warning/errors were found, are all displayed in the Studio Messages window.
Show message details
User can visualize the message details using 2 options, that can be selected from the Number Verifier Settings grid:
- Brief
- Extended
The "Brief" option shows the details which includes the document name, error message with the text issue(s), the segment number where the issues were found and also the content of the Source and Target. (The description of the "Brief" option can be seen also if the user hover the mouse over it.)
The "Extended" option displays the exactly text which was found as an issue in the translation. The found text is colored, so it can be easly distinguished. (The description of the "Extended" option can be seen also if the user hover the mouse over it.)
Tooltips
1. Tooltips added for the Messages options in "Number Verifier Settings" grid
User can see the details of the options "Brief" and "Extended" by hovering the mouse over each option.
Extended Results
The "Extended" option is showing the verification results in more details.
Logging
The application logs information about the flow which is usefull to idenitfy issues that might occur. If some errors are catched, the NumberVerifierLogs.txt file will be created at the following location: C:\Users\{UserName}\AppData\Roaming\SDL Community\Number Verifier\NumberVerifierLogs.txt and it will contain errors details. The file can be attached to the email / Sdl Community forum topic when a problem regarding the application is raised.
Choose to report number format errors when you want to recognize both generic and custom issues given specific settings provided by the user.