loadLocaleScript(value) {
    const promise = import(`./cultures/${value}.js`);
    promise.then((module) => {
      // do something with the locale data
      this.loadedLocales.set(value, module.locale);
    });
    return promise;
  }
/**
   * Load a locale file
   * @private
   * @param {string} value The script file name
   * @returns {Promise} A promise that will resolve when complete
   */
Load a locale file
@private
@param {string} value The script file name
@returns {Promise} A promise that will resolve when complete
Load a locale file @private @param { string } value The script file name @returns { Promise } A promise that will resolve when complete
loadLocaleScript(value) {
    const promise = import(`./cultures/${value}.js`);
    promise.then((module) => {
      this.loadedLocales.set(value, module.locale);
    });
    return promise;
  }
loadLocaleScript ( value ) { const promise = import ( ` ${ value } ` ) ; promise . then ( ( module ) => { this . loadedLocales . set ( value , module . locale ) ; } ) ; return promise ; }
Load a locale file
 @private
 @param {string} value The script file name
 @returns {Promise} A promise that will resolve when complete
Load a locale file @private @param { string } value The script file name @returns { Promise } A promise that will resolve when complete
// do something with the locale data