mwaylabs/The-M-Project — pull request #113 by denehs (2013-06-10 11:56:55+00:00)
Title: fix getLanguage in i18n.js

we need to normalize the language string before trying to match them
with available languages:

1. in lower case
2. replace '-' by '_'

ex. zh-TW => zh_tw, zh-CN => zh_cn