Extension:CLDR

This extension contains local language names for different languages extracted from CLDR data.

Installation
Include it in LocalSettings.php: include("$IP/extensions/cldr/LanguageNames.php");

Updating data
Download newest data from CLDR site: http://www.unicode.org/cldr/repository_access.html

Example: wget http://www.unicode.org/Public/cldr/1.8.0/core.zip unzip core.zip -d core php rebuild.php

Parameters
For fallback:
 * FALLBACK_NATIVE: Go straight to MediaWiki's name entries
 * FALLBACK_NORMAL: Go through the fallback chain

For which languages to return:
 * LIST_MW_SUPPORTED: Only languages that have localization in MediaWiki
 * LIST_MW: All languages that are in Names.php
 * LIST_MW_AND_CLDR: All languages that are either in MediaWiki or in CLDR