setLanguage = async language => {
    if (curLanguage === language) {
      return;
    }
    curLanguage = language;
    await (0, _languageChange.fireLanguageChange)(language);
    await (0, _Render.reRenderAllUI5Elements)({
      languageAware: true
    });
  }
Changes the current language, re-fetches all message bundles, updates all language-aware components
and returns a promise that resolves when all rendering is done.

@param {string} language
@public
@returns {Promise<void>}