From 780b58c2101d91f55ef59b6abf89ae8e5d48f8b4 Mon Sep 17 00:00:00 2001 From: Adam Mills Date: Fri, 27 Oct 2017 00:32:12 -0400 Subject: [PATCH] Enable language selection in config panel (#506) --- panels/config/core/ha-config-core.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/panels/config/core/ha-config-core.html b/panels/config/core/ha-config-core.html index d74ba56163..96530c431d 100644 --- a/panels/config/core/ha-config-core.html +++ b/panels/config/core/ha-config-core.html @@ -106,9 +106,7 @@ class HaConfigCore extends Polymer.Element { } computeIsTranslationLoaded(hass) { - // Return false to hide language selection until i18n is ready to be - // deployed. - return false && hass.translationMetadata && + return hass.translationMetadata && Object.keys(hass.translationMetadata).length; }