Strata Frame translation package


Author
Message
Felix M Avendano
Felix M Avendano
StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)
Group: Forum Members
Posts: 48, Visits: 1.5K
I need the strata frame translation package in spanish. Where can I get it?
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
I have to send it to you then you would have to change things, send it back, then I would have to recompile SF with the changes.

What seems to be wrong?  It may not be necessary to go through this process.  Thanks.

Felix M Avendano
Felix M Avendano
StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)
Group: Forum Members
Posts: 48, Visits: 1.5K
Nothing is wrong, the matter is  I cannot see, for example, the manteniancetollstrip in spanish when the program is running. I see it in spanish when I m in design mode but when the program is running I see it in english.
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
Ah, then that is not related to the packages, but rather how you have your application setup.  In the Appmain.vb or the program.cs, have you set the localization locale ID.  This is done in the InitApplication method:

MicroFour.StrataFrame.UI.Localization.MessageLocaleID = 2058;

The above is not actually what you may want to do for your application as that locale ID is for Spanish (Mexico).  We have SF Spanish flags set for 3 locales:

2058 - Spanish (Mexico)
3082 - Spanish (Spain)
11274 - Spanish (Argentina)

If these are not one of your locales then I would be happy to add another.  Finally, if you are getting the SF assemblies to automatically load the values, then you can forcibly call the RegisterEmbeddedXmlFile for the SF UI assembly:

MicroFour.StrataFrame.UI.Localization.RegisterEmbeddedXmlFile(...)


Felix M Avendano
Felix M Avendano
StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)
Group: Forum Members
Posts: 48, Visits: 1.5K
Here is what Ive got, but is still not working Sad

  Private Shared Sub InitApplication(ByVal e As InitializingApplicationEventArgs)
        '-- Add the main form type
        '-- If more than one form is added to the collection, they can be chosen by showing a "Gateway" form
        '   and supplying the index of the form to show (At least 1 form type must be added to the collection
        e.Forms.Add(GetType(WindowsApplication1.frmMenu))

        '-- ToDo:  Add any extra application initialization
        MicroFour.StrataFrame.UI.Localization.MessageLocaleID = 2058
        MicroFour.StrataFrame.UI.Localization.MessageKeyType = MicroFour.StrataFrame.Messaging.MessageKeyDataType.XML
        MicroFour.StrataFrame.UI.Localization.MessageLocaleID = MicroFour.StrataFrame.UI.Localization.GetActiveLanguage("WindowsApplication1")

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
If you create a new StrataFrame application, create a maintenance form with nothing on it other than a Maintenance Form Toolstrip, set your locale ID to 2058 and run, does it work?
Felix M Avendano
Felix M Avendano
StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)
Group: Forum Members
Posts: 48, Visits: 1.5K
No.
Felix M Avendano
Felix M Avendano
StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)
Group: Forum Members
Posts: 48, Visits: 1.5K
Check this out
Attachments
Design.zip (104 views, 244.00 KB)
Teddy Jensen
Teddy Jensen
StrataFrame Novice (112 reputation)StrataFrame Novice (112 reputation)StrataFrame Novice (112 reputation)StrataFrame Novice (112 reputation)StrataFrame Novice (112 reputation)StrataFrame Novice (112 reputation)StrataFrame Novice (112 reputation)StrataFrame Novice (112 reputation)StrataFrame Novice (112 reputation)
Group: StrataFrame Users
Posts: 52, Visits: 8K
Felix,

Isn't it because first you set it to localeID 2058 then later to the activelanguage of windowsapplication1.

If this active language is english or it is not set then this will overwrite the 2058 localeID. 

From the Localization docs:

GetActiveLanguage() - Retrieving the Active Language

The GetActiveLanguage method in the Localization class loads the locale ID for the active language for a specified application.  If no active language is located, the localization database will be used to find the default base language.

Try commenting out the last line in your code and run again.

/Teddy

Felix M Avendano
Felix M Avendano
StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)StrataFrame Novice (62 reputation)
Group: Forum Members
Posts: 48, Visits: 1.5K
Now is working OK. Thank YouuuuuuuBigGrin
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