function defaultLocale(sFallbackLocale) {
		var sLocale;
		// use the current session locale, if available
		if (window.sap && window.sap.ui && sap.ui.getCore) {
			sLocale = sap.ui.getCore().getConfiguration().getLanguage();
			sLocale = normalize(sLocale);
		}
		// last fallback is fallbackLocale if no or no valid locale is given
		return sLocale || sFallbackLocale;
	}
/**
	 * Returns the default locale (the locale defined in UI5 configuration if available, else fallbackLocale).
	 *
	 * @param {string} sFallbackLocale If the locale cannot be retrieved from the configuration
	 * @returns {string} The default locale
	 * @private
	 */
Returns the default locale (the locale defined in UI5 configuration if available, else fallbackLocale).
@param {string} sFallbackLocale If the locale cannot be retrieved from the configuration
@returns {string} The default locale
@private
Returns the default locale ( the locale defined in UI5 configuration if available else fallbackLocale ) . @param { string } sFallbackLocale If the locale cannot be retrieved from the configuration @returns { string } The default locale @private
function defaultLocale(sFallbackLocale) {
		var sLocale;
		if (window.sap && window.sap.ui && sap.ui.getCore) {
			sLocale = sap.ui.getCore().getConfiguration().getLanguage();
			sLocale = normalize(sLocale);
		}
		return sLocale || sFallbackLocale;
	}
function defaultLocale ( sFallbackLocale ) { var sLocale ; if ( window . sap && window . sap . ui && sap . ui . getCore ) { sLocale = sap . ui . getCore ( ) . getConfiguration ( ) . getLanguage ( ) ; sLocale = normalize ( sLocale ) ; } return sLocale || sFallbackLocale ; }
Returns the default locale (the locale defined in UI5 configuration if available, else fallbackLocale).
Returns the default locale ( the locale defined in UI5 configuration if available else fallbackLocale ) .
// use the current session locale, if available // last fallback is fallbackLocale if no or no valid locale is given