FWIW, One of the project by Wikimedia foundation, the Universal Language Selector project has Language-Script-Region mapping for 600+ languages. A stand alone version of this project is available at http://translatewiki.net/w/extensions/UniversalLanguageSelector/lib/jquery.uls/examples/
More information: http://www.mediawiki.org/wiki/Universal_Language_Selector and a recent blog post about this https://blog.wikimedia.org/2012/08/14/internationalisation-language-selector-milkshake/ The language-script-region-autonym mapping is available at http://bit.ly/MLPzf9 Thanks Santhosh Thottingal

