Problem with Translation


Author
Message
Rainer Kempf, RK
Rainer Kempf, RK
StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)
Group: StrataFrame Users
Posts: 55, Visits: 1.4K
Hello



I have 2 Problems :



1.



In MessageEditor i had defined my messages.

for German-Language i translate buttons with German Caption.



When i run Application Messagetext appears in German

only Captions of Buttons are in English.





2.



in AppMAin where i set Datasource





Private Shared Sub SetDataSources()





MicroFour.StrataFrame.UI.Localization.MessageLocaleID = 1031



ConnectionManager.ApplicationKey = "MKSGoliathNet"

ConnectionManager.ApplicationDefaultTitle = "MKSGoliathNet Verbindungen"

ConnectionManager.ApplicationDefaultDescription = "Diese Verbindung wird von GoliathNet verwendet"







Dialog appears in English



So what did i wrong ?





Thanks for your help



Rainer

Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Hi Rainer.

Have you embedded your Localization Files into your project?


Rainer Kempf, RK
Rainer Kempf, RK
StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)
Group: StrataFrame Users
Posts: 55, Visits: 1.4K
Hi Ivan



thanks for reply



Yes i did



Also i check again Message_languages.xml



-

5

3

1031

deu

Ja

Nein

Wiederholen

Abbruch

Event ID

true

2008-11-19T16:37:42.983+01:00



-

4

3

1033

eng

Yes

No

Retry

Cancel

Event ID

false

2008-11-19T16:36:22.86+01:00





Here are Translations correct.



Any new idea ?



thanks



Rainer
Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
You also embedded your Messages_1031.XML file, right?

Please, try registering your XML in code, in the InitApplication sub:

    MicroFour.StrataFrame.UI.Localization.RegisterEmbeddedXmlFile(Reflection.Assembly.GetExecutingAssembly(), "Offisys.ProFilmeNET.Message_Languages.xml")
    MicroFour.StrataFrame.UI.Localization.RegisterEmbeddedXmlFile(Reflection.Assembly.GetExecutingAssembly(), "Offisys.ProFilmeNET.Messages_1031.XML")


Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Sorry, were you see "Offisys.ProFilmeNET", just put your NameSpace... Blush
Rainer Kempf, RK
Rainer Kempf, RK
StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)
Group: StrataFrame Users
Posts: 55, Visits: 1.4K
Hi Ivan



Thanks for your help.



I changed now to External XML and it works fine with Messagebox.



But for DataBaseConnectionWizard it doesnt work.



Is this wizard Pre-Localized ?





Rainer
Attachments
DatabaseConnectionWizard.PNG (114 views, 47.00 KB)
Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Good you got it working, but I think you could insist a bit more to get your Embedded XML Files working, since this is really the recommended way. If you feel like keeping on trying, don't worry about posting any doubts you get during the process, we will get there.

As for the Connection Wizard, I have a feeling it is not pre-localized yet.

Rainer Kempf, RK
Rainer Kempf, RK
StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)
Group: StrataFrame Users
Posts: 55, Visits: 1.4K
Hi Ivan



Thanks again for your help.



Then i must ask Trent .





Trent, is the Database-Connection-Wizard localized ?



If not, how can i handle this in best way ?



thanks



Rainer
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
No. The Connection String Wizard is one of the few items that is not pre-localized.  The reason that it isn't is because most developers choose to use their own connection mechanism versus the Connection String Wizard in the field.  In truth, you could create your own connection dialog quickly and easily and manually set the connection, which like mentioned, is what most developers elect to do.

In our medical application, we never ask for a connection from the workstations, only the server.  The workstations all look for the server (UDP or IP) and once found, the server sends the workstation the connection string.  This makes it MUCH easier than trying to setup every workstation.

Other developers have a central location to which the workstations look (similar to our server approach minus the server) and then pull the connection string from that location when the workstation fires up.

We will more than likely localize this dialog in the next major version, but at present, it would require a significant amount of effort to retro-fit this.

Rainer Kempf, RK
Rainer Kempf, RK
StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)
Group: StrataFrame Users
Posts: 55, Visits: 1.4K
hello trent





thanks for the info



Rainer

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search