Index: src/js/i18n.js |
diff --git a/src/js/i18n.js b/src/js/i18n.js |
index 50ed5bcb8943cfeae6264e24ebdadf62e60a33f8..26ebe7e8431a02345348122d8f0c549666f48acc 100644 |
--- a/src/js/i18n.js |
+++ b/src/js/i18n.js |
@@ -851,6 +851,8 @@ function isStructuallyValidLanguageTag(locale) { |
return false; |
} |
+ locale = %StringToLowerCase(locale); |
+ |
// Just return if it's a x- form. It's all private. |
if (%StringIndexOf(locale, 'x-', 0) === 0) { |
return true; |