function ResourceBundle(sUrl, sLocale, bIncludeInfo, bAsync, aSupportedLocales, sFallbackLocale, bSkipFallbackLocaleAndRaw){
		// locale to retrieve texts for (normalized)
		this.sLocale = normalize(sLocale) || defaultLocale(sFallbackLocale === undefined ? sDefaultFallbackLocale : sFallbackLocale);
		this.oUrlInfo = splitUrl(sUrl);
		this.bIncludeInfo = bIncludeInfo;
		// list of custom bundles
		this.aCustomBundles = [];
		// declare list of property files that are loaded,
		// along with a list of origins
		this.aPropertyFiles = [];
		this.aPropertyOrigins = [];

		this.aLocales = [];

		// list of calculated fallbackLocales
		// note: every locale which was loaded is removed from this list
		this._aFallbackLocales = calculateFallbackChain(
			this.sLocale,
			// bundle specific supported locales will be favored over configuration ones
			aSupportedLocales || defaultSupportedLocales(),
			sFallbackLocale,
			" of the bundle '" + this.oUrlInfo.url + "'",
			bSkipFallbackLocaleAndRaw
		);

		// load the most specific, existing properties file
		if (bAsync) {
			var resolveWithThis = function() { return this; }.bind(this);
			return loadNextPropertiesAsync(this).then(resolveWithThis, resolveWithThis);
		}
		loadNextPropertiesSync(this);
	}
/**
	 * @class Contains locale-specific texts.
	 *
	 * If you need a locale-specific text within your application, you can use the
	 * resource bundle to load the locale-specific file from the server and access
	 * the texts of it.
	 *
	 * Use {@link module:sap/base/i18n/ResourceBundle.create} to create an instance of sap/base/i18n/ResourceBundle
	 * (.properties without any locale information, e.g. "mybundle.properties"), and optionally
	 * a locale. The locale is defined as a string of the language and an optional country code
	 * separated by underscore (e.g. "en_GB" or "fr"). If no locale is passed, the default
	 * locale is "en" if the SAPUI5 framework is not available. Otherwise the default locale is taken from
	 * the SAPUI5 configuration.
	 *
	 * With the getText() method of the resource bundle, a locale-specific string value
	 * for a given key will be returned.
	 *
	 * With the given locale, the resource bundle requests the locale-specific properties file
	 * (e.g. "mybundle_fr_FR.properties"). If no file is found for the requested locale or if the file
	 * does not contain a text for the given key, a sequence of fallback locales is tried one by one.
	 * First, if the locale contains a region information (fr_FR), then the locale without the region is
	 * tried (fr). If that also can't be found or doesn't contain the requested text, a fallback language
	 * will be used, if given (defaults to en (English), assuming that most development projects contain
	 * at least English texts). If that also fails, the file without locale (base URL of the bundle,
	 * often called the 'raw' bundle) is tried.
	 *
	 * If none of the requested files can be found or none of them contains a text for the given key,
	 * then the key itself is returned as text.
	 *
	 * Exception: Fallback for "zh_HK" is "zh_TW" before "zh".
	 *
	 * @since 1.58
	 * @alias module:sap/base/i18n/ResourceBundle
	 * @public
	 * @hideconstructor
	 */
@class Contains locale-specific texts.
If you need a locale-specific text within your application, you can use the
resource bundle to load the locale-specific file from the server and access
the texts of it.



With the getText() method of the resource bundle, a locale-specific string value
for a given key will be returned.

With the given locale, the resource bundle requests the locale-specific properties file
. If no file is found for the requested locale or if the file
does not contain a text for the given key, a sequence of fallback locales is tried one by one.
First, if the locale contains a region information (fr_FR), then the locale without the region is
tried (fr). If that also can't be found or doesn't contain the requested text, a fallback language
will be used, if given (defaults to en (English), assuming that most development projects contain
at least English texts). If that also fails, the file without locale (base URL of the bundle,
often called the 'raw' bundle) is tried.

If none of the requested files can be found or none of them contains a text for the given key,
then the key itself is returned as text.



@since 1.58
@alias module:sap/base/i18n/ResourceBundle
@public
@hideconstructor
@class Contains locale - specific texts . If you need a locale - specific text within your application you can use the resource bundle to load the locale - specific file from the server and access the texts of it . With the getText () method of the resource bundle a locale - specific string value for a given key will be returned . With the given locale the resource bundle requests the locale - specific properties file . If no file is found for the requested locale or if the file does not contain a text for the given key a sequence of fallback locales is tried one by one . First if the locale contains a region information ( fr_FR ) then the locale without the region is tried ( fr ) . If that also can ' t be found or doesn ' t contain the requested text a fallback language will be used if given ( defaults to en ( English ) assuming that most development projects contain at least English texts ) . If that also fails the file without locale ( base URL of the bundle often called the ' raw ' bundle ) is tried . If none of the requested files can be found or none of them contains a text for the given key then the key itself is returned as text . @since 1 . 58 @alias module : sap / base / i18n / ResourceBundle @public @hideconstructor
function ResourceBundle(sUrl, sLocale, bIncludeInfo, bAsync, aSupportedLocales, sFallbackLocale, bSkipFallbackLocaleAndRaw){
		this.sLocale = normalize(sLocale) || defaultLocale(sFallbackLocale === undefined ? sDefaultFallbackLocale : sFallbackLocale);
		this.oUrlInfo = splitUrl(sUrl);
		this.bIncludeInfo = bIncludeInfo;
		this.aCustomBundles = [];
		this.aPropertyFiles = [];
		this.aPropertyOrigins = [];
		this.aLocales = [];
		this._aFallbackLocales = calculateFallbackChain(
			this.sLocale,
			aSupportedLocales || defaultSupportedLocales(),
			sFallbackLocale,
			" of the bundle '" + this.oUrlInfo.url + "'",
			bSkipFallbackLocaleAndRaw
		);
		if (bAsync) {
			var resolveWithThis = function() { return this; }.bind(this);
			return loadNextPropertiesAsync(this).then(resolveWithThis, resolveWithThis);
		}
		loadNextPropertiesSync(this);
	}
function ResourceBundle ( sUrl , sLocale , bIncludeInfo , bAsync , aSupportedLocales , sFallbackLocale , bSkipFallbackLocaleAndRaw ) { this . sLocale = normalize ( sLocale ) || defaultLocale ( sFallbackLocale === undefined ? sDefaultFallbackLocale : sFallbackLocale ) ; this . oUrlInfo = splitUrl ( sUrl ) ; this . bIncludeInfo = bIncludeInfo ; this . aCustomBundles = [ ] ; this . aPropertyFiles = [ ] ; this . aPropertyOrigins = [ ] ; this . aLocales = [ ] ; this . _aFallbackLocales = calculateFallbackChain ( this . sLocale , aSupportedLocales || defaultSupportedLocales ( ) , sFallbackLocale , " of the bundle '" + this . oUrlInfo . url + "'" , bSkipFallbackLocaleAndRaw ) ; if ( bAsync ) { var resolveWithThis = function ( ) { return this ; } . bind ( this ) ; return loadNextPropertiesAsync ( this ) . then ( resolveWithThis , resolveWithThis ) ; } loadNextPropertiesSync ( this ) ; }
@class Contains locale-specific texts.
@class Contains locale - specific texts .
// locale to retrieve texts for (normalized) // list of custom bundles // declare list of property files that are loaded, // along with a list of origins // list of calculated fallbackLocales // note: every locale which was loaded is removed from this list // bundle specific supported locales will be favored over configuration ones // load the most specific, existing properties file