Added autonyms directly to langdb.yaml

* Can add languages not in MW
* Can get rid of foo / bar names which include different scripts
* Can get rid of directionality marks
* PHP scripts to generate the jquery.uls.data.js is now independent of
  mediawiki and moved the scripts to lib/jquery.uls/data
* No pretty printing for the jquery.uls.data.js and added a 'do not edit' comment.
* Related changes in RL module definition and example html

Change-Id: I9a360dbdec4e9312aa5c76f801424ff95a8550d6
This commit is contained in:
Niklas Laxström
2012-08-12 19:28:23 +00:00
committed by Gerrit Code Review
parent d2bdb80acc
commit a2e3671a26
8 changed files with 1654 additions and 898 deletions

View File

@@ -1,4 +1,19 @@
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
```bash
php ulsdata2json.php
```