翻译错误消息 Material-ui

Translating error messages Material-ui

我有一个使用 Material-ui TextField 的表单,我正在这样翻译我的所有字段:

 <TextField autoFocus={true} name='formName'
                   placeholder={this.context.intl.formatMessage( translations.formNameInputPlaceholder )}
                   value={value || ''}
                   fullWidth={true}
                   errorText={ this.shouldShowError( fieldValidity ) ? <FormattedMessage { ...translations.notValid} /> : null }
                   onChange={ e => onChange( e.target.value ) }/>

然而 errorText 永远不会被翻译并继续使用默认语言环境。

好的,此问题已在 React 15.2.1 中解决

https://github.com/callemall/material-ui/issues/2494