void (String key) { super.invalidateCacheForExtension(key); // clear the entire cache because, if languages are unloaded, we won't be able to find cache keys for unloaded dialects of // a given language clearCache(); if ("any".equals(key)) { for (Language language : Language.getRegisteredLanguages()) { super.invalidateCacheForExtension(keyToString(language)); } } }