Go ProSign in

Convert a Hard Coded String using react-intl FormattedMessage

In this lesson, we’ll replace hard coded strings with text from the user’s locale data, using the react-intl FormattedMessage component.

We'll also discuss the structure of the messages file, as well as use this utility from the react-intl documentation in order to keep our messages structured nicely.

You must be a Member to view code