mozilla/node-webmaker-i18n — pull request #11 by alicoding (2013-09-28 19:29:24+00:00)
Title: substituteMapping

substituteMapping function is use to overwrite the lang name if it is a lang from mapping, and substitute that to the value in which its pointing to.

e.g. mappings: { 'en': 'en-CA' } now 'en' will become 'en-CA'