We decide on where to go for localization in response.js, of course, there are ways to do localization, but what will be your recommendation?
I tried yahoo response-intl but to no avail:
var ReactIntl = require('react-intl') // we did npm install react-intl // somewhere in the react component render: function() { return (<div><ReactIntl.Number>{600}</ReactIntl.Number></div>); }
gives an error: it is impossible to read the property "_mockedReactClassConstructor" from undefined
spent several hours to solve this error, still can not solve → refuse
I tried l20n from mozilla but not sure if it will work with react.js
I wonder what would you suggest for localizing react.js, thanks!
source share