* The jQuery selectors should be referring to the menu for the current ULS instance rather than querying on the page. This allows multiple instances of ULS present in the page * Keep the HTML template with the plugin. No more HTML added from hooks. * Updated the example based on above change. * Updated the hooks code. * Some more documentation. Change-Id: I48e2e167bc2c09b8653a142c50317c22e8ba1362
jQuery Universal Language Selector
Universal Language Selector
Introduction
Preparing language data
The language names, autonyms, region informations are present in src/jquery.uls.data.js. But this file is auto generated from data/langdb.yaml. If you want to make any changes to the language data, edit data/langdb.yaml and generate the src/jquery.uls.data.js using
php ulsdata2json.php