Closed rapidrapids closed 11 years ago
Hi,
Actually, the "location of language files" thing is already sitting in my development version (that I will push to github - promise!). Due to the way the language stuff has been coded, deriveLocale is only able to work at a global level, not on individual datepickers - it can already be set within the script tag (using JSON) or by using the setGlobalOptions method.
I really have to get the current development version up on github - I shall make a concerted effort to do this by next week! (it normally takes someone to prompt me like this - sad but true I'm afraid!).
Many thanks for the feedback!
You can now pass the key "languageFileLocation" (but only when passing the JSON block within the script tags I'm afraid, it has no effect when passed to the setGlobalOptions method) to set the URI used when downloading the language files. Hope this helps.
I'd like to propose the following (happy to develop this if you are happy?):
deriveLocale
should be completely optional (an option that you can pass intocreateDatePicker
), if set to false - then no attempt is made to load a file fromlang/