Issue 107234

Summary: Dialog localization mechanism is bugged
Product: General Reporter: bmarcelly <marcelly.bernard>
Component: codeAssignee: AOO issues mailing list <issues>
Status: UNCONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: elish, issues
Version: OOo 3.1.1Keywords: needhelp
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description bmarcelly 2009-11-26 13:24:42 UTC
I cannot show a series of steps to reproduce it, but I am sure there are several bugs 
in the dialog localization.
I encounter problems when I design dialogs in My Macros with the IDE (preparing an 
extension). This has appeared on different projects and also before version 3.1.1.
 
Suppose you design some complex dialog library (several dialogs, each with several 
and various controls).
You test it with your code. Then you reopen the IDE to change something : add or 
suppress a control, or rename it, or add another dialog, or delete another, etc. 
Maybe also add another language.

When you test again you may see some texts of a dialog replaced by for example 
&874.DlgSel.CurrentState.Label which means the localization mechanism cannot retrieve 
the corresponding string.
Then you close OpenOffice, and during the closure you get a crash message of 
OpenOffice.
If you read the DialogStrings_xx_XX.properties you find errors like duplicate lines 
or lines out of the nummbering order, or missing lines.

These bugs may not appear on very simple dialogs, but they do appear sooner or later 
when you create really useful dialogs. It is very difficult and time consuming to 
correct the errors, and they may reappear each time you edit a dialog of your 
library. So in the current state, it is impractical to use for a professional project.

IMHO the designer of dialog localization mechanism should review carefully its code 
and find out why there are errors when the files DialogStrings_xx_XX.properties are 
re-written.
Comment 1 Olaf Felka 2009-11-27 08:09:55 UTC
@ jsk: Something for you?
Comment 2 hans_werner67 2011-03-28 11:56:45 UTC
Assign to new default-assignee