diff --git a/core/modules/translation/translation.module b/core/modules/translation/translation.module
index 5fbdf01..51987d3 100644
--- a/core/modules/translation/translation.module
+++ b/core/modules/translation/translation.module
@@ -528,7 +528,7 @@ function translation_language_switch_links_alter(array &$links, $type, $path) {
       else {
         // No translation in this language, or no permission to view.
         unset($links[$langcode]['href']);
-        $links[$langcode]['attributes']['class'] = 'locale-untranslated';
+        $links[$langcode]['attributes']['class'][] = 'locale-untranslated';
       }
     }
   }
