What about Wisej.Web.Ext.DevExtreme.dxDataGrid licalization

0
0

Hi!

What about Wisej.Web.Ext.DevExtreme.dxDataGrid licalization?

How to localize the component. I read Devex help topics about it but can manage to set locale in Wisej.Web.Ext.DevExtreme extention. As I managed to set theme for example: Ext.DevExtreme.dxBase.Theme = “generic.custom_scheme_02”

Some help?

Thank you!

 

  • You must to post comments
0
0

Something went wrong…

I tried:

Application.Eval(“DevExpress.localization.locale(‘de’);”)

Application.Eval(“DevExpress.localization.locale(‘de’)”)

But I received an error message: DevExpress is not defined. What is wrong.

Please find image attached.

Attachment
  • You must to post comments
0
0

How to call DevExpress.localization.locale(“{lang}”) as I do not find such DevExpress namespace in your DevExpress extention.

Would you please write a line of sample code?

Please find image attached.

Thank you!

Attachment
  • Luca (ITG)
    It’s javascript Application.Eval(“DevExpress.localization.locale(‘it’)”)
  • mgmst
    • mgmst
    • Apr 20, 2021 - 4:37 pm
    WOW thank you. I am so out of JS experience.
  • You must to post comments
0
0

Thank you!

Wisej default.json do not work for my scenario as I need locale change in runtime, in order my customers being able to change interface language with a click of a button.

I will play with the rest of your solution.

May I contact DevExpress for support as well, as I have big problems with their DataGrid API usage scenario. They said that they need some example of my data grid usage project. So I have to send them demo project with your DevExpress extention. Is it OK with you?

Soon I will post some more questions about DevExpress API and usage scenario here in your forum, but for now I try manage it by myself.

Best whishes!

Mariyan

  • You must to post comments
0
0

You have to load one of the “dx.messages.{lang}.js” packages and call DevExpress.localization.locale(“{lang}”);

https://js.devexpress.com/Demos/WidgetsGallery/Demo/Localization/UsingIntl/jQuery/Light/

The wisej extension includes a bunch of languages already but a bug in the C# compiler prevents it to embed any file that has a dot and a two-letter language at the end. I have changed them to messages_{lang}.js and will update github. Also added the automatic selection using the culture set in Wisej default.json.

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.