This repository has been archived by the owner on Oct 1, 2024. It is now read-only.
How to use react-i18n? #2663
Labels
Type: Feature Request 🙌
Request a new feature or changes to an existing one
Hello, I'm trying to figure out how to use react-i18n.
Specifically, I'm not sure how I'm supposed to link my translation files.
Here is example code:
I get the following error:
Missing translation for key: date.humanize.lessThanOneHourAgo in locale: en
Where do I define these translations so I can use
i18n.formatDate()
?The text was updated successfully, but these errors were encountered: