| | | StrataFrame Beginner
       
Group: Forum Members Last Login: 07/16/2007 3:26:29 PM Posts: 29, Visits: 79 |
| | Hi, When I open the Security Editor, i have a localization error message. After closing the error, the security editor is open and the labels are in French! I know that my desktop is in French (Regional Settings in "French - Canada"), but I am used to code in English. Since I did not set anything for the Localization & Messages (My broken rules are in french now when using the Security Editor), it is a bug in the framework or do i need to set something to avoid that error? |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: Today @ 4:58:13 AM Posts: 4,379, Visits: 4,421 |
| it is a bug in the framework or do i need to set something to avoid that error? No, this by design. It is assumed that if your regional settings are set to French then the displayed language will be in French as well. You can control this at run-time, however this is set automatically at design-time. This is one of the new features...all run-time components have been pre-localized in 7 languages. since the Security editor is a run-time component which you can present to your end-users, it falls into this category. |
| | | | StrataFrame Beginner
       
Group: Forum Members Last Login: 07/16/2007 3:26:29 PM Posts: 29, Visits: 79 |
| | Tx for the answer! But in this case, the error should not appears while loading the Security Editor. |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: Today @ 4:58:13 AM Posts: 4,379, Visits: 4,421 |
| | | | | StrataFrame Beginner
       
Group: Forum Members Last Login: 07/16/2007 3:26:29 PM Posts: 29, Visits: 79 |
| LocalizationKeyNotFoundException The specified key [SFSTText - New] was not found within the localization database. KeyNotFoundException The message key [SFSTText - New] could not be found in the localization data.Source : MicroFour StrataFrame Base Stack Trace: at MicroFour.StrataFrame.UI.Localization.ThrowKeyNotFoundException(String Key) at MicroFour.StrataFrame.UI.Localization.GetKeyRowFromXml(String Key) at MicroFour.StrataFrame.UI.Localization.RetrieveTextValue(String TextValueKey) at MicroFour.StrataFrame.Security.SecurityMain.SecurityMain_Load(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Windows.Forms.Form.OnLoad(EventArgs e) at MicroFour.StrataFrame.UI.Windows.Forms.BaseForm.OnLoad(EventArgs e) at System.Windows.Forms.Form.OnCreateControl() at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl() at System.Windows.Forms.Control.WmShowWindow(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ContainerControl.WndProc(Message& m) at System.Windows.Forms.Form.WmShowWindow(Message& m) at System.Windows.Forms.Form.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: Today @ 4:58:13 AM Posts: 4,379, Visits: 4,421 |
| Oops ...forgot to include the embedded XML files for French, Italian, German, and Russian in this project. Copy the attached EXE to the c:\program files\microfour\strataframe folder and overwrite the existing file and this error should go away.
|
| | | | 
StrataFrame Novice
       
Group: StrataFrame Users Last Login: 08/04/2008 9:16:06 AM Posts: 87, Visits: 776 |
| Great, that worked for me too.  Thanks, Trent! |
| |
|
|