---
title: "Bugfix: Empty language list is not cached"
manual: "DeepL Translate (CORE)"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/deepltranslate-core:bugfix-empty-language-list-is-not-cached-1796056312@main"
source: "Changelog/6.1/Bugfix-EmptyLanguageListIsNotCached.rst"
rendered: "2026-12-02T07:39:52+00:00"
---

# Bugfix: Empty language list is not cached {#bugfix-empty-language-list-is-not-cached-1796056312}

## Description {#description}

When the request for the supported languages failed once, for example
because of a network error, a timeout, an exceeded quota or a wrong API key,
`\WebVision\Deepltranslate\Core\Service\DeeplService` got an
empty list and cached it for 24 hours. During that time every target
language counted as unsupported and editing a record failed with the
exception `The given language key "EN-GB" is not supported by DeepL` (code
1746959745\) until the cache was flushed by hand.

## Impact {#impact}

An empty answer of DeepL is no longer cached, for the source and the target
languages alike. The next request asks DeepL again, so a short failure no
longer blocks the extension for a day. Filled lists are cached as before.
