code: function loadNamespaces(i18n, ns, cb) {
      i18n.loadNamespaces(ns, () => {
        // delay ready if not yet initialized i18n instance
        if (i18n.isInitialized) {
          cb();
        } else {
          const initialized = () => {
            // due to emitter removing issue in i18next we need to delay remove
            setTimeout(() => {
              i18n.off('initialized', initialized);
            }, 0);
            cb();
          };
  
          i18n.on('initialized', initialized);
        }
      });
    }
docs: not needed right now  export function deprecated(...args) { if (process && process.env && (!"development" || "development" === 'development')) { if (typeof args[0] === 'string') args[0] = `deprecation warning -> ${args[0]}`; warnOnce(...args); } }