I wanted to know if anyone has a really simple sample project of Dojo using the mobile module for i18n? Or can someone do the simplest thing possible in a few minutes and share a sample project with me? I'm really struggling to understand how to get this to work and provide the files in the correct manner that the app is expecting. Unfortunately, I don't know enough about Dojo to make sense of the reference guides on this topic, and I can't find ANY examples online. The way in which I've been trying to get it to work is as follows:
Day Of The Weekto my home screen on the app
- putting this in my main js file wlCommonInit method: dojo.require("dojox.mobile.i18n");
And this is kind of where I'm stuck. The doc (https://dojotoolkit.org/reference-guide/1.8/dojox/mobile/internationalization.html) says that you then need to specify the nls resource to look something like this:
L_DAY_OF_THE_WEEK: "Day of the Week",
but where do I define this? How would it know where to locate this nls file?
I'm awfully confused and feel a really simple project to have a look at would be extremely helpful if anyone would be so kind. If not, if you could provide any help that would be wonderful.