Language-Interface-Temperature-Controller: Difference between revisions

From *** My Personal Wiki ***
Jump to navigation Jump to search
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Language Interface Issue List ==
== Language Interface Issue List ==
See the initial design page here: [[Multi-Language-Interface-design-approach]]


'''Language Compiler'''
'''Language Compiler'''
Line 9: Line 11:


*will not handle control array objects correctly.  Control array objects use the same object name callout > only adds a parameter INDEX in the list of properties
*will not handle control array objects correctly.  Control array objects use the same object name callout > only adds a parameter INDEX in the list of properties
*need an exceptions list > Why? > User named things should NOT be translated > Example: OvenName.Caption is parsed but in reality is user set!  > had to comment out the Object initializer line:
**  '---Traj_form.OvenName.Caption = Translate("Thermal Device Name")  >  Use list of objects in a ListBox/CheckList ?  It will be long but will remember settings of everything.




'''Program bugs'''
'''Program bugs'''
*Edit language > does not automatically bring up the selected language for edit - Should do so!
*the language editor page needs a vertical scroll bar > put on all page?  will allow accomodations of smaller displays
*Editing Master English File > need tool to update and add all new additions to previously generated language files
'''Installation'''
*Icons do not show up on
**desktop
**program menu
*problem with language interface not working > stays stuck in english when switched to polski
**when edit translation form is accessed the datagrid does not load with contents of databases
*database interface appears not to work when installed on Marks spare machine.  It has Access with a newer version of database.





Latest revision as of 21:58, 8 December 2009

Language Interface Issue List[edit]

See the initial design page here: Multi-Language-Interface-design-approach

Language Compiler

  • compilation of object properties for .bas module has error on the form level - FormName.FormName.frm ... need to test for this and prevent the redundant placement
    • does not have header / footer strings added > use key text so that the other stuff in the file such as declaration can be left untouched.
  • used the disk file form name for top objects > should be name shown in browser > Traj_form and NOT Trajectory.frm > yielded error in the .bas object property file ( wrong names! )
  • will not handle control array objects correctly. Control array objects use the same object name callout > only adds a parameter INDEX in the list of properties
  • need an exceptions list > Why? > User named things should NOT be translated > Example: OvenName.Caption is parsed but in reality is user set! > had to comment out the Object initializer line:
    • '---Traj_form.OvenName.Caption = Translate("Thermal Device Name") > Use list of objects in a ListBox/CheckList ? It will be long but will remember settings of everything.


Program bugs

  • Edit language > does not automatically bring up the selected language for edit - Should do so!
  • the language editor page needs a vertical scroll bar > put on all page? will allow accomodations of smaller displays
  • Editing Master English File > need tool to update and add all new additions to previously generated language files


Installation

  • Icons do not show up on
    • desktop
    • program menu
  • problem with language interface not working > stays stuck in english when switched to polski
    • when edit translation form is accessed the datagrid does not load with contents of databases
  • database interface appears not to work when installed on Marks spare machine. It has Access with a newer version of database.



Resolved Issues[edit]

  • Object properties appear to need to be reloaded when a form is reloaded
    • RESOLVED: errors in object initializer caused this effect.
  • Selected language is ENGLISH yet is still displaying in POLISH
    • RESOLVED: needed global LANGUAGE variable for persistence of variable.
  • Temperature Controller device modal popup does not allow the CAPTION property to be set for label1 > dlgGetName.Label1.Caption
    • RESOLVED:== label1 had been created as part of a control array and thus would only accept the .item(index).caption form. Deleted and recreated it and it worked per normal. Control arrays will need different parsing with this multi language methodology.
  • Trajectory form - language form > change from polish to english : headers for flexgrid do not change to english > after restart program > headers are polish
    • RESOLVED: header initializations were in form_load > put them in form_activate > form_activate event occurs every time you bring a form back up from background.