Localization


Author
Message
Ivan George Borges
Ivan George Borges
Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Hiya.

I'm getting the following when trying to localize a label control. I have embedded the exported XML files for the message store, but still looks like the key is being searched into the database. Before embedding, I've tried to deploy it via DDT, and the same was happening. a

LocalizationKeyNotFoundException
 The specified key [teste1] was not found within the localization database.
KeyNotFoundException
 The message key [teste1] 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.UI.Localization.SetLocalizationOnControl(ILocalizable ControlToSet)
   at MicroFour.StrataFrame.UI.Windows.Forms.Label.InitializeObject()
   at MicroFour.StrataFrame.UI.Windows.Forms.BaseForm.InitializeFormLoadObjects()
   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)

Thanks for any help.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Ivan George Borges - 19 Years Ago
Trent L. Taylor - 19 Years Ago
Ivan George Borges - 19 Years Ago
Ivan George Borges - 19 Years Ago
Trent L. Taylor - 19 Years Ago
Trent L. Taylor - 19 Years Ago
Ivan George Borges - 19 Years Ago
                         Something must have gone wrong, because I have made this work in the...
Ivan George Borges - 19 Years Ago
                             You have to replace the second parm to the path where your XML files...
Trent L. Taylor - 19 Years Ago
                                 [quote][b]Trent L. Taylor (11/09/2006)[/b][hr]You have to replace the...
Ivan George Borges - 19 Years Ago
                             Is there a size limit for the path ?...
Ivan George Borges - 19 Years Ago
                                 Oh...this is your problem here...it is expecting the internal path to...
Trent L. Taylor - 19 Years Ago
                                     :blush: Sorry for the trouble Trent. I thought it was the address....
Ivan George Borges - 19 Years Ago
                                         Is it not in the XML file that was created? If not, I will have to...
Trent L. Taylor - 19 Years Ago
                                             No, it is there, I open the .XML file and the message is there.
Ivan George Borges - 19 Years Ago
                                                 So did you set the message to use on the form? You have to set the...
Trent L. Taylor - 19 Years Ago
                                                     [quote]So did you set the message to use on the form? You have to set...
Ivan George Borges - 19 Years Ago
                                                         OK....I will have to look into this then. Thanks for the info.
Trent L. Taylor - 19 Years Ago
                                                             Thank you, Trent. And don't worry, we know it's Ben's fault.
Ivan George Borges - 19 Years Ago
                                                                 :DWell at least you guys are learning :D
Trent L. Taylor - 19 Years Ago
                                                                     Hi Trent. I found out what Ben did ... :D:P I was using a "Message"...
Ivan George Borges - 19 Years Ago
                                                                         Well...it is important that you keep Ben in line...(even though I...
Trent L. Taylor - 19 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search