function createLanguageTag(vLanguageTag) {
		let oLanguageTag;
		if (vLanguageTag && typeof vLanguageTag === 'string') {
			try {
				oLanguageTag = new LanguageTag(vLanguageTag);
			} catch (e) {
				// ignore
			}
		} else if (vLanguageTag instanceof LanguageTag) {
			oLanguageTag = vLanguageTag;
		}
		return oLanguageTag;
	}
Helper that creates a LanguageTag object from the given language
or, throws an error for non BCP-47 compliant languages.

@param {string|module:sap/base/i18n/LanguageTag} vLanguageTag A BCP-47 compliant language tag
@returns {module:sap/base/i18n/LanguageTag} The resulting LanguageTag
@private
@since 1.116.0