|
|||
| Moderated by: Renate.Reinartz, Markus.Kreisel, Jaakko.Salmenius, Ilkka.Salmenius |
|
||||||||||||||||
| Layout Checker/Validator - Wish list for software localization tool - Technical Support (You need to be registered at the forum to write) - .NET, Delphi, ... - Sisulizer Localization Tool Support | |||||||||||||||||
| Author | Post | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||||||||
|
mdunmill Member
|
Often when translating dialogs in an MFC application we find that static controls weren't originally specified to be as wide as possible but instead only are big enough for the original text. When the text is translated, the static label is often not big enough to fit the translated text and so the text ends up being clipped. Of course this can be detected by the clipped text validation but only after the translation has been done. In many cases it is the case that the static label could easily have been made wider by expanding to the dialog border or until it meets another control. Hence, a suggestion, a validation tool that runs on the original dialog resources and reports if any static text label is not made as 'wide as possible'. i.e. reports if the static text label is not within a defined margin (e.g. 7 dlg units) of the border or a defined separation (e.g. 3 dlg units) of another control. The static control's left or right alignment would be used to determine the direction of this check. With this tool, the developer could ensure the original text labels were as wide as possible and so reduce the cases where the translated resources would result in clipped text and subsequent re-layout or re-translation of the resources. This tool may also be useful for other controls e.g. radio buttons etc. A special case would be the groub box control where controls could be 'inside' etc. There could always be cases where the developer would not want to follow the validation rule for such reasons as alignment with other controls etc. but the existing built in ability to exclude validations for various controls would allow the perfect handling of these cases.
|
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
Ilkka.Salmenius Administrator
|
That is a good idea. I will implement it soon. regards Ilkka
____________________ http://www.sisulizer.com - Three simple steps to localize |
||||||||||||||||
| |||||||||||||||||
| Current time is 08:01 am | |
| .NET, Delphi, ... - Sisulizer Localization Tool Support > Technical Support (You need to be registered at the forum to write) > Wish list for software localization tool > Layout Checker/Validator | |
Sisulizer software localization tool - Three simple steps to localize