code: function convertLocaleToBCP47(sLocale) {
  		var m;
  		if ( typeof sLocale === 'string' && (m = rLocale.exec(sLocale.replace(/_/g, '-'))) ) {
  			var sLanguage = m[1].toLowerCase();
  			sLanguage = M_ISO639_OLD_TO_NEW[sLanguage] || sLanguage;
  			return sLanguage + (m[3] ? "-" + m[3].toUpperCase() + (m[4] ? "-" + m[4].slice(1).replace("_","-") : "") : "");
  		}
  	}
docs: Helper to normalize the given locale (java.util.Locale format) to the BCP-47 syntax.
  @param {string} sLocale locale to convert
  @returns {string} Normalized locale or undefined if the locale can't be normalized