Example: I test the securitySample, when I view the form in design mode this show "NUEVO" on the Add button, but when I run the form it show ADD
I changed in appMain
MicroFour.StrataFrame.UI.
or
MicroFour.StrataFrame.UI.Localization.MessageLocaleID = 11274 ; //MicroFour.StrataFrame.UI.Localization.GetActiveLanguage("SecuritySample");
Thanks!
No. The localized XML files are embedded within the UI assembly. If you hard code the MessageLocaleID to 1046, for example, in the AppMain and then run your application, do you get the Portuguese translations for the BrowseDialog? If so, does French do the same thing? Try this first and we can go from there.
Thanks for your help - I'm no longer having a problem with my search field captions or my column headings. Unfortunately, I am still having a problem with the standard portions of the form. I use the MicroFour.StrataFrame.UI.Localization.ShowAvailableLanguages() method in my code to allow the user to select a language. I have verified that after the user makes a selction, the value of MicroFour.StrataFrame.UI.Localization.MessageLocaleID has changed but it has no affect on the BrowseDialog. Are there database tables or XML files that contain the localized values that I need to distribute with my app? Or can you think of something else that I am missing? Thanks again.
Fran Parker
You can do this in code with the RetrieveTextValue method for the fields.
The BrowseDialog components are already translated in 8 languages and you do not have to do anything. Those fields will allow you to overwrite the values, but if you only need support for English, Spanish, Portuguese, Danish, German, French, Italian, or Russian then you don't have to do anything. When the MessageLocaleID is set to any of these languages the BrowseDialog will follow suit.