﻿<?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 » Business Objects and Data Access (How do I?)  » SF Messaging and Localization</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Fri, 01 May 2026 13:55:18 GMT</lastBuildDate><ttl>20</ttl><item><title>SF Messaging and Localization</title><link>http://forum.strataframe.net/FindPost8032.aspx</link><description>Hello,&lt;/P&gt;&lt;P&gt;In your Messages_1033.XML file you have dozens of pre-defined messages such as: &lt;/P&gt;&lt;P&gt;&lt;SPAN class=tx&gt;&lt;STRONG&gt;SFST_UserNameAtLeast3Chars&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=tx&gt;Are these compiled into the strataframe dll's that we distribute?&amp;nbsp; The reason I ask is instead of re-inventing the wheel for "standard" messages such as Security related messages, I want to know if I call &lt;FONT size=2&gt;&lt;/P&gt;&lt;P&gt;MessageForm.ShowMessageByKey("&lt;/FONT&gt;SFST_UserDeactived")&lt;/P&gt;&lt;P&gt;...that the message will appear on an end-users machine.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Or do we need to build our own embedded XML file using the Localization editor (generate XML), and compile in the extracted XML messages into our own DLL's and executables?&amp;nbsp; Do we need to include this embedded XML resource in every DLL and EXE or just one?&amp;nbsp; If just one, how do we reference "external" resources such as this?&lt;/P&gt;&lt;P&gt;I did read the section on Localization and Messaging in the docs and it does not discuss whether or not your .XML file is included in the distributable SF DLL's nor anything about multi-dll projects and how to handle embedded XML resource files.&lt;/P&gt;&lt;P&gt;Also do you have a package file with these XML messages we can use to import into our package?&amp;nbsp; Then I can remove the unnecessary messages and create our own XML file.&lt;/P&gt;&lt;P&gt;Lastly, if we do define our own messages such as &lt;SPAN class=tx&gt;&lt;STRONG&gt;SFST_UserNameAtLeast3Chars &lt;/STRONG&gt;but call it &lt;STRONG&gt;ETI_UserNameAtLeast3Chars&lt;/STRONG&gt;, how do we tie or relate that message with the ILoginForm interface code?&amp;nbsp; I do not see&amp;nbsp;"key" property overrides for any of these messages.&amp;nbsp; Or is there an event we must capture in&amp;nbsp;our&amp;nbsp;custom login from which is based on the&amp;nbsp;ILoginForm interface class that we have to handle manually?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=tx&gt;&lt;/SPAN&gt;Thanks!&lt;/P&gt;&lt;P&gt;Ben&lt;/SPAN&gt;</description><pubDate>Wed, 11 Apr 2007 08:15:44 GMT</pubDate><dc:creator>Ben Kim</dc:creator></item><item><title>RE: SF Messaging and Localization</title><link>http://forum.strataframe.net/FindPost8055.aspx</link><description>[quote]&lt;SPAN class=tx&gt;Are&amp;nbsp;these message pre-compiled into SF and unchangable without manually changing them and recompiling the framework?&lt;/SPAN&gt;[/quote]&lt;/P&gt;&lt;P&gt;Correct.</description><pubDate>Wed, 11 Apr 2007 08:15:44 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: SF Messaging and Localization</title><link>http://forum.strataframe.net/FindPost8048.aspx</link><description>Does your statement include the entire Role Based Security add-on?&amp;nbsp; I noticed dozens of records that&amp;nbsp;I assume are&amp;nbsp;used for&amp;nbsp;RBS.&amp;nbsp;&amp;nbsp; Are these pre-compiled into the RBS classes?&lt;/P&gt;&lt;P&gt;Example:&lt;BR&gt;&lt;SPAN class=tx&gt;&lt;STRONG&gt;SFST_UserNameAtLeast3Chars&lt;BR&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class=tx&gt;&lt;SPAN class=tx&gt;&lt;STRONG&gt;SFSTText - User Name&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=tx&gt;Are&amp;nbsp;these message pre-compiled into SF and unchangable without manually changing them and recompiling the framework?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=tx&gt;Ben&lt;/SPAN&gt;</description><pubDate>Wed, 11 Apr 2007 07:36:39 GMT</pubDate><dc:creator>Ben Kim</dc:creator></item><item><title>RE: SF Messaging and Localization</title><link>http://forum.strataframe.net/FindPost8040.aspx</link><description>There are no pre-defined messages outside of the pre-localized messages for run-time components which are compiled into the SF assemblies.&amp;nbsp; If you want any localization messages then it is up to you to create these messages and embed (or distribute) them with your application.&amp;nbsp; As for the pre-localized messages these will not impact you and are not designed for direct calls within your application but rather the pre-localized controls (i.e. BrowseDialog, MaintenanceFormToolstrip, etc).</description><pubDate>Tue, 10 Apr 2007 23:32:00 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>