StrataFrame Forum

problem with Localization of ThemedGroupBox

http://forum.strataframe.net/Topic18109.aspx

By David Daragon - 7/27/2008

Hi,

My application supports 3 languages. I set the PropertyToLocalize with Title.

When I run my application, the title doesn't update and stay in french language whereas the language is english one.

I made tests with the normal GroupBox and it works.

Is there a bug ?

David

By Ivan George Borges - 7/28/2008

Hi David.

I have tested over here and it worked in my application. Something you could check is if you have the LocalizationKey defined in both French and English. And of course, that you have "Generated XML" after you created your Text Values.

Cheers.

By David Daragon - 7/28/2008

Of course, my localizationKey is defined both in french and english and I exported my XML files.

I join screen copies.

By Ivan George Borges - 7/28/2008

Of course, my localizationKey is defined both in french and english and I exported my XML files.

Yep, I suspected you did... I was just trying to think of something that could have been missed. I usually forget to generate the XMLs after creating a new key.

I have tried to duplicate the problem, but haven't been successful. One thing I noticed on your print screens is that your control is applying Full ThemeSupport, but then the picture doesn't seem to show this characteristic. Once again, just thinking of something to check, you don't set the Title programaticaly anywhere, right?

By Juan Carlos Pazos - 7/28/2008

Hi

I had the samep problem (with two languages only) and it was corrected afetr update StrataFrame to last beta version. Maybe it was a bug.

Try installing the most recent SF version (the beta)

Regards

By Trent L. Taylor - 7/28/2008

Yes, this was a bug and it has been fixed in the latest build.  Sorry Ermm
By David Daragon - 7/28/2008

Hi Ivan,

Thanks for your help.

I have a combo on which I select the theme and in my example I don't set any theme.

I see my code and I don't set the Title programaticaly anywhere. So i'm a bit disappointed.

David

By Ivan George Borges - 7/28/2008

Hey David.

No need to be disappointed at all! You are just finding your ways into the framework.

First, have you read the posts after mine? It looks like this has been corrected, so go to this link and reinstall StrataFrame:

http://forum.strataframe.net/FindPost18055.aspx

Now, about the themes, have you dropped a DefaultApplicationTheme control on your form?

By Trent L. Taylor - 7/28/2008

David,

I don't understand your question.  What are you referring to on the combo when you are talking about the Theme and Title?  A combo doesn't follow SF themes, as it doesn't need to...and there is not a Title property on a combo.

By David Daragon - 7/28/2008

Ok thanks for your help Ivan, Juan Carlos and Trent.

I will install the latest version tomorrow morning at work.

Ivan : I have no DefaultApplicationTheme control on my form. I create my theme in my code but I can't tell you more details because I'm at home and no in front of my code. I'll see tomorrow in detail

Thanks again for your help.

Regards

David

By David Daragon - 7/28/2008

Hi,

I installed the latest build this morning and now it works. Thanks a lot.

Trent,

when I speak about a combo, it's because Ivan asked me a question about my ThemeSupport. And I answered him that I have a combo on which I select the theme and in my example, I don't set any theme that's why he can't see he characteristic of a Full ThemeSupport. I know that a combo doesn't follow SF themes Wink

I think that your Localization and Message Editor is a very good tools ! I like it !

David

By Ivan George Borges - 7/29/2008

I think that your Localization and Message Editor is a very good tools ! I like it !

David

Glad you got it going, David! Cool