Hello there.
I am working on a multilingual mobile app using IgniteUI. I want to reload igmList on the go for different languages.
Please have a look at the example in the attachment.
Basically what I would like is to call the $.ig.loader() with different locale depending on user's choice and reformat the data accordingly.
What is the best way to achieve this?
Here is a snippet from the file:
function DE() {
$.ig.loader({ scriptPath: "mobile/js", cssPath :"mobile/css", resources :"igmList.Filtering, igmList.Sorting", locale :"de", regional:"de" }); console.log($.ig.loader().log()); };
In the console I can see the log and once I choose anything different from the default, the loader sticks with it.
I am using: Infragistics.Web.ClientUI Util functions 13.2.20132.1010
Dear Dimitar Todorov,
Thanks for using Ignite UI controls.
You may refresh the page on language changed and pass the changed language via URL parameter or store it in the local storage. Another option is manually unload the language scripts and add new ones. The loader only load resources on page load.
Please feel free to contact me if you have any additional questions regarding this matter.
Best Regards,
Stanimir Todorov
Thank you for your answer.
Unfortunately the suggested solutions are unsuitable for our app.
We would like partial reload of the ListView component with new localization without reloading the whole app(page).
Otherwise the suggested options work just fine.
Dimitar Todorov
Hello Dimitar,
Dimitar Todorov said:We would like partial reload of the ListView component with new localization without reloading the whole app(page).
Manual loading/unloading scripts should work in this case. If you're not sure how to implement this approach we will be happy to help.
Best regards,Martin PavlovInfragistics, Inc.
It would be very helpful to see an example of this.
Thank you.
Hello Dimitar Todorov,
I created the following case for you: 'CAS-135671-R7Z5J7' and will update you through it. You could see it in your account in the 'Support Activity' page.