On Thu, Jul 30, 2009 at 6:44 AM, Tim <[email protected]> wrote: > > When the .regional setting is made (e.g. .regional['fr']), am I > correct in thinking that the corresponding "fr" file (ui.datepicker- > fr.js) is accessed and the settings from that file (closeText, > prevText, datName, etc) are applied? >
It's actually the otherway round. When you include ui.datepicker-fr.js it sets the default region to .regional['fr'] > > My reason for asking is that in my application, I am using zh-CHS as > simplified Chinese - the name of the corresponding file contains "zh- > CN". > The filename does not matter. As long as you include the correct localisation file your app should work. > > If I were to rename the ui.datepicker-zh-CN.js to ui.datepicker-zh- > CHS.js would I get the correct localization settings? > Yes. That's if you then include it as ui.datepicker-zh-CHS.js --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---
