Hi,
I have a web application where I use i18next library. With that one I built up my own custom library to translate all the application in real-time behavior.
Now I am interfacing with igGrid and my question is: how can I perform real time translation on this infragistics object? Is there a way to change locale and regional properties after the user has selected a different culture from my web site multiculure drop down, but without a page refresh?
Note that I am using ig loader, so: first page loading shows grid well translated. I need that beahvior also after a possible user culture change, without to refresh the page.
Thanks
Flavio M.
Hello Flavio,
It is possible to change the locale of the Ignite UI controls dynamically, but currently this requires re-downloading the script files and re-creating the controls. I'm attaching a sample which demonstrates this approach for your reference.
There is a room for improvement supporting this use case. You can log it as a new product idea if you want.
Hope this helps,
Martin Pavlov
Infragistics, Inc.
Please, let me know if you need further assistance regarding this matter.
Best regards,Martin PavlovInfragistics, Inc.
I'm attaching a revised sample which fixes the issue described by Flavio.
Any news on this topic?
Hi Martin,
were you able to reproduce my last reported issue?
I tried to execute your sample, reproducing it on my scenario.
I've spent different days to realize that in my solution it did not work the same as yours ;-)
Let me explain the problem (I think a very little one). Your sample, and so my application, work great: if you change the culture you see igGrid destroying and re-creating with right culture, except for one: en. Try to play with your sample: going from fr to ja it works. Going to de it works and coming back to fr it works again, but if you set en you will have no update on culture...
And this is exactly what I have on my app. Could it be that en needs a different approach?
Thanks in advance!