docs: function transformOptions(options) {
    // create namespace object if namespace is passed in as string
    if (typeof options.ns === 'string') options.ns = [options.ns];
    if (typeof options.fallbackLng === 'string') options.fallbackLng = [options.fallbackLng];
    if (typeof options.fallbackNS === 'string') options.fallbackNS = [options.fallbackNS];
  
    // extend whitelist with cimode
    if (options.whitelist && options.whitelist.indexOf('cimode') < 0) options.whitelist.push('cimode');
  
    return options;
  }