Learn how to use react-intl
to set dynamic values into your language messages.
We’ll also learn how to pass in those values by using a values
prop in the react-intl
FormattedMessage
component.
We'll also take a look at how to pass values with markup and still get all the benefits of translation.
How does your approach compare to extracting strings from <FormattedMessage /> as explained here: https://medium.freecodecamp.org/internationalization-in-react-7264738274a0