﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » WinForms (How do I?)  » localisation and message</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 07:38:49 GMT</lastBuildDate><ttl>20</ttl><item><title>localisation and message</title><link>http://forum.strataframe.net/FindPost17372.aspx</link><description>hi,&lt;/P&gt;&lt;P&gt;So in first excuse my english. Im a french novice in strataframe. &lt;/P&gt;&lt;P&gt;i made a project&amp;nbsp; named&amp;nbsp;&amp;nbsp; "hera"&lt;/P&gt;&lt;P&gt;in module localisation, i made en herastra&amp;nbsp; and in this module, i made an message&amp;nbsp; with de key "coucou"&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/8af5b490-db3b-4503-bf62-06e5.JPG"&gt;&lt;/P&gt;&lt;P&gt;after i generate xml in folder &lt;FONT size=2&gt;&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;"C:\Users\eric\Documents\xmlhera"&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;P&gt;in&amp;nbsp; appmain.vb module,&amp;nbsp; its was the following code &lt;/P&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Private&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Shared&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Sub&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; InitApplication(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;ByVal&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; e &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; InitializingApplicationEventArgs)&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;&lt;FONT color=#008000 size=2&gt;'-- Add the main form type&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;&lt;FONT color=#008000 size=2&gt;'-- If more than one form is added to the collection, they can be chosen by showing a "Gateway" form&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;&lt;FONT color=#008000 size=2&gt;' and supplying the index of the form to show (At least 1 form type must be added to the collection&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;e.Forms.Add(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;GetType&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;(hera.MENU))&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;&lt;FONT color=#008000 size=2&gt;'-- ToDo: Add any extra application initialization&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;MicroFour.StrataFrame.UI.Localization.MessageKeyType = MicroFour.StrataFrame.Messaging.MessageKeyDataType.XML&lt;/P&gt;&lt;P&gt;MicroFour.StrataFrame.UI.Localization.MessageLocaleID = MicroFour.StrataFrame.UI.Localization.GetActiveLanguage(&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;"hera"&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;)&lt;/P&gt;&lt;P&gt;MicroFour.StrataFrame.UI.Localization.MessageXmlPath = &lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;""&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;&lt;/FONT&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;in my form test ,&amp;nbsp; i have a button&amp;nbsp; and the code when cklick is :&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;&lt;/FONT&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;&lt;P&gt;Private&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Sub&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; Button1_Click(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;ByVal&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; sender &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; System.Object, &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;ByVal&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; e &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; System.EventArgs) &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Handles&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt; Button1.Click&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;.ShowMessageByKey(&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;"coucou"&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;)&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;End&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Sub&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;&lt;/FONT&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;when i run this project&amp;nbsp; i obtain the following error :&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/bcb79b7f-5d33-4b00-9a09-78ea.JPG"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;&lt;/FONT&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;so in my project&amp;nbsp;&amp;nbsp; "solutions preference " &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;hi have &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/a6687cc6-c281-4de7-ab54-caaa.JPG"&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;&lt;/FONT&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;&lt;/FONT&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;what is the problem ??&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;i test with&amp;nbsp; in appmain the following code &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT size=2&gt;&lt;P&gt;MicroFour.StrataFrame.UI.Localization.MessageKeyType = MicroFour.StrataFrame.Messaging.MessageKeyDataType.XML&lt;/P&gt;&lt;P&gt;MicroFour.StrataFrame.UI.Localization.MessageLocaleID = MicroFour.StrataFrame.UI.Localization.GetActiveLanguage(&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;"hera"&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;)&lt;/P&gt;&lt;P&gt;MicroFour.StrataFrame.UI.Localization.MessageXmlPath = &lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;"C:\Users\eric\Documents\xmlhera"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;&lt;/FONT&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;and its same problem. &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;&lt;/FONT&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;can you help me ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;Have you an idee ?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;&lt;/FONT&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;Thank's &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;Eric LEISSLER&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;&amp;nbsp;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;</description><pubDate>Fri, 27 Jun 2008 09:11:53 GMT</pubDate><dc:creator>Eric Leissler</dc:creator></item><item><title>RE: localisation and message</title><link>http://forum.strataframe.net/FindPost17423.aspx</link><description>That sounds like a great idea and something that we should work towards.&amp;nbsp; This might be able to happen in 2009 or 2010.&amp;nbsp; I would lean toward 2010 as we are going to try our first out of country training in Brazil.&amp;nbsp; With any luck, we hope to plan and organize a Brazil training class in 2008 sometime.&amp;nbsp; Once we work through that process, then Europe would be a perfect next location!&amp;nbsp; I know that I would love to come over there and train...and I am sure that my wife won't let me go without here to this one :)</description><pubDate>Fri, 27 Jun 2008 09:11:53 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: localisation and message</title><link>http://forum.strataframe.net/FindPost17422.aspx</link><description>Trent,&lt;/P&gt;&lt;P&gt;when do we organize a SF class in Europe? in France, or in Czech Republic, or anywhere else??&lt;BR&gt;2009 or 2010?&lt;BR&gt;we could help to organize it if you are ready to come in our old continent.</description><pubDate>Fri, 27 Jun 2008 05:52:52 GMT</pubDate><dc:creator>Michel Levy</dc:creator></item><item><title>RE: localisation and message</title><link>http://forum.strataframe.net/FindPost17394.aspx</link><description>Michel,&lt;/P&gt;&lt;P&gt;Thanks for sharing that information and helping!&amp;nbsp; We truly appreciate your business and look forward to seeing more and more users come from your area!&lt;/P&gt;&lt;P&gt;I always enjoy learning about the areas and locations of our users as I am a big fan of history and enjoy looking these types of things up.&amp;nbsp; Thanks again for sharing.</description><pubDate>Thu, 26 Jun 2008 13:48:16 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: localisation and message</title><link>http://forum.strataframe.net/FindPost17386.aspx</link><description>Merci Eric, I had a look at the &lt;STRONG&gt;Puy du Fou&lt;/STRONG&gt; website, and it looks great!!! Definitely worth a visit.&lt;/P&gt;&lt;P&gt;By the way, consider attending a SF class, you would profit a lot from it (&lt;A href="http://www.strataframe.net/newsarticle.aspx?newsarticle=4"&gt;http://www.strataframe.net/newsarticle.aspx?newsarticle=4&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;There is one now in July, I will be there. It is a huge help and a great time spent with the guys.</description><pubDate>Thu, 26 Jun 2008 12:15:55 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: localisation and message</title><link>http://forum.strataframe.net/FindPost17385.aspx</link><description>Hi, yvan&lt;/P&gt;&lt;P&gt;i live in south of NANTES in "vendée" near "LE PUY DU FOU"&lt;/P&gt;&lt;P&gt;contact me if you come to the puy du fou &lt;/P&gt;&lt;P&gt;Michel is&amp;nbsp; in south of France. He is the first&amp;nbsp; strataframer in France. I'm the second.&lt;/P&gt;&lt;P&gt;It's a great product. It's mor difficult for me, because, i speak, read and write english&amp;nbsp; just a little.&lt;/P&gt;&lt;P&gt;It's more easier for Michel.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Eric</description><pubDate>Thu, 26 Jun 2008 12:06:42 GMT</pubDate><dc:creator>Eric Leissler</dc:creator></item><item><title>RE: localisation and message</title><link>http://forum.strataframe.net/FindPost17384.aspx</link><description>[quote]i 'm leave in MORTAGNE SUR SEVRE, at 9 kilometers to&amp;nbsp; " LE PUY DU FOU "&amp;nbsp; on the south of NANTES.&lt;BR&gt;If you come in france to "le puy du fou" , send me a private mail.[/quote]&lt;P&gt;I traveled a bit around France, and loved it. If you ever go mad and visit Brazil, let me know. :hehe:&lt;/P&gt;&lt;P&gt;[quote]J'ai beaucoup de progrès à faire en anglais car je n'ai pas tout compris ce que me disait yvan, mais je pense en avoir saisir l'essentiel.[/quote]&lt;/P&gt;&lt;P&gt;I can write in Portuguese too, would that help? :D&lt;/P&gt;&lt;P&gt;Don't worry about your english, people seem to understand mine! Anyway, with a bit of patience we get there. &lt;/P&gt;&lt;P&gt;Abraços.</description><pubDate>Thu, 26 Jun 2008 12:05:23 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: localisation and message</title><link>http://forum.strataframe.net/FindPost17383.aspx</link><description>Hi Ivan &lt;/P&gt;&lt;P&gt;i 'm leave in MORTAGNE SUR SEVRE, at 9 kilometers to&amp;nbsp; " LE PUY DU FOU "&amp;nbsp; on the south of NANTES.&lt;BR&gt;If you come in france to "le puy du fou" , send me a private mail.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;-----------------------------&lt;/P&gt;&lt;P&gt;Michel, pas de problème. Je ne sais pas ce qui s'est passé. Cela à fonctionné puis plus rien ne marchait dans la localisation,.&lt;/P&gt;&lt;P&gt;Il fichiers xml sont bien copies dans le projet, et inclus &lt;/P&gt;&lt;P&gt;lorsque j'ai remis le path&amp;nbsp; cela s'est mis à fonctionner. &lt;/P&gt;&lt;P&gt;Comme ca marche maintenant, je n'ose plus y toucher. &lt;/P&gt;&lt;P&gt;&amp;gt;J'ai fait un message de suppression avec un paramètre comme dans la doc et ca fonctionne très bien.&lt;/P&gt;&lt;P&gt;Je poursuis donc mes investigations sur strata avec plaisir. &lt;/P&gt;&lt;P&gt;J'ai beaucoup de progrès à faire en anglais car je n'ai pas tout compris ce que me disait yvan, mais je pense en avoir saisir l'essentiel.&lt;/P&gt;&lt;P&gt;A bientôt &lt;/P&gt;&lt;P&gt;ERic</description><pubDate>Thu, 26 Jun 2008 11:33:20 GMT</pubDate><dc:creator>Eric Leissler</dc:creator></item><item><title>RE: localisation and message</title><link>http://forum.strataframe.net/FindPost17382.aspx</link><description>Ivan&lt;P&gt;I live in&amp;nbsp;south of France, near &lt;A href="http://maps.google.fr/maps?f=q&amp;amp;hl=fr&amp;amp;geocode=&amp;amp;q=beziers&amp;amp;ie=UTF8&amp;amp;ll=43.321181,3.845215&amp;amp;spn=2.094091,3.383789&amp;amp;z=8"&gt;Béziers&lt;/A&gt;, and so, near Mediteranean sea. Beziers is a small town&amp;nbsp;in Languedoc,&amp;nbsp;where is the biggest vineyard all over the world. My main apps are used in wine production, specific warehouse for wines storage, trading and sales of wine...&lt;/P&gt;&lt;P&gt;Eric lives near &lt;A href="http://maps.google.fr/maps?f=q&amp;amp;hl=fr&amp;amp;geocode=&amp;amp;q=puy+du+fou&amp;amp;sll=43.341629,3.217816&amp;amp;sspn=0.261675,0.422974&amp;amp;ie=UTF8&amp;amp;ll=47.055154,-0.922852&amp;amp;spn=4.790562,6.679687&amp;amp;z=6&amp;amp;iwloc=addr"&gt;Puy-du-Fou&lt;/A&gt;, in west of France.&lt;P&gt;We are both old VFP developpers, and the 2 first StrataFrame users here in France.&lt;BR&gt;(BTW, I gave a presentation of StrataFrame at our last french&amp;nbsp;VFP devcon)</description><pubDate>Thu, 26 Jun 2008 11:30:14 GMT</pubDate><dc:creator>Michel Levy</dc:creator></item><item><title>RE: localisation and message</title><link>http://forum.strataframe.net/FindPost17380.aspx</link><description>Glad you got it going!&lt;P&gt;Hey guys, where in France are you both from? &lt;/P&gt;&lt;P&gt;Also, Eric, if you don't want to give a path for your XML files and would like to use the embedded ones, you can try Registering your embedded XML files, and erase the line where you provide the MessageXmlPath:&lt;/P&gt;&lt;FONT size=2&gt;&lt;P&gt;[codesnippet]&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;MicroFour.StrataFrame.UI.Localization.RegisterEmbeddedXmlFile(Reflection.Assembly.GetExecutingAssembly(), &lt;FONT color=#a31515 size=2&gt;"YourNameSpace.Message_Languages.xml"&lt;/FONT&gt;&lt;FONT size=2&gt;)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT size=2&gt;MicroFour.StrataFrame.UI.Localization.RegisterEmbeddedXmlFile(Reflection.Assembly.GetExecutingAssembly(), &lt;FONT color=#a31515 size=2&gt;"YourNameSpace.&lt;FONT color=#a31515 size=2&gt;Messages_1036.XML&lt;/FONT&gt;"&lt;/FONT&gt;&lt;FONT size=2&gt;)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT size=2&gt;[/codesnippet]&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;&amp;nbsp;&lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Thu, 26 Jun 2008 10:15:50 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: localisation and message</title><link>http://forum.strataframe.net/FindPost17379.aspx</link><description>Hi Ivan,&lt;P&gt;yesterday, I've told Eric how to start with localisation and messaging (we 2 both live in France, and he was not too far from my home), and I've shown him how to "embed" xml file in the project. I think he forgets to copy xml files in the project itself and I can see an error in xml files properties (bad compilation option)&lt;/P&gt;&lt;P&gt;Eric,&lt;/P&gt;&lt;P&gt;dans ton main (dans la méthode InitApplication), tu dois placer:&lt;/P&gt;&lt;P&gt;[quote]&lt;BR&gt;&lt;FONT size=2&gt;MicroFour.StrataFrame.UI.Localization.MessageKeyType = MicroFour.StrataFrame.Messaging.MessageKeyDataType.XML&lt;BR&gt;MicroFour.StrataFrame.UI.Localization.MessageXmlPath = &lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;""&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;' parceque les fichiers xml sont incorporés&lt;BR&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;MicroFour.StrataFrame.UI.Localization.MessageLocaleID = 1036&lt;BR&gt;&lt;/FONT&gt;[/quote]&lt;/P&gt;&lt;P&gt;Tu ne dois pas mentionner le chemin des fichiers xml (tu pourrais même supprimer la ligne), mais il ne faut pas oublier de copier les fichiers générés dans le projet.&lt;P&gt;Et surtout, regarde la feuille de propriétés des fichiers xml dans ton projet, tu dois absolument mettre l'action de génération à "Ressource incorporée"&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/bd431278-1065-4b0d-9e0c-9deb.jpg"&gt;&lt;P&gt;:blush: je sais, je sais, j'ai oublié de te le montrer...</description><pubDate>Thu, 26 Jun 2008 10:02:24 GMT</pubDate><dc:creator>Michel Levy</dc:creator></item><item><title>RE: localisation and message</title><link>http://forum.strataframe.net/FindPost17378.aspx</link><description>thank's yvan &lt;/P&gt;&lt;P&gt;its ok now&lt;/P&gt;&lt;P&gt;i dont know what but i made&amp;nbsp; in my code &lt;/P&gt;&lt;FONT size=2&gt;&lt;P&gt;MicroFour.StrataFrame.UI.Localization.MessageKeyType = MicroFour.StrataFrame.Messaging.MessageKeyDataType.XML&lt;/P&gt;&lt;P&gt;MicroFour.StrataFrame.UI.Localization.MessageLocaleID = MicroFour.StrataFrame.UI.Localization.GetActiveLanguage(&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;"hera"&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;)&lt;/P&gt;&lt;P&gt;MicroFour.StrataFrame.UI.Localization.MessageLocaleID = 1036&lt;/P&gt;&lt;P&gt;MicroFour.StrataFrame.UI.Localization.MessageXmlPath = &lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;"C:\heradevvbstrata\hera\hera\NewFolder1"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;and&amp;nbsp; with this code, it s ok at running &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;thank you very much &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;Eric LEISSLER&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;&amp;nbsp;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;</description><pubDate>Thu, 26 Jun 2008 10:01:17 GMT</pubDate><dc:creator>Eric Leissler</dc:creator></item><item><title>RE: localisation and message</title><link>http://forum.strataframe.net/FindPost17377.aspx</link><description>As it looks like, you are not providing the XML Path.&lt;P&gt;Try this way: (note that I am assuming you are generating your XMLs into &lt;FONT color=#a31515&gt;C:\Users\eric\Documents\xmlhera&lt;/FONT&gt;&lt;FONT color=#1f5080&gt;) &lt;/FONT&gt;&lt;/P&gt;&lt;FONT size=2&gt;&lt;P&gt;[codesnippet]MicroFour.StrataFrame.UI.Localization.MessageKeyType = MicroFour.StrataFrame.Messaging.MessageKeyDataType.XML&lt;/P&gt;&lt;P&gt;MicroFour.StrataFrame.UI.Localization.MessageXmlPath = &lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;"C:\Users\eric\Documents\xmlhera"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;MicroFour.StrataFrame.UI.Localization.MessageLocaleID = 1036[/codesnippet]&lt;/P&gt;&lt;P&gt;Also, I would advice you to embed your Message Store into your application, and if you would like to try, let me know... and we can go through it together.&lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Thu, 26 Jun 2008 09:51:46 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: localisation and message</title><link>http://forum.strataframe.net/FindPost17376.aspx</link><description>hi, &lt;/P&gt;&lt;P&gt;i&amp;nbsp; made my code as the example in the strataframe help&lt;/P&gt;&lt;P&gt;in my appmain, &lt;/P&gt;&lt;FONT size=2&gt;&lt;P&gt;MicroFour.StrataFrame.UI.Localization.MessageKeyType = MicroFour.StrataFrame.Messaging.MessageKeyDataType.XML&lt;/P&gt;&lt;P&gt;MicroFour.StrataFrame.UI.Localization.MessageLocaleID = MicroFour.StrataFrame.UI.Localization.GetActiveLanguage(&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;"hera"&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;)&lt;/P&gt;&lt;P&gt;MicroFour.StrataFrame.UI.Localization.MessageLocaleID = 1036&lt;/P&gt;&lt;P&gt;MicroFour.StrataFrame.UI.Localization.MessageXmlPath = &lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;""&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;in my project&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/e79ffa8d-7288-452e-98b1-ea54.JPG"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;i generate the xml &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/fe869846-14b0-4dde-aa33-cc1c.JPG"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;&lt;/FONT&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;&amp;nbsp;my xml is embedded&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/38df8908-352b-4619-9551-d6fe.JPG"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;&lt;/FONT&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/e0f4ec1c-71bf-45b1-992f-86a3.JPG"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;and when i run its don't find&amp;nbsp; the key&amp;nbsp; "coucou"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/1bf077b5-576d-44b1-86ae-0ee8.JPG"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;&lt;/FONT&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;and when running &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/cfa39a54-ce9f-4922-9d24-1c59.JPG"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;&lt;/FONT&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;I&amp;nbsp; dont understand what i forget ??&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;&amp;nbsp;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;</description><pubDate>Thu, 26 Jun 2008 09:39:55 GMT</pubDate><dc:creator>Eric Leissler</dc:creator></item><item><title>RE: localisation and message</title><link>http://forum.strataframe.net/FindPost17375.aspx</link><description>You can do it right after your line setting the MessageXmlPath.</description><pubDate>Thu, 26 Jun 2008 09:19:32 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: localisation and message</title><link>http://forum.strataframe.net/FindPost17374.aspx</link><description>hi &lt;/P&gt;&lt;P&gt;thank 's for your answer.&lt;/P&gt;&lt;P&gt;I don't understand vhere&amp;nbsp; i have to place the code ?&lt;/P&gt;&lt;P&gt;"Localization.MessageLocaleID = 1036"</description><pubDate>Thu, 26 Jun 2008 09:15:44 GMT</pubDate><dc:creator>Eric Leissler</dc:creator></item><item><title>RE: localisation and message</title><link>http://forum.strataframe.net/FindPost17373.aspx</link><description>Hi Eric.&lt;/P&gt;&lt;P&gt;I see your Message_Languages.xml is not embedded&amp;nbsp;within your application. You could go this way, but it is recommended to use an&amp;nbsp;embedded Message Store. You can check it out on the help file, under "Application Framework" / "Localization &amp;amp; Messaging" / "Messaging" / "Configuring the Message Store".&lt;/P&gt;&lt;P&gt;Regarding the error you are getting, I couldn't read it, but in your InitApplication, try setting your current language this way, to see if it works:&lt;/P&gt;&lt;FONT size=2&gt;&lt;P&gt;Localization.MessageLocaleID = 1036&lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Thu, 26 Jun 2008 08:17:27 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item></channel></rss>