public IStringLocalizer Create(Type resourceSource)
        {
            if (_resourceLocalizations.Keys.Contains(resourceSource.FullName))
            {
                return(_resourceLocalizations[resourceSource.FullName]);
            }

            var localizer = new DexStringLocalizer(_client, _logger, _options, resourceSource.FullName);

            return(_resourceLocalizations.GetOrAdd(resourceSource.FullName, localizer));
        }
        public IStringLocalizer Create(string baseName, string location)
        {
            string key = baseName + location;

            if (_resourceLocalizations.ContainsKey(key))
            {
                return(_resourceLocalizations[key]);
            }

            var localizer = new DexStringLocalizer(_client, _logger, _options, key);

            return(_resourceLocalizations.GetOrAdd(key, localizer));
        }