Ed Leafe wrote: > On Jan 21, 2009, at 10:14 AM, Jacek Kałucki wrote: > >> So check "dabo\locale\de\LC_MESSAGES\dabo.mo", >> if "View" etc. is translated to german or not. >> If it is, IDE doesn't work anymore. >> Another possibility, it's unicode related problem. >> Everyting ledas to one, there is not menu "View" defined. > > I think that the issue of identifying menus by caption is wrong. It > was based on several wxPython examples, but doesn't make a lot of > sense, given these localization issues.
I think it is wrong, too. However, being able to find a menu reference based on some string-based key (RegID for menus?) would be good. > I will update all of the standard classes to localize the strings so > that if you are running a localized version, the string identification > should work. But I'm also going to look into making the standard menus > attributes of the menu bar, and standard menu items as atts of the > menus so that the identification will be language-independent. Good, but we should make it so that user-defined menus get to set identifiers, too (like RegID but handled at the menubar level, probably). Paul _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[email protected]
