xbmc/xbmc — pull request #2643 by ace20022 (2013-04-22 12:03:06+00:00)
Title: [Python] Add xbmc.getLangauge(int format)

This PR allows addon devs to specify the format of the returned language string.
Possible values are:
* 0: full language
* 1: two letter code
* 2: three letter code

I've taken the ConvertToTwoCharCode method from @pieh's repository.
Thanks @pieh!

The feature request: http://forum.xbmc.org/showthread.php?tid=163023