I want to create phonegap application that has two interfaces one in English language the lets say other one French ..
What is the best practice to do that? is there any way or pre-defined method?
should I use local storage?
can any one give me tips or clear code example?
my application uses html , jquery mobile, json , external mysql database, and php
There are a lot of ways to approach this, but the ones I've seen used the most is defaulting to English and then letting the user set the language in some sort of options menu. This option would probably be stored locally but it can be stored for the account if the app is going to be installed on multiple devices and you want syncing between devices. I don't have any code at the moment but its just a variable check on what interface to display which should be pretty simple to implement.