diff --git a/web/client/components/I18N/Localized.jsx b/web/client/components/I18N/Localized.jsx index a810e72155..18e5209d1c 100644 --- a/web/client/components/I18N/Localized.jsx +++ b/web/client/components/I18N/Localized.jsx @@ -22,9 +22,11 @@ class Localized extends React.Component { static childContextTypes = { locale: PropTypes.string, messages: PropTypes.object, + localeKey: PropTypes.bool + }; + static defaultProps = { localeKey: true }; - getChildContext() { return { locale: this.props.locale,