diff --git a/src/utils/locale-match.jsx b/src/utils/locale-match.jsx index 8c46ec65..e901e9f2 100644 --- a/src/utils/locale-match.jsx +++ b/src/utils/locale-match.jsx @@ -6,7 +6,8 @@ function _localeMatch(...args) { try { return match(...args); } catch (e) { - return false; + const defaultLocale = args[2]; + return defaultLocale || false; } } const localeMatch = mem(_localeMatch, {