How to reload files

Hi,

In my application what I am doing is that I have a dropdown for locale selection and I am changing the UI based on the dropdown selection.

Issue-> I have some files which are loaded when the app loads and when I choose another locale from dropdown those files are not reloaded.

Is there any option to load those files(I have a callback where I can specify that) other than the page reload?

Thanks
Gaurav Balyan

“some files which are loaded”?

This doesn’t mean anything to me.

Thanks for the replies let me try to reiterate my issue, I have three files (french.js,chinese.js and english.js) which are loaded initially.

I am using counterpart library for locale change what it does is load the appropriate file according to the locale selected by user.

My issue is that if I have selected english locale it is displaying UI in english but if I have changed the locale it is not able to load the relevant file.

Thanks