eXpandFramework / eXpand

DevExpress XAF (eXpressApp) extension framework. 𝗹𝗶𝗻𝗸𝗲𝗱𝗶𝗻.𝗲𝘅𝗽𝗮𝗻𝗱𝗳𝗿𝗮𝗺𝗲𝘄𝗼𝗿𝗸.𝗰𝗼𝗺, 𝘆𝗼𝘂𝘁𝘂𝗯𝗲.𝗲𝘅𝗽𝗮𝗻𝗱𝗳𝗿𝗮𝗺𝗲𝘄𝗼𝗿𝗸.𝗰𝗼𝗺 and 𝘁𝘄𝗶𝘁𝘁𝗲𝗿 @𝗲𝘅𝗽𝗮𝗻𝗱𝗳𝗿𝗮𝗺𝗲𝘄𝗼𝗿𝗸 and or simply 𝗦𝘁𝗮𝗿/𝘄𝗮𝘁𝗰𝗵 this repository and get notified from 𝗚𝗶𝘁𝗛𝘂𝗯
http://expand.expandframework.com
Microsoft Public License
220 stars 114 forks source link

[23.1] How to change aspect in ModelDifference DetailView? #1034

Closed allshib closed 5 months ago

allshib commented 9 months ago

When I open the DetailView of a model, it shows "Default Language". I want to change the language of the model in this view to my own. But I didn't see the Language Switcher. How can I change Aspect or set my default Aspect?

apobekiaris commented 9 months ago

this worked for me

image

allshib commented 9 months ago

Thanks for the reply. After changing Preferred Aspect in the view, the model is not updated.

apobekiaris commented 9 months ago

worked fine on my side

image image

provide exact repro instructions

allshib commented 9 months ago

Thanks for the reply. I'll try this.

allshib commented 9 months ago

I looked into the problem and this is what I found. What you show does work correctly, but my problem is a bit different. I found a way to get the language button back. I have 2 versions of an application: .NET Framework 4.7.2 and the same application on .NET 6. After reverting the button, the problem on .NET Framework 4.7.2 disappeared, but unfortunately not on .NET 6. I will try to describe my problem in more detail. After returning the button to .NET 6, the model localizations specified in the model localization files were not loaded into it (everything loaded fine in .NET Framework 4.7.2). It is possible that the resources in .NET 6 version are not loaded somewhere. image

apobekiaris commented 9 months ago

The package uses an editor for it and I guess there were reasons designed like this, what you trying to do is a custom solution and I am afraid I cannot spent time researching it.

expand commented 5 months ago

Closing issue for age. Feel free to reopen it at any time.

.Thank you for your contribution.