The problem of internationalization of react Project

when using react-intl for internationalization, you can use < FormattedMessage id= "helloSomeone" tagName= "div"
}} / > for All. How can internationalization be done when this kind of lable= "indicator" is used?

< FormGroup label= "indicator" labelFor= "text-input" className= "bp3-form-group-30P" >

<div className="bp3-input-group bp3-select bp3-fill" fill="true">
    <select name="status" defaultValue={-1} fill="true" onChange={event => this.onChangeValue(event)} >
        <option value="-1">All</option>
    </select>
</div>

< / FormGroup >

Jul.03,2022

i18n learn
Link description


  

react-intl learn about

Menu