Support nested JSON locale data
This release supports nested JSON locale data (#20). Here is example:
locale data:
{
"page1": {
"hello": "Hello world",
},
"page2": {
"hello": "Hello react-intl-universal!",
}
}
JS:
intl.get('page1.hello'); // "Hello world"
intl.get('page2.hello'); // "Hello react-intl-universal!"
Thanks @elgalesmana for the contribution.