﻿<?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 / WinForms (How do I?)  / Toolbar in SF DevEx Manteinance Form does not localize captions / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>forum@strataframe.net</webMaster><lastBuildDate>Tue, 02 Dec 2008 15:40:53 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Toolbar in SF DevEx Manteinance Form does not localize captions</title><link>http://forum.strataframe.net/Topic16765-7-1.aspx</link><description>Hello juan Carlos&lt;br&gt;If you look into the MicroFour StrataFrame Inherited UI source code you´ll notice that there is no localization implementation for the MaintenanceFormToolbar. You will need to add localization support for the BarbuttonItems inside the Toolbar manually, perhaps adding a method to localize controls when loading the form.&lt;br&gt;&lt;br&gt;[codesnippet]&lt;br&gt;Private Sub frmMain_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load&lt;br&gt;        '-- This method handles extra localization&lt;br&gt;        LocalizeControls()&lt;br&gt; End Sub&lt;br&gt;&lt;br&gt;Private Sub LocalizeControls()&lt;br&gt;    '-- The Devexpress BarbuttonItem&lt;br&gt;    '-- The text key used must  &lt;br&gt;    Me.cmdNew.Caption = MicroFour.StrataFrame.UI.Localization.RetrieveTextValue("UI_New", "Nuevo")&lt;br&gt;End Sub&lt;br&gt;&lt;br&gt;[/codesnippet]&lt;br&gt;&lt;br&gt;The above are just seudo code example of what you can do to work around. I hope this helps.&lt;br&gt;&lt;br&gt;Saludos&lt;br&gt;&lt;br&gt;</description><pubDate>Mon, 02 Jun 2008 06:52:10 GMT</pubDate><dc:creator>Guillermo Vilas</dc:creator></item><item><title>Toolbar in SF DevEx Manteinance Form does not localize captions</title><link>http://forum.strataframe.net/Topic16765-7-1.aspx</link><description>Hi&lt;/P&gt;&lt;P&gt;I'm using DevExpress controls, I use SF DevEx Manteinance Form and add the BO and controls needed. All works fine.&lt;/P&gt;&lt;P&gt;I configure my application to use  Spanish in the AppMain.vb&lt;FONT size=2&gt;&lt;/P&gt;&lt;P&gt;MicroFour.StrataFrame.UI.Localization.MessageLocaleID = 2058&lt;/P&gt;&lt;P&gt;The messages are in spanish, but the toolbar not. I use the designer and put the captions in Spanihs (New as Nuevo, Edit as Editar...) but every time I run the application the caption are again in english.&lt;/P&gt;&lt;P&gt;Can you please tell me what I'm doing wrong?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Mon, 02 Jun 2008 00:02:27 GMT</pubDate><dc:creator>Juan Carlos Pazos</dc:creator></item></channel></rss>