| | | StrataFrame Beginner
       
Group: StrataFrame Users Last Login: 07/04/2008 3:22:55 AM Posts: 31, Visits: 107 |
| | I'm just evaluating Your framework and the only thing I need at the moment is to have all texts in my application in Czech. I have prepared a few custom texts and these are localized properly using embeded resource option. Is there any simple way how to translate 5 builtin texts? I do not want to specify anything else. I hope that when I need to localize five simple words, it is not necessary to build it into core of Your framework. As I have said, I'm just evaluating the framework. In case that I buy it and start to use it, I would definitely cooperate with You on Czech localization. But for now I need to have my test application completely translated without any other issues. Is it possible, please? If You can show me a simple piece of code that demonstrates how to do it, here are the czech translations Yes = Ano, No = Ne. |
| | | | StrataFrame Beginner
       
Group: StrataFrame Users Last Login: 07/04/2008 3:22:55 AM Posts: 31, Visits: 107 |
| | Additionally I'm posting my Message_Languages.xml: <? xml version="1.0" standalone="yes"?>< NewDataSet>< xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">< xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:MainDataTable="MessageLanguages" msdata:UseCurrentLocale="true">< xs:complexType>< xs:choice minOccurs="0" maxOccurs="unbounded">< xs:element name="MessageLanguages">< xs:complexType>< xs:sequence>< xs:element name="lng_pk" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" type="xs:int" minOccurs="0" />< xs:element name="lng_prj_pk" type="xs:int" minOccurs="0" />< xs:element name="lng_codepage" type="xs:int" minOccurs="0" />< xs:element name="lng_isolanguage" type="xs:string" minOccurs="0" />< xs:element name="lng_yes" type="xs:string" minOccurs="0" />< xs:element name="lng_no" type="xs:string" minOccurs="0" />< xs:element name="lng_retry" type="xs:string" minOccurs="0" />< xs:element name="lng_cancel" type="xs:string" minOccurs="0" />< xs:element name="lng_EventId" type="xs:string" minOccurs="0" />< xs:element name="lng_baselanguage" type="xs:boolean" minOccurs="0" />< xs:element name="lng_created" type="xs:dateTime" minOccurs="0" /></ xs:sequence></ xs:complexType></ xs:element></ xs:choice></ xs:complexType></ xs:element></ xs:schema>< MessageLanguages>< lng_pk>6</lng_pk>< lng_prj_pk>3</lng_prj_pk>< lng_codepage>1029</lng_codepage>< lng_isolanguage>ces</lng_isolanguage>< lng_yes>Ano</lng_yes>< lng_no>Ne</lng_no>< lng_retry>Znovu</lng_retry>< lng_cancel>Zruçit</lng_cancel>< lng_EventId>¬ˇslo ud losti</lng_EventId>< lng_baselanguage>true</lng_baselanguage>< lng_created>2008-03-21T07:51:15.653+01:00</lng_created></ MessageLanguages>< MessageLanguages>< lng_pk>4</lng_pk>< lng_prj_pk>3</lng_prj_pk>< lng_codepage>1033</lng_codepage>< lng_isolanguage>eng</lng_isolanguage>< lng_yes>Yes</lng_yes>< lng_no>No</lng_no>< lng_retry>Retry</lng_retry>< lng_cancel>Cancel</lng_cancel>< lng_EventId>Event ID</lng_EventId>< lng_baselanguage>true</lng_baselanguage>< lng_created>2008-03-20T16:50:03.487+01:00</lng_created></ MessageLanguages></ NewDataSet> |
| | | | 
Advanced StrataFrame User
       
Group: StrataFrame Users Last Login: 06/29/2008 10:06:12 AM Posts: 595, Visits: 10,664 |
| | Hi George. Having a nice weekend?  I have changed my Messaging Project to show Ano/Ne for Yes/No, which in my case (Portuguese), would be Sim/Não. So, I'm attaching some pictures with the steps I did to accomplish this. As I was trying to tell you before, this all went through the Localization & Messaging Editor. So, once you open the Localization and Messaging Editor, you go for the File Menu and choose Open Project. You will get the following screen, click on your project and choose Edit. 
Within my project, I will choose my language (Portuguese (Brazil), you would probably have added yours), and go for Edit again. 
Notice in the following picture, that I have changed my Yes/No strings into Ano/Ne: 
And this is one of my application's simple form, I made some changes and click the Close button, which brought the "Want to Save?" question. Have a look at the Yes/No buttons with Ano/Ne translations: 
Hope it helps. Have a nice Easter!  |
| | | | StrataFrame Beginner
       
Group: StrataFrame Users Last Login: 07/04/2008 3:22:55 AM Posts: 31, Visits: 107 |
| | Hi Ivan, thank You for Your help and patience. I have followed the steps You have described in Your post (I did the same before). However - I haven't got the result as You have got on the last picture. It seems to me that there is something wrong in my application an not in my localization project. I have created simple application where I have included the "Message_Languages.xml" file generated by LME. It is included in the attachment of this post. It seems to me that this file is completely ignored by application because when I change English texts to some mindless texts ("AAA", "BBB", etc.) the application still uses "Yes", "No", etc. I'm really confused by this and I'm so sorry for disturbing You :-(
|
| | | | 
Advanced StrataFrame User
       
Group: StrataFrame Users Last Login: 06/29/2008 10:06:12 AM Posts: 595, Visits: 10,664 |
| | Hey George! I have downloaded your sample and here are some things we could start working on: Your Message_Languages.xml is not embedded within your application. You could go this way, but it is recommended to use an embedded Message Store. Please, to help you get the idea, have a look at the help file under "Application Framework" / "Localization & Messaging Editor" / "Messaging" / "Configuring the Message Store" and also "Localization" Looking at you AppMain.vb, I can see you have set the MessageLocaleID to 1029, which is fine. But you haven't set up your Message Store, which will be required in case you don't embed it into your application. See if you make progress and then let me know if we need to work some more steps together. Cheers.  |
| |
|
|