Validating Menus

Menus can be validated using the Validate Expert This Expert is used to automatically detect localisation problems and bugs. Example of validation checks are: Translation consistency, duplicate hotkeys, overlapping controls, clipped text, mis-translation etc.. You can validate the menu  individually or select a group of menus from the Project Navigator.

The validation tests applied to menus are defined in the Validate Expert Options Dialog box and cover the following.

Duplicate Hotkeys Generates an error exception if two or more controls share the same hotkey letter.

Incorrect Spelling Spellchecks each word with your currently active spelling and custom dictionaries.

Inconsistent spaces Generates an error exception if the hotkey character cannot be typed using a single keystroke from the keyboard.

Inconsistent hotkey count Generates an error exception if two or more controls share the same hotkey letter.

Mismatched empty string Generates an error exception if a)  The original string is empty and the translated string is not  b)  The translated string is empty but the original string is not

Invalid ampersand (&) position Generates an error exception if the hotkey character cannot be typed using a single keystroke from the keyboard.

Inconsistent hotkey character Generates an error exception if the translated hotkey is different to the original hotkey.

Inconsistent hotkey character Generates an error exception if  a)  The translated string contains a hotkey but the original string doesn't b)  The original string contains a hotkey and the translated string doesn’t

Inconsistent format specifiers Format specifiers are programmatic placeholders. They are defined using the percent (%) symbol. In this test, an error exception is generated if the number of format specifiers differs between the original and translated strings. An error exception is also generated if the order of these format specifier’s change.

  To find out more information on locating errors, please refer to Locating Errors.

© Copyright Alchemy Software Development 2009

 

Click to goto www.alchemysoftware.ie