I use react-intl in my project and I load json files for any language but I need my json file have a tree format. When I load my component react-intl printing the key string of json. For example:
{
"header":{
"title": "My title",
"text": "My text"
},
"footer":{
"title": "My title",
"text": "My text"
}
}
When I use:
<p><FormattedMessage id="header.title"/></p>
the result is:
<p>header.title</p>
Any idea?