Index: core/modules/locale/locale.module
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- core/modules/locale/locale.module	(revision b0aa1ae48cdfcb9c56c7690e434faeac0a082544)
+++ core/modules/locale/locale.module	(revision )
@@ -1165,6 +1165,7 @@
  *   The language, the translation file should be (re)created for.
  */
 function _locale_rebuild_js($langcode = NULL) {
+  drupal_static_reset('language_list');
   $config = config('locale.settings');
   if (!isset($langcode)) {
     $language = language(Language::TYPE_INTERFACE);
