function createLanguageTag(sLanguage) {
		let oLanguageTag;
		if (sLanguage) {
			oLanguageTag = new LanguageTag(sLanguage);
		}
		return oLanguageTag;
	}
Helper that creates a LanguageTag object from the given language
or, throws an error for non BCP-47 compliant languages.

@param {string} sLanguage A BCP-47 compliant language
@returns {module:sap/base/i18n/LanguageTag} The resulting LanguageTag
@throws {TypeError} Throws a TypeError for unknown languages
@private
@since 1.120.0